How to set up a coupon for customers only once


  • Default avatar
    riga75    
     6 years ago
    0

    I have to set a coupon that applies only to registered users and then made these settings:
    Individual use only - selected
    Number of Uses Total - I left empty
    Number of Uses for Customer - I wrote 1

    Is it okay so set up or not?
    thanks a lot

    stefano
  • Your avatar
    seyi    
     6 years ago
    0

    Hello,

    With the setup, any one customer can use this coupon once.  This includes newly registered customers and old customers.  If you want it to only work on new customers from now, you could do this but requires a little bit of work.  Create a customer group, and add all current customers to this customer group.  Then within the coupon setup, exclude the customer group created.
  • Default avatar
    riga75    
     6 years ago
    0

    Hi Seyi
    Okay, just explain to me what the field means
    Number of Uses Total
    In which case should I set a value?
    thanks a lot

    stefano
  • Your avatar
    seyi    
     6 years ago
    0

    Number of uses total is the total number of times a coupon can be used.
    Number of uses per customer is the total number of times one customer can use the coupon.

    So for example, in use with automatic discounts, you could run a promotion where the next 25 distinct customers to order would receive x discount.  In such a promotion, you would set:
      Number of uses total: 25
      Number of customers: 1

    If left blank, then its unlimited
  • Default avatar
    riga75    
     6 years ago
    0

    Number one, thanks

    stefano
  • Default avatar
    riga75    
     6 years ago
    0

    I rehearsed with the welcome coupon worth 5 euros

    It works except for one thing

    If I've already used it, and I try to re-use it the next time,
    It does not apply the discount but it appears to me a message that says "COUPON ADDED WITH SUCCESS" but it's not true

    How can I pass the access data to the admin area without you too?
  • Default avatar
    riga75    
     6 years ago
    0

    I also attach screenshots and see the message on the green "bar" at the top
    http://nimb.ws/RJS7Z1
  • Your avatar
    seyi    
     6 years ago
    0

    Looks like you are using vp onepage checkout.  I believe this will fix it.

    In the file www/administrator/components/com_awocoupon/helper/estore/virtuemart/class-awocoupon-helper-estore-virtuemart-discount.php, around line 68 is this
    <?php
                
    elseif( $is_vmonepagecheckout ) {
    ?>

    Right after that add this
    <?php
                    $this
    ->is_validateprocess true;
    ?>

    I believe that will fix the issue