Minimum Total message in cart


  • Default avatar
    rooksads    
     8 years ago
    0

    How can we edit the message in the cart when using a minimum purchase code:
    "This coupon is valid for an order with a minimum of $XXX"

    The store owner is offering a free iPad when a customer purchases $1300 of products. The ipad is added to the cart and its cost of $500 is added to the total. So when the total product order reaches $1300, in addition to the $500 for the iPad, the iPad cost is deducted from the total. So the actual total is coupon mininum is $1800, but the client only wants to display the $1300 value for this message.

    Currently it reads:
    "This coupon is valid for an order with a minimum of $1800"

    The client wants it to read:

    "This coupon is valid for an order with a minimum of $1300"

    How do we achieve this?

    Thanks!
  • Your avatar
    seyi    
     8 years ago
    0

    Hello,

    Using the free version of AwoCoupon?

    You would have to custom code it.

    In www/administrator/components/com_awocoupon/helpers/vm_coupon.php, in 2 places you will find this line:

    <?php
                $err 
    JText::_('COM_VIRTUEMART_COUPON_CODE_TOOLOW').' '.$coupon_value_valid;
    ?>


    Just need to make your modifications there