The Sebenza ToolsTM module allows you to quickly extend the power of the Store Morph Template language (SMT).
This toolkit type module is the bridge between Store Morph and the MivaScript language.
Allowing to you virtually run any function or expression within your page templates.
Not only that, but they can be nested so there is less code to run. In addition, the module adds some general store enhancement features such as breadcrumbs, sub-category listings, best seller listings, and more.
See the modules ever growing feature list. Be sure to check this list regularly as we will be adding new features ongoing.
- Execute MivaScript Functions & Variables
- Builtin Features - These include:
- Breadcrumbs
- Sub-Categories
- Category Products
- Category Best Sellers
- Custom Product Field Lookup
- Product Categories
- Page Render
- HTML Stripper
- Basket Item Count, Subtotal, Weight Variables
- Flat File Export
- Include
- Call - Post or Get
- Customer Price Group List
- Customer Availability Group List
- Populate Customer Checkout Fields
- One click basket update
- One click basket empty
- And much more...
- 100% Template Based
- Ongoing Feature Development
- Click here to view the modules PDF listing all features of the module
Example Function & Expression Use
Full function list can be found here. http://www.mivamerchant.com/support/docs/ScriptGuide_html/ScriptGuide.html
Assign to Variable
&mvt:global:widget;
substring
&mvt:global:widget;
gettoken
&mvt:global:widget;
len
&mvt:global:widget;
glosub
&mvt:global:widget;
padl or padr
&mvt:global:widget;
round
&mvt:global:widget;
user ip
&mvt:global:widget;
Day of month
&mvt:global:widget;
Month of year
&mvt:global:widget;
user agent
&mvt:global:widget;
http_referer
&mvt:global:widget;
document url
&mvt:global:widget;
tolower
&mvt:global:widget;
Math Example 1
&mvt:global:widget;
Math Example 2
&mvt:global:widget;
Math Example 3
&mvt:global:widget;
Nested function example
&mvt:global:widget;
Example usage from the endless things you could do:
Sub-Category List with Top 3 Bestsellers from each
“You Save” - Custom Product Field - Price
Retail Price: $&mvt:product:customfield_values:customfields:RETAIL;
You Save: $&mvt:global:yousave; (&mvt:global:yousavep;%)