Gradted Discount Structure


  • Default avatar
    mikekiy    
     7 years ago
    0

    Hi Seyi

    I have a use case where I am finding it difficult to manipulate the coupons as I would wish.

    The customer has various 'Category' Discounts which are running through the Virtuemart - that all works fine.

    I then need to apply an 'Overall' Cart Disocunt according to the following parameters.

    £80 - £299.99 - 5%
    £300 - £1749.99 - 10%
    £1750 - £3999.99 - 12%
    £4000 - and upwards - 12.5%

    Can I acheive this through Awo Coup0on?

    I can't figure it out.

    Cheers

    Mike
  • Your avatar
    seyi    
     7 years ago
    0

    Hello,

    You can with a parent coupon:

    Coupon A: min value: 80, value: 5%
    Coupon B: min value: 300, value: 10%
    ...
    Coupon X: Parent coupon, where you add all coupons created, order from max discount to least discount and set process type to first found match.
  • Default avatar
    mikekiy    
     7 years ago
    0

    Genius
  • Default avatar
    mikekiy    
     7 years ago
    0

    Seyi

    Thank you, that works very well. There is just one issue. The VAT calculation in the Cart shows the VAT value before the discount, although the VAT inclusive Total is correct. Can you think why that might be the case?

  • Your avatar
    seyi    
     7 years ago
    0

    The layout in the cart is controlled by the template. You can move it around, just need to alter the template.

    If this is virtuemart, the core file is here
    - www/components/com_virtuemart/views/cart/tmpl/default_pricelist.php

    But most likely you already have an override which you can alter
    - www/templates/[YOUR_TEMPLATE]/html/com_virtuemart/cart/default_pricelist.php