New coupon feature on v9 MMUI template changes
Posted by , Last modified by on 16 April 2015 02:46 PM
|
|
Disclaimer This will work for stores on Miva Version 9.0 or newer. Note that this will require making changes to files on the server. Make sure you make a backup of any files you will be altering.These edits are low-risk but if you feel uncomfortable with making these changes then we advise you to seek help from a developer.
If you are using the MMUI interface and discount line items are not displaying on the OSEL page. Add the following foreach loop to the item foreach loop on the OSEL template
Instructions
<mvt:foreach iterator="discount" array="group:discounts"> <mvt:if expr="l.settings:discount:display"> <p><em>&mvt:discount:descrip;: &mvt:discount:formatted_discount;</em></p> </mvt:if> </mvt:foreach> <mvt:foreach iterator="discount" array="option:discounts"> <mvt:if expr="l.settings:discount:display"> <p><em>&mvt:discount:descrip;: &mvt:discount:formatted_discount;</em></p> </mvt:if> </mvt:foreach>
Dont forget to check the template changes http://www.miva.com/version9-template-changes
| |
|