AW Raf
- Open
app/design/frontend/base/default/template/aw_raf/checkout/cart/discount.phtml
-
Find the following lines:
return VarienForm.prototype.submit.bind(awrafDiscountForm)();
-
Replace it with:
if (awrafDiscountForm.form) { return VarienForm.prototype.submit.bind(awrafDiscountForm)(); } else { // firecheckout integration checkout.setLoadWaiting(true); new Ajax.Request("<?php echo $this->getUrl('awraf/cart/createCoupon') ?>", { method: 'post', parameters: checkout.getFormData(), onSuccess: function() { checkout.setLoadWaiting(false); checkout.update(checkout.urls.shopping_cart); } }); }
- Refresh cache and try to use
Referred Friends Balance
at firecheckout page.