I hope someone will take pity on my remaining brain cells here. Since it seems Tool Kit which allowed me to tinker doesn't work with some of the changes in Miva I am trying to do something, which 'seems' like it should be baby stuff, but can't get past it.
I've tried these more ways than I will admit to publicly
if I output the value of l.settings:group:formatted_subtotal_comprehensive I get the correct value
if I output the value of l.settings:group:quantity I get the right value
however even though the documentation seems to indicate division is simple using '/' every attempt and combination I've tried moving dividing directly, passing into variables, using mvt:assign and so on ends up with '0'
Can someone put me out of my misery?
I've tried these more ways than I will admit to publicly
Code:
<mvt:assign name="l.settings:d_itemtotal" value="l.settings:group:formatted_subtotal_comprehensive" /> <mvt:assign name="l.settings:d_quantity" value="l.settings:group:quantity" /> <mvt:assign name="l.settings:d_unitresult" value="d_itemtotal / d_quantity" /> &mvt:d_unitresult;
if I output the value of l.settings:group:quantity I get the right value
however even though the documentation seems to indicate division is simple using '/' every attempt and combination I've tried moving dividing directly, passing into variables, using mvt:assign and so on ends up with '0'
Can someone put me out of my misery?
Comment