Amazon Products Feed Variables

Contents

  1. Options you can override or specify in the URL
  2. Possible values for SearchIndex
  3. Possible values for Sort
  4. Variables for use in the Templates
    1. page.template
    2. products.template
    3. item.template
    4. larger_image.template
    5. sellersearch.template
    6. sellerprofile.template
    7. thridparty_products.template
    8. browse_menu.template
    9. blended.template
    10. shopping_cart.template
    11. customer_reviews.template
  5. Options you can specify in the Templates

Options you can override or specify in the URL


Possible values for SearchIndex

The script can support all SearchIndexes that are supported by Amazon Web Services.


Possible values for Sort

The script supports all Sort values that are supported by Amazon Web Services


Variables for use in the Templates

All of the XML elements returned from Amazon are converted into variables for use in the script. There are many elements to list here; the best way to view them is to view Amazon's WSDL document. You can use any of those elements as variable by placing %% before and after the element name. The variables listed below are additional variables generated by the script from those results.

You can also use an apf command to display all available variables both those generated by the script and those that are taken directly from Amazon's XML. To display all variables put the following line in a page.template:

<!--apf &apf_show_vars=ALL!!-->


page.template

This template is used for the overall page HTML (<head>, <meta>, <body>, etc.).


products.template

This template is used for the HTML to display each item for multiple results.


item.template

This template is used for the HTML to display a single item result.


larger_image.template

This template is used for the HTML to display the large product image.


sellersearch.template

This template is used for the HTML to display SellerSearch results.


sellerprofile.template

This template is used for the HTML to display a seller's profile.


thirdparty_products.template

This template is used for the HTML to display a third-party products.


browse_menu.template and nav_menu.template

This template is used for the HTML to display the menus.


blended.template

This template is used for the HTML to display blended (All Products) results.


shopping_cart.template

This template is used for the HTML to display the shopping cart, which is really complicated and you're asking for trouble if you change anything more than just the colors.


customer_reviews.template

This template is used for the HTML to display full customer reviews exactly like item.template.


Options you can specify in the Templates