
|
 |
 |
 |
 |
Ultimate Category Tree Plus Module Help for MIVA
Merchant v5
Module
Quick Start Guide
- Module
automatically installs and configures the required item, "ads-ultcattreeplus"and assigns it to the default pages, during installation.
- Features for
this module are available by assigning the item to any Merchant page, customizing the Category Tree Template and using the module provided Item Render
Tokens.
- Smart SEO Links Processing™ is automatically available when the module is first installed. See an example below for Smart SEO Link implementation.
- Module provides a Built in .htaccess file Editor.To access the editor:
- Expand the Store in the left hand navigation
- Expand your Store Name by clicking on the "+" in front of it
- Click on the System Extension Configuration link
- Click on "ADS Ultimate Cattree Plus" tab
- Near the top of the module screen, just below the help link for the module, click on the ".htaccess Editor" link
- If the file exists you will see the contents in the editor. If it does not exist, you can just place the contents in the editor field.
- At the bottom of the text area you will see a check box which will need to be checked in order to save your changes.
- You can also specify a backup file suffix for the backup file or restore a previously saved version of the .htaccess file. The select box at the bottom of the screen will contain all of the backups. Just select one and click "Restore Backup" link.
NOTE: Please Exercise Extreme Caution with .htaccess files as they can take your entire site down. If you are not sure what you are doing, contact a developer for assistance. Advanced Development Solutions, Inc. will not be responsible for any issues caused by an improper use of this tool.
- Search Engine Friendly Links(SFL) implementation Example
- Module Provides five additional fields for each Merchant Category. The fields are:
- Alternate Title
- Title Image 2
- Tree Image 2
- Category Brief Description
- Category Keywords
- To access and manage additional Category fields information:
- Expand the Store in the left hand navigation
- Expand your Store Name by clicking on the "+" in front of it
- Click on the Products Link
- Click on Edit next to one of the products
- Click on "ADS Ultimate Cattree Plus" tab
- Insert Information in the provided fields
- Click Update at the bottom of the page
- See examples 6 & 7 below for Item Render Token to use.
- Module
automatically creates three preconfigured Category Templates when it is first installed. All installed templates are immutable so they can't be deleted when clearing version history. The templates are:
- Original (Default Template) - Miva Merchant Default, with Ultimate Cattree Plus features. See examples 1, 2 & 3 below for Template selection and Item Render Token use.
- ADS Cattree Jump Menu - This is a Traditional Style Jump Menu, where all of the Merchant Categories are listed. See example 4 below for Template selection and Item Render Token use.
- ADS Advanced Cattree Jump Menu - This is an Advanced Search/Configurator Style Jump menu, where user selects from a drop-box for each of the levels in the category tree as they drill down the categories. See example 5 below for Template selection and Item Render Token use.
- To access the Category Tree Template, in Merchant Admin:
(This Tab is also available as global settings on all pages where the item is assigned)
- Expand the Store in the left hand navigation
- Click on your store name
- Click on "ADS Ultimate Cattree Plus Temple" tab
- See examples 1, 2, 3, 4 & 5 below for Template selection and configuration
- If you are using the Category Tree on pages other then Merchant Defaults, you must
assign the "ads-ultcattree" item to the page(s) where
you would like to use it. You must also inset the associated Item Render Toke into the page templates.
- Your Category Tree template can include additional content, such as Category Tree Headers and Footers. This content can be static or dynamic.
- If you are using Merchant Controlled Categories, you must use the module provided Render Tokens and Entities.
- Multiple instances and variations of the Category Tree Template can be used at the same time, and even in the same Page. See example 8 below for Template selection and Item Render Token use.
- You can
insert an appropriate item Render Token in any page related
template(s) to utilize module features. Render Tokens can
be used in Page Templates, Product List Layouts, Messages,
Headers, Footers, etc.. Templates used must be Store Morph Technology(SMT) templates.
- Module Pre-Installs three Category Tree Templates for your use. Depending on a type of Token used, additional information such as Parameters may also need to be included.
- <mvt:item name="ads-ultcattreeplus" param="[action]|[level]|[treeselect]"/>
Where:
- [action] - Action to be Performed (open or category:id or [settingsvar])
- [level] - Levels of the Category Tree to always keep expanded (0 - Root Level)
- [treeselect] - Advanced feature which allows for Multiple Category Tree templates to be used
- [settingsvar] - Category ID variable used to lookup Extra Category Field data
- Once the above Item Render Tokens are executed, the following variables and their associated template display entities are listed in the Token Table below:
Click Here to see the Available Tokens Table
Variables
|
Entities
|
l.settings:TREE:ACTIVE |
&mvt:TREE:ACTIVE; |
l.settings:TREE:AGRPCOUNT |
&mvt:TREE:AGRPCOUNT; |
l.settings:TREE:ALT_TITLE |
&mvt:TREE:ALT_TITLE; |
l.settings:TREE:CAT_COUNTER |
&mvt:TREE:CAT_COUNTER; |
l.settings:TREE:CODE |
&mvt:TREE:CODE; |
l.settings:TREE:DESCR |
&mvt:TREE:DESCR; |
l.settings:TREE:DISP_ORDER |
&mvt:TREE:DISP_ORDER; |
l.settings:TREE:ID |
&mvt:TREE:ID; |
l.settings:TREE:IMAGE |
&mvt:TREE:IMAGE; |
l.settings:TREE:KEYWORDS |
&mvt:TREE:KEYWORDS; |
l.settings:TREE:LEVEL |
&mvt:TREE:LEVEL; |
l.settings:TREE:NAME |
&mvt:TREE:NAME; |
l.settings:TREE:PAD |
&mvt:TREE:PAD; |
l.settings:TREE:PARENT_ID |
&mvt:TREE:PARENT_ID; |
l.settings:TREE:PREFIX |
&mvt:TREE:PREFIX; |
l.settings:TREE:PREFIX_SELECTED |
&mvt:TREE:PREFIX_SELECTED; |
l.settings:TREE:PRODUCT_COUNT |
&mvt:TREE:PRODUCT_COUNT; |
l.settings:TREE:SEO_NAME |
&mvt:TREE:SEO_NAME; |
l.settings:TREE:TITLEIMAGE |
&mvt:TREE:TITLEIMAGE; |
l.settings:TREE:TREEIMAGE |
&mvt:TREE:TREEIMAGE; |
l.settings:ADS_CATTREE_CURRENTHASCHILDREN |
&mvt:ADS_CATTREE_CURRENTHASCHILDREN; |
l.settings:ADS_CATTREE_CURRENTLEVEL |
&mvt:ADS_CATTREE_CURRENTLEVEL; |
- Smart SEO™ Links Implementation:
- Setup an .htaccess file in the root of your server.
Here is a sample code to setup the Smart SEO™ style Merchant Links for Categories, Products and Additional Merchant Page codes:
RewriteEngine On
RewriteRule ^([A-Za-z0-9_-]+)\.html$ /mm5/merchant.mvc?Screen=UCT&uctcode=$1 [L=301]
- Test the above settings using your domain URL:
http://www.yourdomain.com/Category_Code.html
Replacing Category_Code with actual category code.
- Use the Original Ultimate Category Tree Template or its variation and edit the Template code.
- Find and Replace all instances of:
&mvt:global:sessionurl;Screen=CTGY&Store_Code=&mvta:store:code;&Category_Code=&mvta:tree:code;
with this:
http://www.yourdomain.com/&mvta:tree:code;.html
- Smart SEO™ Links processing also provides for processing of Product and Other Page short links. Here are the sample links:
http://www.yourdomain.com/Product_Code.html
http://www.yourdomain.com/Page_Code.html
Replace Product_Code and Page_Code appropriately. You will also need to revise your product and other page links throughout the store.
- Test the modifications by visiting the public Merchant URL and clicking on the Category Tree Links
- If they work, You Are Done! Happy Smart SEO™...
- Alternate Search Friendly Links Implementation:
- Setup an .htaccess file in the root of your server.
Here is a sample code to setup the directory style Merchant Links for Categories, Products and Categories with Product codes:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/p/(.*)/(.*) [NC]
RewriteRule (.*) /mm5/merchant.mvc?Screen=PROD&Product_Code=%1 [L=301]
RewriteCond %{REQUEST_URI} ^/pc/(.*)/(.*)/(.*) [NC]
RewriteRule (.*) /mm5/merchant.mvc?Screen=PROD&Product_Code=%1&Category_Code=%2 [L=301]
RewriteCond %{REQUEST_URI} ^/c/(.*)/(.*) [NC]
RewriteRule (.*) /mm5/merchant.mvc?Screen=CTGY&Category_Code=%1 [L=301]
- Test the above settings using your domain URL:
http://www.yourdomain.com/c/Category_Code/index.html
Replacing Category_Code with actual category code.
- Use the Original Ultimate Category Tree Template or its variation and edit the Template code
- Find and Replace all instances of:
&mvt:global:sessionurl;Screen=CTGY&Store_Code=&mvta:store:code;&Category_Code=&mvta:tree:code;
with this:
http://www.yourdomain.com/c/&mvta:tree:code;/&mvta:tree:name;.html
- Test the modifications by visiting the public Merchant URL and clicking on the Category Tree Links.
- If they work, You Are Done! Happy SEO...
- Example 1 - MIVA Merchant Default Category Tree - "Original" Template from Version History
- Item Render Token inserted into the Page Template:
<mvt:item name="ads-ultcattreeplus"/>
or
<mvt:item name="ads-ultcattreeplus" param="open|0"/>
- Example 2 - MIVA Merchant Category Tree with top two levels always expanded - Select "Original" Template from Version History
- Item Render Token inserted into the Page Template:
<mvt:item name="ads-ultcattreeplus" param="open|1"/>
- Example 3 - MIVA Merchant Category Tree with all levels always expanded - Select "Original" Template from Version History
- Item Render Token inserted into the Page Template:
<mvt:item name="ads-ultcattreeplus" param="open"/>
- Example 4 - Traditional Jump Menu - Select "ADS Cattree Jump Menu" Template from Version History
- Item Render Token inserted into the Page Template:
<mvt:item name="ads-ultcattreeplus" param="open"/>
- Example 5 - Advanced Jump Menu - Select "ADS Advanced Cattree Jump Menu" Template from Version History
- Item Render Token inserted into the Page Template:
<mvt:item name="ads-ultcattreeplus" />
- Example 6 -Enabling Additional Category fields on the CTGY - Category Display Page
- Item Render Token inserted at the top of the CTGY Page - Category Display Page Template:
<mvt:item name="ads-ultcattreeplus" param="category:id"/>
This call will generate the following additional category variables/entities from module Individual Category settings:
- l.settings:CATEGORY:ALT_TITLE - &mvt:CATEGORY:ALT_TITLE;
- l.settings:CATEGORY:TITLEIMAGE - &mvt:CATEGORY:TITLEIMAGE;
- l.settings:CATEGORY:TREEIMAGE - &mvt:CATEGORY:TREEIMAGE;
- l.settings:CATEGORY:DESCR - &mvt:CATEGORY:DESCR;
- l.settings:CATEGORY:KEYWORDS - &mvt:CATEGORY:KEYWORDS;
- Example 7 - Enabling Additional Category fields anywhere - Subcategory Lists, Breadcrumb Navigation, etc..
- Item Render Token inserted where the variables are to be generated:
<mvt:item name="ads-ultcattreeplus" param="[settingsvar]"/> where [settingsvar] is the Category ID variable used to lookup Extra Category Field data. So if the Category ID variable is "l.settings:subcat:id", your complete Item Render Token will be:
<mvt:item name="ads-ultcattreeplus" param="subcat:id"/>
This call will generate the following additional variables/entities from module Individual Category settings:
- l.settings:ADS_UltCatTreePlus_Category:ALT_TITLE - &mvt:ADS_UltCatTreePlus_Category:ALT_TITLE;
- l.settings:ADS_UltCatTreePlus_Category:TITLEIMAGE - &mvt:ADS_UltCatTreePlus_Category:TITLEIMAGE;
- l.settings:ADS_UltCatTreePlus_Category:TREEIMAGE - &mvt:ADS_UltCatTreePlus_Category:TREEIMAGE;
- l.settings:ADS_UltCatTreePlus_Category:DESCR - &mvt:ADS_UltCatTreePlus_Category:DESCR;
- l.settings:ADS_UltCatTreePlus_Category:KEYWORDS - &mvt:ADS_UltCatTreePlus_Category:KEYWORDS;
- Example 8 - Multiple Instance Category Tree Template Design and Item Render Tokens
- To display the above sections, Insert Item Render Tokens where the Category Tree Templates are to be rendered. Make sure that the "ads-ultcattree" item is assigned to the associated pages:
- <mvt:item name="ads-ultcattreeplus" param="open|1"/> - Merchant Style navigation with Levels 0 & 1 always displaying. This is the default part of the ELSE statement so no [settingsvar] needs to be specified
- <mvt:item name="ads-ultcattreeplus" param="open|0|jump"/> - Traditional Style Jump Menu, where "jump" is the parameter passed as [settingsvar] variable value.
- <mvt:item name="ads-ultcattreeplus" param="open|0|jumpalt"/> - Advanced Search/Configurator Style Jump Menu, where "jumpalt" is the parameter passed as [settingsvar] variable value
|
|
|
|
|
 |
 |
 |
 |
|