Miva Merchant 4 Module FAQs » Storefront Template (BROK_SFNTTEMPLATE)
This feature was added in a recent upgrade (version 4.20c compiled, 4.14 uncompiled). There is now a "type" that you can use in tokens that will evaluate and display an expression or variable.
For example, to display the price - cost for a random product you would use a token like:
%random|var:Products.d.price - Products.d.cost|01|% (for product 01)
{docurl}
Token to Evaluate Expressions such as: Products.d.price - Products.d.cost
Is there a token that I can use to evaluate expressions, such as Products.d.price - Products.d.cost?
This feature was added in a recent upgrade (version 4.20c compiled, 4.14 uncompiled). There is now a "type" that you can use in tokens that will evaluate and display an expression or variable.
For example, to display the price - cost for a random product you would use a token like:
%random|var:Products.d.price - Products.d.cost|01|% (for product 01)
Last update: 2003-07-30 22:27
Author: Support
Revision: 1.0
You cannot comment on this entry
Records in this category
- How to Conditionally Display Based on Customer Login
- Prices Displaying Incorrectly In Discount Module
- Token to Display a Product's Data from Viking Coder's Additional Fields Manager
- Token to Display Customer's IP Address
- Token to Evaluate Expressions such as: Products.d.price - Products.d.cost
- Using OpenUI Tokens in this Module
- Using the %valuesave% Token in this Module
- Using a Token to Display a "Randomly" Selected Product's Category
- Using %random Token to Pass Data to a Third Party Module Using %module|
- Controlling the Size of Product Images
- How to Modify the mmui.mv File IF Product Page Templates is Already Installed














