magento-buy-x-get-y-free icon indicating copy to clipboard operation
magento-buy-x-get-y-free copied to clipboard

Coupon X get Y free - multiple coupons

Open rob3000 opened this issue 11 years ago • 3 comments
trafficstars

I have found an issue when you have multiple coupon codes separated by a comma only the first coupon gets used.

On line 297 of the controller your only passing the first item and line 604 will need to be modified to check an array.

rob3000 avatar Nov 26 '13 02:11 rob3000

Yes, I think although in admin it says you can comma seperate them I never got round to doing it...

Sent from my iPad

On 26 Nov 2013, at 03:37, rob3000 [email protected] wrote:

I have found an issue when you have multiple coupon codes separated by a comma only the first coupon gets used.

On line 297 of the controller your only passing the first item and line 604 will need to be modified to check an array.

— Reply to this email directly or view it on GitHub.

gaiterjones avatar Nov 26 '13 07:11 gaiterjones

Just added a branch to update this. 1df41058e7ad4c9917f6909c0740350773f90aee

rob3000 avatar Nov 27 '13 01:11 rob3000

Actually need to develop this further, as the coupon should actually match the y product, so with more coupons and multiple offers this logic wouldn't work.

gaiterjones avatar Aug 26 '15 07:08 gaiterjones