Miva Merchant 4 Module FAQs » Storefront Template (BROK_SFNTTEMPLATE)


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

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry