Magento eCommerce
Magento Coupons
Introduction
The endeavor of this article is to give an insight into the 'coupon' system of Magento. Besides the fact that coupon system is a feature of Magento, time and again there have been certain issues with its functionality.
This article illustrates an example coupon issue which existed in a website, and how it was successfully rectified by the DCKAP team.
Issue source
- To ensure that the coupon code "instyle09" applies a 10 per cent discount to all products in the store.
- Apply Coupon button does not work.
- Coupon discount is not applied based on the shopping cart rules specified in the Magento interface.
- 'Instyle09' coupon code is not applying a 10% discount to all products.

Major factors causing this issue
- Form within another form: This coding format is not always accepted and normal HTML does not support this coding style.
- Field Id undefined: Id & Name field is not defined for text box. However, in the script, both the fields have been validated.

Solution
Form within another Form

Form within another Form

Form within another Form: Separate Form
- This issue is fixed by having two separate forms, ensuring the second form is opened by having the first form closed. This is the way forms are always coded.
- Field ID undefined
- This issue is fixed by defining Id & Name field for the text box and the script is able to find these fields on the run during validation.
Click here to request for a quote or call us at 1-510-796-2525 (US) | +44(0) 144 250 6383 (UK/Europe) for free Magento Coupons Consultation






USA
UK
India



