I have discovered an issue regarding coupons in a multi vendor setup.
When I create a coupon and define that it can be redeemed starting from 100 USD, the system seems to calculate the minimum amount based on the total cart value, including products from other vendors.
In a multi vendor order, this means the coupon threshold is evaluated against the entire cart instead of only the individual vendor’s subtotal.
Is there a solution or configuration that ensures the minimum amount condition only applies to the specific vendor’s products rather than the full cart value?
I looked into this and I understand you're referring to the "minimum spend" setting under usage restrictions. Indeed by default that refers to the total cart value.
You can change this to be based on the vendor's own products only by using this code snippet: https://pastecode.io/s/42ppc4i0
You can add that to your child theme's functions.php file or through a code snippets plugin.
Please give that a try and let me know if you have any issues.
Hello MarketKing Team,
I have discovered an issue regarding coupons in a multi vendor setup.
When I create a coupon and define that it can be redeemed starting from 100 USD, the system seems to calculate the minimum amount based on the total cart value, including products from other vendors.
In a multi vendor order, this means the coupon threshold is evaluated against the entire cart instead of only the individual vendor’s subtotal.
Is there a solution or configuration that ensures the minimum amount condition only applies to the specific vendor’s products rather than the full cart value?
Thank you in advance.
Hi Barni,
Thanks for reaching out.
I looked into this and I understand you're referring to the "minimum spend" setting under usage restrictions. Indeed by default that refers to the total cart value.
You can change this to be based on the vendor's own products only by using this code snippet: https://pastecode.io/s/42ppc4i0
You can add that to your child theme's functions.php file or through a code snippets plugin.
Please give that a try and let me know if you have any issues.
Kind regards,
Stefan
Works, thanks!