Author Topic: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3  (Read 8664 times)

sino123

  • Beginner
  • *
  • Posts: 7
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10144
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #1 on: August 25, 2014, 20:42:25 pm »
yes, use version vm2.9.9a please !
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

  • Beginner
  • *
  • Posts: 7
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #2 on: August 26, 2014, 06:00:58 am »
Thanks... But from where i can download VM 2.9.9a ?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10144
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
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

  • Beginner
  • *
  • Posts: 7
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #4 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28225
  • Always on vacation
    • Jenkin Hill Internet
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #5 on: August 27, 2014, 12:39:47 pm »
Confirmed, coupons not working in latest 2.9.9a
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14

sino123

  • Beginner
  • *
  • Posts: 7
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #6 on: August 27, 2014, 13:02:04 pm »
Currently I am  testing with  VM2.9.9a on Joomla 3.3.3

seyi

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 407
    • AwoDev
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #7 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:
Code: [Select]
. 'WHERE `coupon_code` = "' . $_db->getEscaped($_code) . '"';

to
Code: [Select]
. '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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10144
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #8 on: August 27, 2014, 23:37:42 pm »
I missed a damn getEscaped? grmbl
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

  • Beginner
  • *
  • Posts: 7
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #9 on: August 28, 2014, 09:14:44 am »
Thanks... Now it is working..

ralfeez

  • Jr. Member
  • **
  • Posts: 119
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #10 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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10303
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Coupon discount is not working in Virtuemart 2.9.9 and Joomla3.3.3
« Reply #11 on: April 25, 2015, 17:04:53 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation