eBay Listing Templates
The purpose of an eBay listing template is to display custom descriptions. This can be very simple, or very complex.
The template (like all UltraCart templates) are written using Apache Velocity.
For the eBay template, you are provided with an item, named $item
. The properties and methods of the $item are may be found in our online reference manual. The manual lists our objects in alphabetical order. Scroll down the Item
object. Referencing that one item, you have complete control and can create some amazing listings.
The listing template becomes the eBay listing description. The description is contained within an iframe. The iframe is stubbed out with some tags, so you should begin your template with either a <div> or just straight up text.
Do not put <html> or <body> tags! See the eBay Listing Description iframe content page for an example of what the iframe may look like.
The Simplest Example
Below is a simple example, with the actual listing highlighted in red (all the way at the bottom). You can see that it's very minimal, and that it's a small part of the overall listing.
The listing template for the above example is a one-liner. It is:
$item.description