AW StoreCredit
- Open
skin/frontend/base/default/aw_storecredit/js/aw_storecredit_payment.js
-
Find the following lines:
if (!this.isStorecreditSubstracted && this.storecreditCheckbox.checked) { this.quoteBaseGrandTotal -= this.baseBalance; this.isStorecreditSubstracted = true; } if (this.isStorecreditSubstracted && !this.storecreditCheckbox.checked) { this.quoteBaseGrandTotal += this.baseBalance; this.isStorecreditSubstracted = false; }
-
Replace them with:
if (!this.isStorecreditSubstracted && this.storecreditCheckbox.checked) { this.quoteBaseGrandTotal -= this.baseBalance; this.baseStorecreditAmountUsed = this.baseBalance; this.isStorecreditSubstracted = true; } if (this.isStorecreditSubstracted && !this.storecreditCheckbox.checked) { this.quoteBaseGrandTotal += this.baseBalance; this.baseStorecreditAmountUsed = 0; this.isStorecreditSubstracted = false; }
- Save the file and try to use credits at firecheckout page.