Author Topic: Coupon discount still showing if order total drops down min amount  (Read 1329 times)

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Hello,
there seems to be a minor display bug on coupon discount, but I'd like to have other people confirming it.

1. Create e.g. a 10 € discount coupon which only applies for an order amount > 50 €
2. Put e.g. 5 x 15 € product into the cart (total order 75 €)
3. Apply your coupon and you'll get a 10 € discount
4. Update quantity from 5 products to 2 products (total order 30 €)

Result: the 10 € discount is still there

If you proceed to order confirmation, though, the total is recalculated.

Same thing happens if you remove completely your products from cart, browse the shop, and put other products in the cart for an order amount less than the required min amount.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Coupon discount still showing if order total drops down min amount
« Reply #1 on: December 10, 2012, 12:44:12 pm »
Hello,

Which version?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: Coupon discount still showing if order total drops down min amount
« Reply #2 on: December 12, 2012, 09:17:00 am »
Hello,
it's VirtueMart 2.0.14 on Joomla 2.5.8
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Coupon discount still showing if order total drops down min amount
« Reply #3 on: December 12, 2012, 12:03:21 pm »
Hmm ... yes

I remember that also ... i test it with 2.0.15c and is still there ...

So, when the order amount changed should trigger coupon also and remove it if does not fit the the amount ...

I am validating this for 2.0.14, 2.0.15

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9973
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Coupon discount still showing if order total drops down min amount
« Reply #4 on: December 12, 2012, 15:49:26 pm »
If you proceed to order confirmation, though, the total is recalculated.

Therefore for me a small cosmetical thing. I think that most time if this happens, people try to tricks the system. I think also this problem is already solved in vm2.1
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Coupon discount still showing if order total drops down min amount
« Reply #5 on: December 12, 2012, 16:23:09 pm »
Haven't solved in 2.1, but a recalculation should take place because the cart module also shows the discounted total
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!