Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3

Started by sino123, August 25, 2014, 14:32:58 PM

Previous topic - Next topic

sino123

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 ?

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

sino123


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

sino123

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

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sino123


seyi

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
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/


ralfeez

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

GJC Web Design

that is certainly not a standard VM checkout - have you tried with the standard beez template?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation