Best Seller Display |
Copyright © 2000, William Weiland |
Overview The best seller display module interfaces with the internal Merchant 5.x statistics modules to provide your customers with similar best seller information previously only seen by the store owner in the admin interface. It goes a step further by breaking down the best seller information by category. Your customers will not see exact numbers sold, only relative ranking. As they see the best sellers listed, the display provides them with a convenient link to the individual products so that they too can see what all the excitement is about. You can reset the statistics through the existing admin statistics interface so that your best sellers can be kept current as product inventory changes. |
|
Initial Setup 1) In admin, click Add Modules link (fig 2) 2) Click the file upload button 3) Browse to find the bestsell.mvc file on your hard drive and upload (fig 3) 4) Click Add to add it to the domain 5) Then in admin click on the plus to the left of Stores 6) Click the plus to the left of your store name 7) Click on the word Utilities under your store (fig 9) 8) Check the box next to Best Seller Display 9) Click Update 10) Click Pages link to get to the User Interface (fig 4) 11) Click Items link at the top of the User Interface page (fig 5) 12) Click the Add Item button (fig 6) 13) Enter bestsell for the code (fig 8) 14) Look up and scroll to the last page of items and Best Seller Display should be at the end of the list of items 15) Select Best Seller Display 16) Click the Add button to assign the module 17) See the editing requirements below on how to add the Best Seller Display to pages in the store. You can put the table on any page. |
|
Configuration Settings Enter data into the applicable input fields. Hide based on Availability Group Table Border Width Table Width Table Title Title Table Tight Table Number of products to display Exclude categories from display |
|
Editing Requirements The module is called within specific template screens with render tokens. They are in the format of <mvt:item name="itemcode" param="xxxx" /> The templates are listed at the Pages link. You will edit the template by inserting the token and clicking the Update (fig 7). Important: After adding the render token to a template page, you must click the Items link for that page, scroll down to the item name and assign it to the page (fig 8). These two steps are repeated for every page that a module's render token is used on. This module has two default tokens available <mvt:item name="bestsell" param="vertical" /> and <mvt:item name="bestsell" param="horizontal" /> . The parameter is self explanatory; the table layout is oriented based on the parameter. Scroll through the page template list and decide which screens you want to show the Best Seller Display on. Screens sfnt, prod, and ctgy are primary screens you would expect to find the display on. The module also has a custom render token. If you want full template control and are experienced at editing the templates, use the token <mvt:item name="bestsell" param="custom" /> . When using this token you will need to include template code. The 3 column example will get you started and provide info on how to use the best seller array. Note, the example contains the custom render token. You would copy and paste this whole example into your page where you want the best seller list to display. |
Fig 1: Main admin screen
Fig 2: Add a new module Fig 3: Upload the module to the server Fig 4: Template page selection Fig 5: Items list Fig 6: Add a new item Fig 7: Editing a template page Fig 8: Assign a page item to the template Fig 9: Assigning a module to the store |