-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Description
Bug Description
when customer buy product from multiple vendors its reducing the stock twice , one time from the parent order and another from the sub orders:
Main Order [111]
Stock levels reduced: Sweet Orkieda - Tamryia (#3172) 3→2
HEALTHY_ Nuts bar MED (#3781) 3→2
Suborder [112]
Stock levels reduced: HEALTHY_ Nuts bar MED (#3781) 2→1
Suborder [113]
Stock levels reduced: Sweet Orkieda - Tamryia (#3172) 2→1
Step To Reproduce
- Log in as customer
- Order from different vendors
- Check each related order notes showing stock deduction
Expected Behaviour
Stock deduction only once for each sub order
Actual Behaviour
Stock is deduct twice
Additional Information
No response
Environment (please complete the following information)
1. Dokan Version: [v4.2.3]
2. WooCommerce Version: [v10.4.3]
3. Wordpress Version: [6.9-php8.5-apache]
3. Browser: [chrome]
4. Current Theme: [Store Front]coderabbitai
Metadata
Metadata
Assignees
Labels
No labels