Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › add coupon before user login/registers?
- This topic has 3 replies, 2 voices, and was last updated 6 years, 7 months ago by Soft79.
- AuthorPosts
- February 12, 2020 at 9:18 pm #14217SKEParticipant
We purchased the plugin with the intent of using the Coupon by URL feature for advertising to first time customers, granting them 10% discount on their first purchase. However, the way the plugin is currently setup, login is required in order to validate the email as a first time buyer. This completely defeats the purpose of having a Coupon by URL that can be restricted to first time buyers. Our customers are not going to login prior to adding things to their cart and initiating checkout.
Is there a way that we can modify the First Time Purchase logic to not return “unknown/null” so that the coupon is added before they login/register? Ideally, it would add the coupon, and during the checkout process check the email, and remove the coupon if the customer is not a first time buyer.
February 14, 2020 at 12:00 am #14256Soft79KeymasterActually, login is not required. The coupon will validate when applied and the email is yet unknown. Once the email is known it will check validity. To test this, please do so in a private browser session, cause otherwise the plugin will remember it when an email is entered of a customer that has already purchased before.
February 14, 2020 at 3:49 am #14265SKEParticipantSo the coupon is currently not being applied at all until login. We’ve tested from different computers/IP addresses and using private browsing in both chrome and safari. The coupon does not apply until the user enters there email address during checkout. We want it to apply immediately so the user can see the discount prior to beginning the checkout process. The discount is what is going to help new users start the checkout process.
You can test using this link: http://unitedsteaks.com/?apply_coupon=firstorder10
Add a product greater than $50 but less than $150 to the cart, view your cart, and you can see that the coupon is not applied. But if you create an account, then use the link it works.February 15, 2020 at 4:22 am #14299Soft79KeymasterIt looks like that url doesn’t apply the coupon correctly. If I use http://unitedsteaks.com/cart/?apply_coupon=firstorder10 it does work. What plugins do you have installed?
PS: sorry for the somewhat late replies, I’m in a rural area with limited internet connectivity.
- AuthorPosts
- You must be logged in to reply to this topic.