Base Tag Library
Note: We have updated our folder structure in Neto 6 and this has not been updated on all tweaks yet. More info.

ebay_category_menu

Generates a menu based on the ebay category tree

Example

[%ebay_category_menu id:"[@ebay_store_id@]" ebstore_url:"[@ebstore_url@]"%]
    [%param header%]
        Store Categories
    [%/param%]
    [%param *level_1%]
        <a href="[@url@]">[@name@]</a>
        [%if [@next_level@]%][@next_level@][%/if%]
    [%/param%]
    [%param *level_2%]
        <a href="[@url@]">[@name@]</a>
        [%if [@next_level@]%][@next_level@][%/if%]
    [%/param%]
    [%param *level_3%]
        <a href="[@url@]">[@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.

ebay_category_menu Parameters


Name Options Description
id:'' String The ID of the ebay category menu in neto you wish to load
limit:'' Integer Limits the results of the filter
sortby:'' selected, name, sortorder, sortorder_asc, sortorder_desc Determines the sort order of the ebay category menu
ebstore_url:'' String The URL required for the links to have the right location in the menu relative to the store
id:'' String The unique ID of the menu
header HTML & b@se tags Renders a single usable space above the body
body* HTML & b@se tags Runs an array for each option in the tag
footer HTML & b@se tags Renders a single usable space below the body

ebay_category_menu data tags

Name Description
[@name@] The name of the product category
[@url@] URL to ebay store category
[@next_level@] Loads the next level param
[@ebay_store_id@] The ebay store ID as determined by the store the listing template & listing design template are assigned to
[@ebstore_url@] The ebay store URL as determined by the store the listing template & listing design template are assigned to