Knowledgebase:
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

 

 

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?