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>
Parameter Type Default Valid values Description
pass*
string     Personal API key.
(required parameters)
items integer 30 120 max Max items per request(requests on a page).
lang string RU RU, EN, ES Input language.
currency string RUB RUB, USD, EUR Currency of displayed prices.
cats string   Example: '265,216,277' Listing of categories ID.
All templates categories
types string   Example: '1,2,6,7,12' Listing of templates types ID.
All templates types
seller string     Seller’s login. Only this seller’s template will be selected.
partner string     Partnar’s login. All links in the widget becomes affiliate
/inv={partner}
price_from integer     Start price
price_to integer     Final price
showForm integer 1 0 or 1 1 - display searching form.
showCategories integer 1 0 or 1 1 – display categories’ tags.
showExcPrice integer 0 0 or 1 1 – display the price of exclusive selling (if seller mentioned this price).
showInstallPrice integer 1 0 or 1 1 – Display the price of template with CMS installation (if seller mentioned this price).
showDescription integer 0 0 or 1 1 – 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:

Parameter Type Default Valid values Description
id integer     Template number.
(required parameter)
lang string RU RU, EN, ES Input language.
currency string RUB RUB, USD, EUR Currency of displayed prices.
partner string     Partner’s login. All links in the widget becomes affiliate:
/inv={partner}
showCategories integer 1 0 or 1 1 – display categories’ tags.
showExcPrice integer 0 0 or 1 1 – display the price of exclusive selling (if seller mentioned this price).
showInstallPrice integer 1 0 or 1 1 – display the price of template with CMS installation (if seller mentioned this price).
showDescription integer 0 0 or 1 1 – 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