Galior® Market widget

Widget HTML code

View

Block with one item

Templates categories and types

Galior® Market platform gives an opportunity to PROF account users to use XML feed or JavaScript widget for the import of the sales offers on the third-party services. This software is a method of attracting clients and customers to the https://galior-market.ruas part of Galior® Market affiliate program, or to export their applications on third party sites. Another usage of it for getting content will be prosecuted.

Placing JavaScript code on any page of web site, you will get templates searching form and results.

  • Widget doesn’t require JQuery library.
  • Widget has useful settings such as currency, language, filter and so on.
  • Responsive HTML.

Widget HTML code

HTML example:

<script type="text/javascript" src="https://galior-market.ru/api/widget.js"></script>
<script type="text/javascript">GM_Widget({pass: '1c4561f7b1e32f4ca45cb9c9497b1d95'});</script>
ParameterTypeDefaultValid valuesDescription
pass*
string  Personal API key.
(required parameters)
itemsinteger30120 maxMax items per request(requests on a page).
langstringRURU, EN, ESInput language.
currencystringRUBRUB, USD, EURCurrency of displayed prices.
catsstring Example: '265,216,277'Listing of categories ID.
All templates categories
typesstring Example: '1,2,6,7,12'Listing of templates types ID.
All templates types
sellerstring  Seller’s login. Only this seller’s template will be selected.
partnerstring  Partnar’s login. All links in the widget becomes affiliate
/inv={partner}
price_frominteger  Start price
price_tointeger  Final price
showForminteger10 or 11 - display searching form.
showCategoriesinteger10 or 11 – display categories’ tags.
showExcPriceinteger00 or 11 – display the price of exclusive selling (if seller mentioned this price).
showInstallPriceinteger10 or 11 – Display the price of template with CMS installation (if seller mentioned this price).
showDescriptioninteger00 or 11 – display short description (first 190 items from the template description) .

* Parameter pass – Personal API key. It is a required parameter. It is available to partners and any registered user in a personal account in affiliate program Affiliate Program section.

HTML with parameters example:

<script type="text/javascript" src="https://galior-market.ru/api/widget.js"></script>
<script type="text/javascript">GM_Widget({
pass:  '1c4561f7b1e32f4ca45cb9c9497b1d95',
lang:  'RU',
currency:  'USD',
item: 12,
partner: 'mylogin',
showInstallPrice:  0,
showCategories:  0
});</script>

View

Block with one item

Widget functionality allows importing only one product offer to a page:

HTML example:

<script src="https://galior-market.ru/api/template.js?id=44338&partner=mylogin"></script>

Acceptable setting parameter:

ParameterTypeDefaultValid valuesDescription
idinteger  Template number.
(required parameter)
langstringRURU, EN, ESInput language.
currencystringRUBRUB, USD, EURCurrency of displayed prices.
partnerstring  Partner’s login. All links in the widget becomes affiliate:
/inv={partner}
showCategoriesinteger10 or 11 – display categories’ tags.
showExcPriceinteger00 or 11 – display the price of exclusive selling (if seller mentioned this price).
showInstallPriceinteger10 or 11 – display the price of template with CMS installation (if seller mentioned this price).
showDescriptioninteger00 or 11 – display short description (first 190 items from the template description).

HTML example:

<script type="text/javascript" src="https://galior-market.ru/api/template.js?id=44338&partner=mylogin&lang=ru&currency=eur"></script>

Pay attention! The authorization code pass is not required to place one product.

Templates categories and types

The list of template categories and types ID is always available in fetched XML:

https://galior-market.ru/api/categories.xml?pass=XXX&lang=ru

<categories>

<category id="265">Автомобили</category>
<category id="245">Альтернативная энергия</category>
<category id="347">Аниме</category>
<category id="225">Антикварная тема</category>
<category id="275">Арт-шаблоны</category>
<category id="65">Архитектура</category>


</categories>

https://galior-market.ru/api/types.xml?pass=XXX&lang=ru

<types>

<type id="21">1С-Битрикс шаблоны</type>
<type id="50">Adobe Muse шаблоны</type>
<type id="25">AMIRO.CMS шаблоны</type>
<type id="32">CS-Cart шаблоны</type>
<type id="36">DLE шаблоны</type>
<type id="7">Drupal шаблоны</type>


</types>

Personal pass authorization code is required to get these XML. To display list in other languages use parameter lang. 

If you have some questions about API or Widget work, contact us by e-mail at: 
support@galior-market.ru

You may publish your problems, feedbacks or ideas on Reformal:
https://galior-market.ru/help/reformal

Import XML files

This is another convinient affiliate feature to attract customers using your affiliate link.

Read more...

We will inform you on appearance of a new template!
Just subscribe to new templates! Adjust the mail specifying the required type, category of the templates and receive notices on new entries of our site.
Subscribe