ebay_category_menu

ebay_category_menu

Generates a menu based on the eBay category tree

Please note: This function requires that your eBay store's category type be set to "Store categories".

Example

[%ebay_category_menu id:'[@ebay_store_id@]' ebstore_url:'[@ebstore_url@]'%]
    [%param header%]
        Store Categories
    [%/param%]
    [%param *level_1%]
        <a href="[@url@]" target="_blank">[@name@]</a>
        [%if [@next_level@]%][@next_level@][%/if%]
    [%/param%]
    [%param *level_2%]
        <a href="[@url@]" target="_blank">[@name@]</a>
        [%if [@next_level@]%][@next_level@][%/if%]
    [%/param%]
    [%param *level_3%]
        <a href="[@url@]" target="_blank">[@name@]</a>
    [%/param%]
    [%param footer%]
    [%/param%]
[%/ebay_category_menu%]

Usage

Just like the category menu, this operates to generate a menu based on the primary category structure in Neto, specifically for the eBay category set. With the default data tags, [@ebstore_url@] & [@ebay_store_id@] the example should work out of the box and allow the configuration all to be taken care of within Neto.

Parameters

Name Options Description
id:'' String The ID of the eBay category menu in Neto you wish to load
ebstore_url:'' String The URL required for the links to have the right location in the menu relative to the store
sortby:'' selected, name, sortorder, sortorder_asc, sortorder_desc Determines the sort order of the eBay category menu
*header HTML & b@se tags Renders a single usable space above the body
*level_1 HTML & b@se tags First level of the menu options
*level_2 HTML & b@se tags Second level of the menu options
*level_3 HTML & b@se tags Third level of the menu options
*footer HTML & b@se tags Renders a single usable space below the body

Data Tags (level1 / level2 / level3)

Name Example Description
[@count@] 1 Counter for each option in the menu level starting at 1
[@id@] 15623990010 Unique ID number for the menu option
[@name@] Books The name of the product category
[@next_level@] Loads the next level param
[@url@] http://www.ebaystores.com.au/MyStore?_fsub=15623990010 URL to eBay store category

Was this article useful?

Be notified when this page is updated. Optional.