Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › First Purchase restriction not working
- This topic has 14 replies, 3 voices, and was last updated 4 years, 5 months ago by Soft79.
- AuthorPosts
- December 8, 2021 at 7:17 pm #18356Anurag JainParticipant
Hello,
First Purchase restriction not working on my site. Even if the user haven’t ordered anything before he gets error saying coupon valid on 1st purchase only
December 8, 2021 at 9:02 pm #18357Soft79KeymasterPlease send url to your store + coupon code so I can take a look
December 9, 2021 at 5:37 am #18359Anurag JainParticipantHello,
I mailed you through contact us tab with all login details. It actually dont work for failed orders. When you retry you get error saying coupon valid on 1st purchase only.
December 13, 2021 at 6:09 pm #18377Anurag JainParticipanthaven’t got any reply yet
December 14, 2021 at 5:37 pm #18384Soft79KeymasterMail got stuck. I’ve sent a follow-up question now.
December 15, 2021 at 7:18 am #18387Anurag JainParticipanti mailed you the user login.
December 15, 2021 at 10:12 am #18390Soft79KeymasterThanks. Please see reply.
January 18, 2022 at 8:30 am #18476Anurag JainParticipantWE still have this issue :-(
January 18, 2022 at 9:17 pm #18478Soft79KeymasterThe 15th of December I tried the coupon succesfully on your site. I sent you an email that day to which I never received a response.
Please try this: delete all cookies and try again. (Or try from a private browser window)
January 24, 2022 at 6:07 am #18496Anurag JainParticipanti dont know but something is wrong with the logic here, we get some students saying i never purchased but stil i get error saying coupon valid on 1st purchase. When we switch to that user from admin panel in our browser we too face this issue. so we have to give uses another normal coupon.
January 24, 2022 at 5:31 pm #18500Soft79KeymasterPlease, send me all the coupon settings and the login details of a (fake) user for which the coupon doesn’t work. You can send it to admin (at) soft79.nl.
March 28, 2022 at 7:13 pm #18711Daniel ZelivokichParticipantHello,
I just upgraded to have a lack of abuse on our first customer order discounts. People are still making fake email addresses up and using our code on every order. Is there anyway to add addresses to block or have this go by address and by email to determine a first time user?
Thanks!
March 29, 2022 at 10:46 pm #18715Soft79KeymasterHi, you can use the filter wjecf_is_first_purchase for that.
See this post for an example:
http://soft79.nl/forums/topic/coupon-on-first-purchase/page/2/#post-17226March 30, 2022 at 12:32 pm #18719Daniel ZelivokichParticipantwhere do I put this code to have this work on the website? and that checks for addresses as well correct?
March 31, 2022 at 9:16 am #18722Soft79KeymasterThe snippet is only for postal code. A developer can extend this to include the address.
This must be placed in your child theme’s functions.php
- AuthorPosts
- You must be logged in to reply to this topic.