Automatic discounts doesn't work


  • Default avatar
    benny8    
     a year ago
    0

    Hi,

    I have set up 2 coupons in my shop . A voucher with 3 % due to a purchase value of 150 € and a coupon of 6 % ??with a purchase of 250 %. Unfortunately, the vouchers do not work , I built it like this http://gyazo.com/e7eea5281b547014857f42a8febb62e7 and this http://gyazo.com/8bf16a7e7a263704230b1ffdc3877624 and then added to the automatic vouchers http://gyazo.com/205b78b3afd8e50cab5b37769493b13f.

    Hope the get help, thx guys.

  • Default avatar
    benny8    
     a year ago
    0

    Once more thing. It seems as if the vouchers will only work for a login. However, this is impossible with new customers. In addition, apparently only the small coupon is used with 3 % after login, but not the 6% even if the voucher is were worth more than € 250, please see http://gyazo.com/da1b18ebb8f97e76c8d04b4962ec103c
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    The ordering of the automatic discounts matter. And since you have the 3% ordered first, it will always see that automatic discount and use it. So order the 6% discount first.

    For the second problem where it only works for logged in users, do you have any customer restrictionss in the coupon? Did you set it to work for a certain shopper group?
  • Default avatar
    benny8    
     a year ago
    0


    Hello,

    I wanted to change the ordering, bute then got the following issue: http://gyazo.com/879c264ffdd0b94cab4d302582a63d55

    Here you cann see the settings for the coupon: http://gyazo.com/fb0b5ab06e8e6550b581fcb21789a81f and http://gyazo.com/9620d8aeaec40eb7f5f16095cb8a1d6f I can't find something, it should work without login...
  • Default avatar
    benny8    
     a year ago
    0

    If you want to you can login into the backend and look by yourself, I will send you the login datas via pm.
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    Seems there is an issue with the latest version of Joomla and ordering of automatic coupons. Here is a fix:
    in www/administrator/components/com_awocoupon/helpers/awocouponModel.php, around line 158 is this:
    <?php
            $table 
    $this->getTable($this->_type);
    ?>


    Changing it to this fixes the problem:
    <?php
            $table 
    $this->getTable($this->_type'AwoCouponTable');
    ?>


    However in your case, since I have admin access I simply deleted the automatic coupons and readded them in the correct order. So no need to add the code, it will be part of the next update.

    For the other problem with guests, I find that it does work. You are using an extension one page checkout and when updating the product count in the cart, it does it through ajax. This would not update all the fields in the cart. You would need at least one page refresh to do that, which I did, and could see the discount not logged in. Please see screen shot:
    http://postimg.org/image/jg8xrmqfz/
  • Default avatar
    benny8    
     a year ago
    0

    Hello,

    OK, thx for ordering the coupons!

    Is it possible to update the coupon field also with ajax?
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    Not unless it is built into the checkout extension you are using. Its not just the coupon field that has to be updated, but the totals too, since it changes with the discount.
  • Default avatar
    benny8    
     a year ago
    0

    Thx, we have just informed the support of the onestepchekout plugin.
  • Default avatar
    benny8    
     a year ago
    0

    Working now (OneStepCheckout Support).