VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: sino123 on August 25, 2014, 14:32:58 PM

Title: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: sino123 on August 25, 2014, 14:32:58 PM
I working in Joomla 2.9.9 and Joomla 3.3.3 . I created a coupon code in the backend and when apply the coupon code to the cart it is not discount any amount from the cart price and nothing happens. Is it a error of VM 2.9.9. Any solution for this issue ?
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: Milbo on August 25, 2014, 20:42:25 PM
yes, use version vm2.9.9a please !
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: sino123 on August 26, 2014, 06:00:58 AM
Thanks... But from where i can download VM 2.9.9a ?
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: Milbo on August 26, 2014, 15:42:16 PM
http://dev.virtuemart.net/attachments/download/772/com_virtuemart.2.9.9a_extract_first.zip
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: sino123 on August 27, 2014, 07:19:20 AM
Hai Melbo, I tried the VM2.9.9a version ,But the coupon discount is not working.How can i solve this issue ? Please help me to solve this issue
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: jenkinhill on August 27, 2014, 12:39:47 PM
Confirmed, coupons not working in latest 2.9.9a
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: sino123 on August 27, 2014, 13:02:04 PM
Currently I am  testing with  VM2.9.9a on Joomla 3.3.3
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: seyi on August 27, 2014, 17:17:57 PM
Here is a quick fix for Virtuemart 2.9.9

in www/components/com_virtuemart/helpers/coupon.php, around line 56 change:

. 'WHERE `coupon_code` = "' . $_db->getEscaped($_code) . '"';


to

. 'WHERE `coupon_code` = "' . $_db->escape($_code) . '"';


Also can always use AwoCoupon Free, its compatible with Joomla 3/Vm 299
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: Milbo on August 27, 2014, 23:37:42 PM
I missed a damn getEscaped? grmbl
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: sino123 on August 28, 2014, 09:14:44 AM
Thanks... Now it is working..
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: ralfeez on April 25, 2015, 01:22:04 AM
I have a similar, with 2.6.18 and J2.5.28, issue but the fix did not help me. My coupon box does not even show up. Any help is appreciated and Yes it is checked in the configuration. See http://screencast.com/t/zL1dSpsF
Thank you,
Ralph
Title: Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
Post by: GJC Web Design on April 25, 2015, 17:04:53 PM
that is certainly not a standard VM checkout - have you tried with the standard beez template?