OpenBay Pro

Tag list

Standard listing tags

If you want text in your template you can use the template tester tool here

Variable

Example Template Usage

Type

Description

name
<p>{{ name }}</p>
String This will add your eBay listing title.
description
<p>{{ description }}</p>
String This is your main description content.
return_policy
<p>{{ return_policy }}</p>
String This is the same information as what you send to eBay in your returns description.
payment_instruction
<p>{{ payment_instruction }}</p>
String This is the same information as what you send to eBay in your payment description.
attributes
{% for attribute in attributes %}
   <p>{{ attribute.name}}</p>
   {% for att in attribute.attribute %}
      <strong>{{ att.name }}</strong>
      <p>{{ att.text }}</p>
   {% endfor %}
{% endfor %}
Array This will get all of the product attributes for the product.
img_tpl
{% for image in img_tpl %}
   <img src="{{ image }}" />
{% endfor %}
Array This object contains links to all the images part of your eBay listing.


To obtain a single url from the object you must use the Twig attribute function, i.e.

{{ attribute(img_tpl, 0) }}

The above code will output the first image URL in the object. If you need a different image change the number.
img_tpl_thumb
{% for image in img_tpl_thumb %}
   <img src="{{ image }}" />
{% endfor %}
Array This contains links to thumbnails of all the images part of your eBay listing.


To obtain a single url from the object you must use the Twig attribute function, i.e.

{{ attribute(img_tpl_thumb, 0) }}

The above code will output the first image URL in the object. If you need a different image change the number.
shop_categories
{{ shop_categories }}
String Injects an HTML menu structure using JavaScript based on your eBay shop categories. You must have an eBay shop and be on a paid OpenBay Pro plan to use this tag. You need to use CSS to control the structure created below:
<div id="store-categories">
  <ul>
    <li>
      <a href="">Category 1 name</a>
      <ul>
        <li>
          <a href="">Child 1 category name</a>
          <ul>
            <li>
              <a href="">Child-child category name</a>
            </li>
          </ul>
        </li>
        <li><a href="">Child 2 category name</a></li>
      </ul>
    </li>
    <li><a href="">Category 2 name</a></li>
    <li><a href="">Category 3 name</a></li>
  </ul>
</div>
shop_navigation
{{ shop_navigation }}
String Injects an HTML menu structure using JavaScript based on your eBay shop custom pages. You must have an eBay shop and be on a paid OpenBay Pro plan to use this tag. You need to use CSS to control the structure created below:

<div id="store-pages">
  <ul>
    <li>
      <a href="">Page 1 name</a>
      <a href="">Page 2 name</a>
    </li>
  </ul>
</div>
product_info.model
<p>{{ product_info.model }}</p>
String The product model number.
product_info.sku
<p>{{ product_info.sku }}</p>
String The product SKU.
product_info.upc
<p>{{ product_info.upc }}</p>
String The product UPC.
product_info.ean
<p>{{ product_info.ean }}</p>
String The product EAN.
product_info.jan
<p>{{ product_info.jan }}</p>
String The product JAN.
product_info.isbn
<p>{{ product_info.isbn }}</p>
String The product ISBN.
product_info.mpn
<p>{{ product_info.mpn }}</p>
String The product MPN.
product_info.location
<p>{{ product_info.location }}</p>
String The product Location.
product_info.manufacturer
<p>{{ product_info.manufacturer }}</p>
String The product manufacturer.
product_info.name
<p>{{ product_info.name }}</p>
String The products original name in your store.
product_info.tag
<p>{{ product_info.tag }}</p>
String The product tags.
product_info.weight
<p>{{ product_info.weight }}</p>
Decimal The product weight unit.
product_info.weight_class
<p>{{ product_info.weight_class }}</p>
String The product weight class (kg,g,lbs etc).
product_info.length
<p>{{ product_info.length }}</p>
Decimal The product length.
product_info.width
<p>{{ product_info.width }}</p>
Decimal The product width.
product_info.height
<p>{{ product_info.height }}</p>
Decimal The product height.
product_info.length_class
<p>{{ product_info.length_class }}</p>
Decimal The product length class (cm,mm,m etc).
product_info.product_filters
{% for filter in product_info.product_filters %}
  {{ filter.filter_id }} - {{ filter.group }} - {{ filter.name }}
{% endfor %}
Array Access any product filters assigned to the product. *Available on 2.0+ versions only