Adding Miva 9 Coupon Utility to BASK Page
Posted by , Last modified by on 12 February 2015 10:16 AM

This tutorial is for individuals who have tried to use Point + Click Mode to enable the built in Coupon utility feature.

If you attempted this and the Coupon utility feature did not work.

Try the following...

Add this code to the "Basket Contents " Template

<form method="post" action="&mvte:global:secure_sessionurl;Screen=&mvta:global:Screen;">
<input type="hidden" name="Action" value="ACPN" />
<input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;" />
Coupon: <input type="text" name="Coupon_Code"> <mvt:item name="buttons" param="ApplyCoupon" />

Q: My coupon is not being applied on the BASK page. When I click redeem the page refreshes but no discount is added.

A: If your coupon is not being applied on the BASK page.

Check the Basket Contents Template for this foreach statement

<mvt:foreach iterator="item" array="basket:items">

If you have this code you have found your issue.


Template changes for the BASK page can be found here

There are numerous changes sprinkled throughout this file. If you have not made custom changes to this template, copy and paste the template changes to the "Basket Contents" Template otherwise, compare the differences between the "new" version and the version you have in your store.


Q: I am getting a runtime error when I click redeem.

A: Make sure the Coupon utility form is located in the section the image above displays.





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

Comments (0)
Post a new comment
Full Name:
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