Announcement

Collapse
No announcement yet.

Getting Product Price in a variable so I can do simple calculation with the number

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Getting Product Price in a variable so I can do simple calculation with the number

    I need to get the product price in a variable so I can do simple calculations on it and output the wholesale price on Product Display pages.

    I can't seem to capture the price in a variable so that it's usable for this sort of thing.

    Or, another option would be to simply output the price group discount price that it's able to do on the cart page.

    thanks

    #2
    Code:
    <mvt:assign name="g.wholesale_price" value="rnd((.65 * l.settings:product:price), 2)" />
    <mvt:do name="g.wholesale_price_formatted" file="g.module_store_module_currency" value="CurrencyModule_AddFormatting( g.module_store_module_currency, g.wholesale_price )" />
    &mvt:global:wholesale_price_formatted;
    http://www.alphabetsigns.com/

    Comment

    Working...
    X