Listing Templates

A listing template controls how the listing description looks on eBay, and what content is included. While you might need multiple profiles for different types of products, most users only need a single listing template since the header, footer and general styles are usually the same for all your products.

It is required to create a listing template before you can list your items on eBay. You can easily modify the default template using the WYSIWYG template editor. If you have some HTML and CSS skills, you might as well build your own template using the built in code editor or your preferred editor via FTP. Or you can outsource your template design to a third party developer and simply upload the created template as a zip file (see below).

If you have completed the first time setup you should already have created a listing template based on the default template – but you can modify or change your template any time and revise all your published listings to update their description on eBay.

Create a new template

You can create your a listing template in different ways:

  • Customize the default listing template in the built in WYSIWYG editor
  • Create a custom template using the code editor – requires HTML and CSS skills
  • Upload a listing template designed by a third party developer

To create a new template based on the default template visit WP-Lister » Templates and click “Add New” or “Create New Template”.

create a new template

The templates page also allows you to preview, duplicate or download your created listing template. If you want to modify an existing template but keep a backup of the current version, you should duplicate your template and then work on the copy which allows you to compare both version using the preview feature. Or just click on “Download” to save a backup copy to your computer.

listing template options

Template Options

template optionsWP-Lister comes with a default listing template which features various options to customize its look – without knowing anything about HTML or CSS.

You can easily change the all colors used in the template  – namely the header bars text color and background gradient, the hotline box text and background color and product title text color.

Other options include border radius which you can adjust between zero and 12px and the option to disable or enable the hotline box.

Developers can customize the available template options – and create their own options – with just a few lines of PHP code. Check out the functions.php section in the template editor to see how the default template options are implemented.

Template Shortcodes

You can use the following shortcodes in your listing template. These are not global WordPress shortcodes – just simple placeholders for product specific content which only work in listing templates.

Available Shortcodes:

[[product_title]]
Insert the listing title

[[product_content]]
Insert the product main description

[[product_excerpt]] or
[[product_excerpt_nl2br]] or
[[product_additional_content]]
Insert the additional product description (post excerpt)

[[product_price]]
Insert the formatted product price

[[product_sku]]
Insert the product SKU

[[product_main_image]]
Insert the featured product image as HTML tag

[[product_main_image_url]]
Insert the featured product image URL

[[product_thumbnails]]
Insert clickable thumbnails for all images

[[additional_product_images]]
Legacy shortcode to display additional images – deprecated as it contains active content (JS)

[[img_1]][[img_9]]
[[img_url_1]][[img_url_9]]
Inserts single images resp. their urls

[[product_weight]]
[[product_height]]
[[product_width]]
[[product_length]]
Insert product dimensions

[[attribute_Size]]
[[attribute_Brand]]
Insert product attributes – replace “Size” resp. “Brand” with the name of your product attribute

[[product_variations]]
Inserts a listi of all product variations as HTML table

[product_category]
Insert the name of the main product category

[[product_tags]]
Insert comma-separated product tags

[[meta_custom-meta-field-name]]
Insert custom post meta values

The following widgets use active content and stopped working when eBay banned active content in 2017:

[[widget_new_listings]]
[[widget_ending_listings]]
[[widget_related_listings]]
[[widget_featured_listings]]
Insert cross-sell widgets – a thumbnail gallery linked to your latest additions, items which end soon, WooCommerce cross-sells or up-sells, or items marked as featured in WooCommerce.

Additional shortcodes for advanced developers

[[ebay_item_id]]
[[ebay_store_url]]
[[ebay_store_category_id]]
[[ebay_store_category_name]]
[[wpl_listing_id]]
[[admin_ajax_url]]

Template developers can implement custom shortcodes in PHP. An example code snippet is provided in the functions.php section in the template editor.

Advanced Options

In addition to customizing your listing template using the template editor, you will find some global template settings at WP-Lister » Settings » Advanced, where you can control how WP-Lister processes WordPress shortcodes, links and images:

listing templates hooks

To learn more about these advanced options see Advanced Settings » Listing Templates.

Import / Export

You can easily backup your created listing templates by downloading them to your computer. To do this just visit WP-Lister » Templates and click the “Download” link next to the template you wish to download:

download template

Importing a custom listing template is just as simple. Visit WP-Lister » Templates click the “Upload existing template” button, browse for the template file on your computer and click “Upload”.

import listing template

Note: You can only import a listing template that has been created for WP-Lister – or been exported from within WP-Lister. Listing templates that were created for other listing applications like TurboLister can’t be imported – they would first have to be converted, which is something that any skilled web designer could do.