Repository Forums Support WooCommerce Extended Coupon Features PRO free shipping coupon by role not working

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #16042
    baruch Salame
    Participant

    I have free shipping coupons, one for customer above X sum. and one for wholesale customer for above 20 unit.
    the coupon of the customer apply to the wholesale even with the role restrictions.

    #16045
    Soft79
    Keymaster

    Please send the coupon’s settings. If you enable “Settings > Extended Coupon Features > Debug mode” there will appear a link on the coupon’s Miscellaneous-tab which you can use to copy the settings as json.

    Is it possible that the wholesale user has multiple roles? (I.e. Wholesale AND Customer) ?

    #16046
    baruch Salame
    Participant

    hi,

    here is the code 4 wholesale:
    {“result”:”ok”,”coupons”:{“9162”:{“id”:9162,”code”:”\u05de\u05e9\u05dc\u05d5\u05d7 \u05d7\u05d9\u05e0\u05dd – \u05de\u05e9\u05d5\u05d5\u05e7\u05d9\u05dd”,”amount”:”0″,”date_created”:{“date”:”2020-05-26 17:47:26.000000″,”timezone_type”:3,”timezone”:”Asia\/Jerusalem”},”date_modified”:{“date”:”2020-07-03 15:11:24.000000″,”timezone_type”:3,”timezone”:”Asia\/Jerusalem”},”date_expires”:null,”discount_type”:”fixed_cart”,”description”:”\u05e6’\u05d9\u05d8\u05d4 \u05e9\u05dc\u05d9\u05d7\u05d9\u05dd \u05de\u05e9\u05dc\u05d5\u05d7 \u05dc\u05d1\u05d9\u05ea \u2013 \u05d4\u05de\u05e9\u05dc\u05d5\u05d7 \u05d9\u05d2\u05d9\u05e2 \u05ea\u05d5\u05da 1-3 \u05d9\u05de\u05d9 \u05e2\u05e1\u05e7\u05d9\u05dd.”,”usage_count”:17,”individual_use”:true,”product_ids”:[],”excluded_product_ids”:[],”usage_limit”:0,”usage_limit_per_user”:0,”limit_usage_to_x_items”:null,”free_shipping”:true,”product_categories”:[],”excluded_product_categories”:[],”exclude_sale_items”:false,”minimum_amount”:””,”maximum_amount”:””,”email_restrictions”:[],”used_by”:[“574″,”517″,”703″,”564″,”602″,”627″,”756″,”708″,”754″,”591″,”759″,”754″,”727″,”602″,”517″,”708″,”550″],”virtual”:false,”meta_data”:[{“id”:89111,”key”:”_wjecf_min_matching_product_qty”,”value”:”20″},{“id”:89112,”key”:”_wjecf_products_and”,”value”:”no”},{“id”:89113,”key”:”_wjecf_categories_and”,”value”:”no”},{“id”:89114,”key”:”_wjecf_customer_roles”,”value”:[“wholesale_customer”]},{“id”:89115,”key”:”_wjecf_is_auto_coupon”,”value”:”yes”},{“id”:89116,”key”:”_wjecf_apply_silently”,”value”:”yes”},{“id”:100643,”key”:”_wjecf_excluded_customer_roles”,”value”:[“customer”]},{“id”:103780,”key”:”_wjecf_shipping_restrictions”,”value”:[“method:free_shipping”]},{“id”:105049,”key”:”_wjecf_allow_cart_excluded”,”value”:”no”},{“id”:105050,”key”:”_wjecf_first_purchase_only”,”value”:”no”},{“id”:105051,”key”:”_wjecf_multiply_free_products”,”value”:”no”},{“id”:105052,”key”:”_wjecf_bogo_matching_products”,”value”:”no”},{“id”:105053,”key”:”_wjecf_must_select_free_product”,”value”:”no”},{“id”:105054,”key”:”_wjecf_select_free_product_message”,”value”:”Please choose your free gift:”},{“id”:105055,”key”:”_wjecf_allow_enqueue”,”value”:”yes”},{“id”:105056,”key”:”_wjecf_custom_fields_and”,”value”:”no”},{“id”:105057,”key”:”_wjecf_apply_discount_to”,”value”:”all”}]}}}

    I have – {“result”:”error”} on the anther one.

    #16048
    Soft79
    Keymaster

    What is the url of the json of the coupon giving an error? You can leave out the domain of your site if you wish.

    Is it possible that a user has multiple roles?

    #16050
    baruch Salame
    Participant
    #16051
    Soft79
    Keymaster

    No, I meant the url that returned {“result”:”error”}

    And please, respond the question whether it’s possible that a user has multiple roles.

    Or, please create a test wholesale user for me and send credentials + steps to reproduce the issue in your store to: admin(at)soft79.nl

    #16052
    baruch Salame
    Participant

    affiliate can be a customer.
    i have send an email from this addressee zivit.drori(at)gmail.com

    #16053
    Soft79
    Keymaster

    I added 34 items to the cart with a subtotal of 1154.53.

    – The coupon “צ’יטה שליחים משלוח לבית – המשלוח יגיע תוך 1-3 ימי עסקים.” is applied and gives free shipping.
    – The other coupon is not applied.

    So what would be the expected outcome?

    #16064
    baruch Salame
    Participant

    coupon list

    you can see that the count of used 200 shekel coupon is zero even though it has been used.

    #16065
    Soft79
    Keymaster

    The usage count is handled by WooCommerce, not by our plugin.

    #16077
    baruch Salame
    Participant

    did you try buying less then 20 unit but the sum is above 200 shekels
    and how can i check if one user have more then one role?

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.