Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › free shipping coupon by role not working
- This topic has 10 replies, 2 voices, and was last updated 4 years, 1 month ago by baruch Salame.
-
AuthorPosts
-
July 15, 2020 at 8:26 am #16042baruch SalameParticipant
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.July 15, 2020 at 9:56 am #16045Soft79KeymasterPlease 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) ?
July 15, 2020 at 11:16 am #16046baruch SalameParticipanthi,
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.
July 15, 2020 at 12:24 pm #16048Soft79KeymasterWhat 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?
July 15, 2020 at 3:50 pm #16050baruch SalameParticipantany user?
https://www.fib-trade.co.il/wp-admin/post.php?post=9164
if that what you meantJuly 15, 2020 at 4:25 pm #16051Soft79KeymasterNo, 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
July 15, 2020 at 7:21 pm #16052baruch SalameParticipantaffiliate can be a customer.
i have send an email from this addressee zivit.drori(at)gmail.comJuly 16, 2020 at 4:05 pm #16053Soft79KeymasterI 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?
July 19, 2020 at 2:28 pm #16064baruch SalameParticipantyou can see that the count of used 200 shekel coupon is zero even though it has been used.
July 19, 2020 at 4:44 pm #16065Soft79KeymasterThe usage count is handled by WooCommerce, not by our plugin.
July 21, 2020 at 7:58 am #16077baruch SalameParticipantdid 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? -
AuthorPosts
- You must be logged in to reply to this topic.