What are Macros?

You are here:
< Back

 

Macros are placeholders for your product data in the Sellware Templates.  Using macros allows you to create flexible templates for listing products as a single template can then be used to list dozens, hundreds or even thousands of products at one time.

 

The most up to date list of macros can be found at :

https://my.sellware.com/central/profile/ebay/macros.jsp

 

The template will try to populate blank fields from the product information.  Macros can be used to force the template to use a particular field such as a custom field, or can be used to import custom information into the template.  You can view a list of macros by clicking the [Macros] link in the upper right corner of the template edit screen.

NOTE: Macro case does not matter, you can enter in upper, lower, or mixed case

 

Product Macros  

Product Macros are used for basic product information that is found on the General tab of your product.

{@PRODUCTS_NAME@}
{@PRODUCTS_DESCRIPTION@}
{@PRODUCTS_PRICE@}
{@PRODUCTS_QUANTITY@}
{@PRODUCTS_WEIGHT@}
{@MANUFACTURER@}
{@MPN@}
{@UPC@}
{@EAN@}

 

Product Image Macros  

Product Image Macros can be used to place images in the listing descriptions, used to populate the Picture or Gallery, or wherever else you may need your product images.

{@PRODUCTS_IMAGE@}
{@PRODUCTS_IMAGE_SMALL@}
{@PRODUCTS_IMAGE_LARGE@}
{@PRODUCTS_IMAGE_HTML@}
{@PRODUCTS_IMAGE_SMALL_HTML@}
{@PRODUCTS_IMAGE_LARGE_HTML@}

 

Advanced Macros

Advanced Macros allow you to use mathmatical formulas in the template.  This can be useful when you want to add discounts, markups, add the weight of packaging to product weight, or anything else you can think of.

The Advanced Macro syntax is pretty simple:
{@FORMULA( <Mathmatical Expression> )@}

Some common Advanced Macros:

5% Discount: {@FORMULA( {@PRODUCTS_PRICE@} * 0.95 )@}
10% Markup:  {@FORMULA( {@PRODUCTS_PRICE@} * 1.10 )@}

Add 1lb for Packing Weight: {@FORMULA( {@PRODUCTS_WEIGHT@} + 1 )@}

Keep 1 Qty for Reserve: {@FORMULA( {@PRODUCTS_QUANTITY@} -1 )@}

 

 

eBay Macros  

You can easily pull information from the eBay Fields tab of your product using the eBay Macros.  Using the eBay Macros in your templates will give you the most flexibility with your templates and listing options.  Here are the most commonly used eBay Macros.

{@EBAY:TITLE@}
{@EBAY:DESCRIPTION@}
{@EBAY:CATEGORY_1@}
{@EBAY:CATEGORY_2@}
{@EBAY:STORE_CATEGORY_1@}
{@EBAY:STORE_CATEGORY_2@}
{@EBAY:PRICE@}
{@EBAY:BIN_PRICE@}
{@EBAY:RESERVE_PRICE@}
{@EBAY:SHIPPING_DOMESTIC_COST_1_FIRST@}
{@EBAY:SHIPPING_DOMESTIC_COST_1_ADDL@}
{@EBAY:SHIPPING_DOMESTIC_COST_2_FIRST@}
{@EBAY:SHIPPING_DOMESTIC_COST_2_ADDL@}
{@EBAY:SHIPPING_DOMESTIC_COST_3_FIRST@}
{@EBAY:SHIPPING_DOMESTIC_COST_3_ADDL@}
{@EBAY:SHIPPING_INTERNATIONAL_COST_1_FIRST@}
{@EBAY:SHIPPING_INTERNATIONAL_COST_1_ADDL@}
{@EBAY:SHIPPING_INTERNATIONAL_COST_2_FIRST@}
{@EBAY:SHIPPING_INTERNATIONAL_COST_2_ADDL@}
{@EBAY:SHIPPING_INTERNATIONAL_COST_3_FIRST@}
{@EBAY:SHIPPING_INTERNATIONAL_COST_3_ADDL@}

NOTE: These are the most commonly used macros from the eBay Fields tab.  Other macros are available, and they macro code is displayed above the field in the eBay Fields tab.

 

Amazon Macros  

You can easily pull information from the Amazon Fields tab of your product using the Amazon Macros.  Using the Amazon Macros in your templates will give you the most flexibility with your templates and listing options.  Here are the most commonly used Amazon Macros.

{@AMAZON:ASIN@}
{@AMAZON:ITEM_TYPE@}
{@AMAZON:CATEGORY_1@}
{@AMAZON:CATEGORY_2@}
{@AMAZON:TITLE@}
{@AMAZON:DESCRIPTION@}
{@AMAZON:PRICE@}
{@AMAZON:BULLET_1@}
{@AMAZON:BULLET_2@}
{@AMAZON:BULLET_3@}
{@AMAZON:BULLET_4@}
{@AMAZON:BULLET_5@}
{@AMAZON:SEARCH_TERM_1@}
{@AMAZON:SEARCH_TERM_2@}
{@AMAZON:SEARCH_TERM_3@}
{@AMAZON:SEARCH_TERM_4@}
{@AMAZON:SEARCH_TERM_5@}

NOTE: These are the most commonly used macros from the Amazon Fields tab.  Other macros are available, and they macro code is displayed above the field in the Amazon Fields tab.

 

Custom Macros  

You can add Custom Fields to your products for additional pricing, descriptions, manufacturer part numbers, special coding for your business, or anything else you may want.  Custom Macros can then be used for anything that you may want to add to your products and/or listings.  Read our Custom Fields article for more information on adding Custom Fields to your products

Custom Macro syntax is as follows:
{@CUSTOM:<Custom Field>@} 

 

Example with the custom fields from a product and the corresponding macro:


{@CUSTOM:newegg_price@}

{@CUSTOM:extra_desc@}