
WooCommerce coding to restrict a coupon to total number purchases of a single product
- or -
Post a project like this2782
$$
- Posted:
- Proposals: 20
- Remote
- #1899648
- Awarded
Top seller in WooCommerce, WordPress, and JavaScript development with superfast speed and 99.98% accuracy.

Full Stack Web Developer with 13+ Years of Experience | Entrepreneur | Website Designer | Wordpres Developer | AI App Developer | Prompt Engineer | Python Programmer

Cert 5 Developer with extensive experience in Php, Laravel, Wordpress, Codeigniter, SEO, SEM

⭐⭐⭐⭐⭐ TOP Developer on PPH: JS (AngularJS, NodeJS, React JS/ReactNative, IONIC), PHP (Laravel, Zend, Yii, CI), CMS(WordPress & Magento) AWS & GCP ⭐⭐⭐⭐⭐

1181603129516818977917764531505883403661139498936011982079935961
Description
Experience Level: Intermediate
I’m looking for a coder who knows WooCommerce and can code the following for me:
1. Need to be able to restrict the number of times a coupon can be used to purchase a single product.
For example:
I would like a coupon to be used an unlimited number of times (times it can be used at the checkout stage) but limit the total purchases (or quantity) of the single product to a specific number.
This isn’t built into WooCommerce and I can’t find a plugin for it, so it needs to be coded.
So if I were to have a coupon for a product set to 20 total purchase of that product, the customer could purchase the product over:
1 visit of 20 purchases
2 visits of 10 purchases
3 visits of 5 purchases, 3 purchases and 2 purchases
And so on for example, but never being able to purchase more than 10 items of the product using the coupon during unlimited checkouts.
I would need the options avaliable in the front end on the coupon configuration to set the number of purchases allowed for the coupon, and for coupon configuration to work in the normal way as it currently does in WooCommerce.
Any questions please let me know along with the estimated cost for this.
1. Need to be able to restrict the number of times a coupon can be used to purchase a single product.
For example:
I would like a coupon to be used an unlimited number of times (times it can be used at the checkout stage) but limit the total purchases (or quantity) of the single product to a specific number.
This isn’t built into WooCommerce and I can’t find a plugin for it, so it needs to be coded.
So if I were to have a coupon for a product set to 20 total purchase of that product, the customer could purchase the product over:
1 visit of 20 purchases
2 visits of 10 purchases
3 visits of 5 purchases, 3 purchases and 2 purchases
And so on for example, but never being able to purchase more than 10 items of the product using the coupon during unlimited checkouts.
I would need the options avaliable in the front end on the coupon configuration to set the number of purchases allowed for the coupon, and for coupon configuration to work in the normal way as it currently does in WooCommerce.
Any questions please let me know along with the estimated cost for this.
Stephen N.
100% (13)Projects Completed
7
Freelancers worked with
4
Projects awarded
36%
Last project
28 May 2024
Bulgaria
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-

Stephen
You need to provide 2 scenario
- where it is acceptable
- where it is not acceptable for clarity
-

Are the coupon codes going to be exclusive to the users or one coupon will be available for other users as well? The number of use is specific to the site or user?
592747592643
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies