Looking for a little help with the script below.
Just trying to add two products prices together to display on a page ultimately saving me countless hours of changes whenever the post office does their price increases every 6 months.
The two product codes are below. TIA!
Just trying to add two products prices together to display on a page ultimately saving me countless hours of changes whenever the post office does their price increases every 6 months.
The two product codes are below. TIA!
HTML Code:
<MvASSIGN NAME="l.product_code1" VALUE="'MMERGEMAGNET'"> <MvASSIGN NAME="l.product_code2" VALUE="'ENV_9_FOM'"> <MvtDO NAME="l.return" FILE="g.Module_Library_DB" VALUE="Product_Load_Code(l.product_code1, l.settings:product)"> <MvASSIGN NAME="l.product1_price" VALUE="l.return:price"> <MvtDO NAME="l.return" FILE="g.Module_Library_DB" VALUE="Product_Load_Code(l.product_code2, l.settings:product)"> <MvASSIGN NAME="l.product2_price" VALUE="l.return:price"> <MvASSIGN NAME="l.total_price" VALUE="l.product1_price + l.product2_price"> Total Price: $<MvEVAL EXPR="l.total_price">
Comment