Not Applying Coupon In Cart


  • Default avatar
    paul491    
     8 years ago
    0

    Hi

    On this site https://www.threebearsclothing.com.au

    A 30% off coupon has been applied "SKIRTS30" yet when it is used it wont save in the cart. I can't see anything wrong in the configs. Any ideas?

    Joomla 2.5.28
    Awo Coupon 2.4.4 Pro
    Awo Plugins 2.0.1
  • Your avatar
    seyi    
     8 years ago
    0

    Hello,

    From looking at the shopping cart, it is not possible to apply a coupon code, awocoupon or virtuemart. The main reason is that the coupon code box is not within a form, so it is impossible to submit.

    So you need to add the form. Here is the file:
    www/components/com_virtuemart/views/cart/tmpl/default_coupon.php

    This might be overriden, and if so would be in
    www/templates/[YOUR_TEMPLATE]/html/com_virtuemart/coart/default_coupon.php

    If it is not in your template, then copy the virtuemart file to your template and then make the modifications. In the file, you should see 2 lines that read:

    <?php
    if ($this->layoutName!='default') {
    ?>


    Change them to
    <?php
    if (1==1) {
    ?>


    That should add the form to the cart.


  • Default avatar
    paul491    
     8 years ago
    0

    Hi

    Looks like this may be an issue in the Gavick Pro template. Trying a few things there now.
  • Default avatar
    paul491    
     8 years ago
    0

    Hello, this did not work, is there anything else I can do?