Woocommerce add coupon code automatically when certain conditions are met

Imekamilika Ilichapishwa Miaka 3 iliyopita Kulipwa wakati wa kujifungua
Imekamilika Kulipwa wakati wa kujifungua

We run a Woocommerce shop and need a specific feature for a sale event coming soon. We offer two discount coupons: 15% (up to 99 Euro total purchase) and 20% (100+ Euro total purchase). These coupons are created using a standard plugin. Now, here is the problem: Only regular customers should be able to use these coupons AND they should be added automatically to the cart, but only if the standard WP coupon input field is empty. Example:

A new customer orders as guest: No coupon automatically added!

A new customer registers and orders as a new customer: No coupon automatically added.

A regular customer orders as a guest (not logged in): Can use the code manually, but no code added automatically.

A regular customer orders after logging-in: The code is added if the standard input is empty.

The discount depends on the total of the purchase. We could provide, for example, the user ID of the last user that is accepted as a regular customer.

We don't need any functionality in the WP dashboard, just a code snippet for the [login to view URL] that does the trick.

Fee free to ask for more information if needed.

PHP WordPress WooCommerce

Kitambulisho cha Mradi: #29095278

Kuhusu mradi

30 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

Imetuzwa kwa:

letsstartcoding

i got your file so we just need to do direct coding in [login to view URL] and i understood very well your 4 logics there so just let me know on all cases we need to add coupon automatically or u want it manually? just answe Zaidi

€100 EUR kwa siku 1
(Maoni 52)
5.9

30 wafanyakazi huru wanazabuni wastani wa €187 kwa kazi hii

techwelfare

WOOCOMMERCE EXPERTS! We are working on woocommerce since last 11 years. We could do it. Could we discuss in details over chat now? Best Regards Simla

€200 EUR kwa siku 16
(Maoni 186)
7.2
nivasoftvietnam

EXPERT Wordpress Website Developer * I am an experienced Wordpress full-stack senior developer over 10+ years experience. * I would love to hear from you the project “Woocommerce add coupon code automatically wh Zaidi

€250 EUR kwa siku 7
(Maoni 65)
6.0
vashishtrupinder

Hi I AM READY TO START NOW I read through the job details carefully and I am absolutely sure that we can do the project very well. In a nutshell, I'm a freelancer with more than 7 years of work experience. Expert Zaidi

€250 EUR kwa siku 9
(Maoni 94)
6.4
anaya8777

I checked the requirements . I just want to discuss few more things. I am available to discuss now. Waiting for your response. Thanks.

€200 EUR kwa siku 7
(Maoni 39)
5.6
nizamfarhas

Hi There, How are you doing well? I am really interested in your project, " Woocommerce add coupon code automatically when certain conditions are met". I have rich experiences in PHP, WordPress and WooCommerce Feel f Zaidi

€110 EUR kwa siku 4
(Maoni 22)
5.5
blackrockwise

Hi there, You want to add a functionality to your woocommerce website that add a particular couple automatically to returning customer when the main woocommerce couple field is empty. I can handle all your woocommerce Zaidi

€240 EUR kwa siku 3
(Maoni 14)
4.8
rinku1902

Hello, I am an experienced WordPress developer & have worked on 200+ WordPress websites. When you assign me the work, stay assured the work will be done fast enough & of superior quality Message me to discuss further Zaidi

€150 EUR kwa siku 8
(Maoni 35)
4.3
shaanrafiqdev

i have checked your requirements carefully I am very interested in your project I have much experience in wordpress/Woocommerce I can work on above mentioned requirements I am ready to start work asa Zaidi

€250 EUR kwa siku 7
(Maoni 4)
4.3
cagriari

hi, how would you determine a regular customer ordering as a guest? by the shipping info / email?

€45 EUR kwa siku 2
(Maoni 8)
4.1
naveedbukhari394

Hello I have read your description and I am willing to create woocommmerce coupon I have 5+ years experience of Web developing Including with PHP, , HTML5, CSS, JAVASCRIPT, WordPress, woo-commerce, Shopify, WIX, e-com Zaidi

€30 EUR kwa siku 3
(Maoni 5)
4.0
sonishubham

Hi I can implement the coupon code system as you mentioned above. I have full expertise i Wordpress woocommerce. I can do this. I am available and can start working on it ASAP. Thanks

€150 EUR kwa siku 5
(Maoni 6)
3.3
kuditaofiq

hello Woocommerce add coupon code automatically when certain conditions are met I provide creative, proactive and high-tech solutions to your development needs. I have solid experience in HTML, Javascript, PHP, MySQL Zaidi

€30 EUR kwa siku 1
(Maoni 1)
2.5
uzaira19

Hi there! I can generate a custom function for with an exact match to the features you're looking for as I've implemented similar functionality to auto add coupons when a specific product is added and coupon code field Zaidi

€111 EUR kwa siku 3
(Maoni 6)
2.9
millaldeoenrique

Hi, I currently have a Marketplace with woocommerce and wordpress, I'm sure I can do the solution for coupons!

€150 EUR kwa siku 1
(Maoni 0)
0.0
VRTECHSOL

Hi _____ We are a locally registered IT Company providing similar capacity services for over 50+ clients. I truly understand the project requirements, and can develop your E-Commerce Store with additional plugins of d Zaidi

€150 EUR kwa siku 7
(Maoni 0)
0.0
SumitThukral

I can do this job for you. Just need to know what plugin are you using to generate discount codes. As we can configure woocommerce to fix this issue. If third party plugin is used then we will have to write a code to f Zaidi

€140 EUR kwa siku 5
(Maoni 0)
0.0
Taqitafsol

Hi, I have understood all your requirements as you have compiled such a brief, clean and to the point project description, I have already done similar projects before like adding coupons in online stores cart. Don't w Zaidi

€299 EUR kwa siku 3
(Maoni 0)
0.0