Codeinwp / Codeinwp/woocommerce-product-addon
Add option to apply a coupon on the product price without taking into account the additional options price
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 15
- Forks
- 9
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 16
Description
What problem does this address?
This refers to the case when some options with prices added are attached to a product (using a select input type, for example). One user reported that he'd like to apply a coupon only to the main price of the product, not to the total price from the cart, which consists of the main product price and the additional options price. Currently, the coupon is applied to the total price from the cart.
Suggested here.
What is your proposed solution?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified in the issue. Start by locating the WooCommerce coupon calculation and the product-option price handling, then define and test behavior where a coupon discounts only the base product price while leaving additional option prices undiscounted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100