Modular Merchant: Shopping Cart Software

Shopping Cart Software Service

Advanced SearchAdvanced Search RegisterRegister ProfileProfile FAQFAQ MemberlistMemberlist Log inLog in
"Design Variables" help you customize the layout of store pages
Post new topic   This topic is locked: you cannot edit posts or make replies.
Modular Merchant Forum Index -> Web Design & Programming
Author Message

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: Nov 02, 2005 12:33pm    Post subject: "Design Variables" help you customize the layout o Reply with quote

Modular Merchant version 2.015 introduces a series of "Design Variables" designed for use in the "header" section of various Skins. (Skins are sets of HTML templates used to customize Modular Merchant's store pages.) These variables are PHP variables.

An example of use of a Design Variable in the contents of a Skin header may look like this:
Code:
<?php $mm_objects_per_row = '3'; ?>

Following are sets of Design Variables for different Skins...

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: Nov 02, 2005 12:35pm    Post subject: Design Variables for the "Products in Category" Sk Reply with quote

Design Variables for use in the Products in Category Skin Header.
Variable Name Definition Default
mm_objects_per_row The number of products or categories displayed per row. Value is a number. 1
mm_cat_link_txt The text used for the links to the category Details pages. Value is any text. Explore this category...
mm_prod_link_txt The text used for the links to the products' Details pages. Value is any text. Product Details...
mm_show_add_to_cart Whether to display the "Add to Cart" button and quantity fields on the page. Value is "Y" or "N". Y
mm_show_prod_sku Whether to display the product or category SKU number on the page. Value is "Y" or "N". N
mm_v_divider_color Color of the vertical divider between columns. Value is any HTML color name or hexadecimal color code. #CCCCCC
mm_img_gutter_width Width of the margin to the right of the product or category image displayed on the page. Value is any number. 10
mm_desc_gutter_width Width of the margin to the right of the category or product short description on the page. Value is any number. 1
mm_column_gutter_width Width of the margin between the columns on the page, in pixels. Value is any number. 10
mm_is_title_link Whether the product or category name is a link to its Details page. Value is "Y" or "N". N
mm_show_cat_desc Whether to display the Category Description at the top of the page. Value is "Y" or "N". Y
mm_show_breadcrumbs Whether to display the "navigation breadcrumbs" on the page. Value is "Y" or "N". Y
mm_show_pagination Whether to show the "Previous..." and "Next..." pagination links on the page. Value is "Y" or "N". Y
mm_show_cat_jumpmenu Whether to display the dropdown "jumpmenu" of the store categories at the bottom of the page. Value is "Y" or "N". Y
mm_use_links_in_breadcrumbs Whether the "navigation breadcrumbs" on the page are links to their respective store pages. Value is "Y" or "N". Y
mm_show_x_of_y_results Displays the number of results shown on the current page, out of the total number of results returned, at the end of the breadcrumb links. Value is "Y" or "N". Y
mm_show_object_description Whether the "Short Description" for the category or product should be displayed on the page. Value is "Y" or "N". Y

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: Nov 02, 2005 12:38pm    Post subject: Design Variables for the "Search Results" Skin hea Reply with quote

Design Variables for use in the Search Results Skin Header.
Variable Name Definition Default
mm_objects_per_row The number of products or categories displayed per row. Value is a number. 1
mm_prod_link_txt The text used for the links to the products' Details pages. Value is any text. Product Details...
mm_show_add_to_cart Whether to display the "Add to Cart" button and quantity fields on the page. Value is "Y" or "N". Y
mm_show_prod_sku Whether to display the product or category SKU number on the page. Value is "Y" or "N". N
mm_v_divider_color Color of the vertical divider between columns. Value is any HTML color name or hexadecimal color code. #CCCCCC
mm_img_gutter_width Width of the margin to the right of the product or category image displayed on the page. Value is any number. 10
mm_desc_gutter_width Width of the margin to the right of the category or product short description on the page. Value is any number. 1
mm_column_gutter_width Width of the margin between the columns on the page, in pixels. Value is any number. 10
mm_is_title_link Whether the product or category name is a link to its Details page. Value is "Y" or "N". N
mm_show_breadcrumbs Whether to display the "navigation breadcrumbs" on the page. Value is "Y" or "N". Y
mm_show_pagination Whether to show the "Previous..." and "Next..." pagination links on the page. Value is "Y" or "N". Y
mm_use_links_in_breadcrumbs Whether the "navigation breadcrumbs" on the page are links to their respective store pages. Value is "Y" or "N". Y
mm_show_x_of_y_results Displays the number of results shown on the current page, out of the total number of results returned, at the end of the breadcrumb links. Value is "Y" or "N". Y
mm_show_object_description Whether the "Short Description" for the category or product should be displayed on the page. Value is "Y" or "N". Y

CMarier


Modular Merchant: Administration

Joined: 06 Mar 2006
Posts: 38
Location: Oregon


PostPosted: Apr 30, 2008 08:12pm    Post subject: Reply with quote

This topic is being locked because it's about a feature specific to Modular Merchant version 2. Modular Merchant version 3 improves on this feature, making this forum article obsolete.
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Modular Merchant Forum Index -> Web Design & Programming All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group