PrestaShop eBay Integration Manual — List Of Available Variables

List of available variables

[product_id] — PrestaShop product ID

[product_name] — PrestaShop product name in the language selected for Selling List. For "Attributes" mode of "Selling List" also include a current combination. Example: T-Shirt [Color: Red, Size: XS]

Extra option available: 1 - language Id

Example: [product_name(1)] — display product name in the language with #1 independent of selling list language

[product_original_name] — PrestaShop product name in the language selected for Selling List. Does not include combination name. Example: T-Shirt

Extra option available: 1 - language Id

Example: [product_original_name(1)] — display product name in the language with id #1 independent of selling list language

[product_combination_name] — name of PrestaShop product combination, applied only for "Attributes" mode of "Selling List". Example:  [Color: Red, Size: XS]

Extra option available: 1 - language Id

Example: [product_original_name(1)] — display product combination name in the language with id #1 independent of selling list language

[product_description] — PrestaShop product long description in language selected in Selling List

Extra option available: 1 - language Id

Example: [product_description(1)] — display product description in the language with id #1 independent of selling list language

[product_description_short] — PrestaShop product short description in language selected in Selling List

Extra option available: 1 - language Id

Example: [product_description_short(1)] — display product short description in the language with id #1 independent of selling list language

[product_qty] — PrestaShop product QTY

[product_min_qty] — PrestaShop product minimum QTY value allowed for order

[product_price] — PrestaShop product final price

[product_unit_price] — PrestaShop product unit price

[product_unit_price_ratio] — PrestaShop product unit price ratio

[product_unit_type] — PrestaShop product unit type

[product_main_image] — html code with a main image of PrestaShop product with predefined maximum width 600px. Example: <img src="http://your-store.com/img/p/product.jpg" style="max-width: 600px">

Extra option available: 1 - size of image

Example: [product_main_image(large_default)]

[product_image] — html code with a selected image of PrestaShop product with predefined  width 600px. Example: <img src="http://your-store.com/img/p/product.jpg" width="600">

Extra option available: 1 - image number.

Example [product_image(1)] - image #1, [product_image(3)] - image #3

[product_main_image_link] — link to the main image of PrestaShop product. Example http://your-store.com/img/p/product.jpg

Extra option available: 1 - size of image

Example: [product_main_image_link(large_default)]

[product_image_link] - link to a selected image of PrestaShop product. Example: http://your-store.com/img/p/product.jpg.

Extra option available: 1 - image number

Example [product_image_link(1)] - link to image #1, [product_image_link(3)] - link to image #3

[product_gallery] and [product_new_gallery] — show image gallery with product images.

Extra option available: 1 - the number of images, 2 - big image type, 3 - small image type.

Example: [product_new_gallery(4, thumnail_default, small_default)] - image gallery with 4 images, big image shown with a type thumnail_default, image preview with type small_default

[product_reference] — PrestaShop product reference

[product_supplier_reference] — PrestaShop product supplier reference

[product_ean13] — PrestaShop product EAN13 value

[product_upc] — PrestaShop product UPC value

[product_feature] — show product feature value with feature label.

Extra options available: 1 - id of product feature that needs to show; 2 - the label of the feature, please use n/a if you want to output only feature value.

[product_features_all] — show output for all available product features that have not empty values.

[product_manufacturer] — output name of PrestaShop product manufacturer

[manufacturer_id] — output ID of PrestaShop product manufacturer

[product_supplier] — output name of PrestaShop product supplier

[product_tags] — show all tags from PrestaShop product.

[product_combinations] — give HTML output of PrestaShop products available combinations.

Example output:

<ul>

<li> Color: Red, Size: XS </li>

<li> Color: Red, Size: L </li>

<li> Color: Blue, Size: S </li>

<li> Color: Blue, Size: M </li>

</ul>

[product_attribute] — output attribute name of PrestaShop product

Extra option available: 1 - product attribute sequential number

 to output

Example usage and output:

PrestaShop Product [Size: XS, S, M; Color: Blue, Red]

[product_attribute(1)]  give output Size

[product_attribute(2)] give output Color

[ebay_primary_category_id]  — ebay primary category id for the item.

[ebay_secondary_category_id] — ebay secondary category id for the item.

[ebay_store_primary_category_id] — ebay primary store category id for the item.

[ebay_store_secondary_category_id] — ebay secondary store category id for the item.

[ebay_price] — current ebay item price


Copyrights © 2018 & All Rights Reserved by Involic OÜ.