I need some customization regarding the bundle pricing.
Currently, when I add a bundle product to the cart, the main bundle product price is 0, and the sub-products are added with their individual prices, which works as per the default behavior.
However, I have applied a category-wise discount for the smart bundle products, and I want to apply this discount during cart calculation using the woocommerce_before_calculate_totals hook.
The issue is that when I process the calculation through this hook, the totals are not calculated accurately.
Could you please guide me on the correct approach to apply a discount specifically for smart bundle products?
If there is a better hook or recommended method for this scenario, please suggest the best solution.
Please tell me which plugin you are using to set up category-wise discounts. If it's custom code, please provide details on how you implemented it.
I will review the details and find a solution for you.
You will also need to purchase the premium version of the plugin here https://wpclever.net/downloads/product-bundles/ to receive support regarding this compatibility issue. You can request a refund if we are unable to make it work as you expect.
Hello Sir,
I am using WPC Product Bundles (v8.4.6) plugin.
I need some customization regarding the bundle pricing.
Currently, when I add a bundle product to the cart, the main bundle product price is 0, and the sub-products are added with their individual prices, which works as per the default behavior.
However, I have applied a category-wise discount for the smart bundle products, and I want to apply this discount during cart calculation using the woocommerce_before_calculate_totals hook.
The issue is that when I process the calculation through this hook, the totals are not calculated accurately.
Could you please guide me on the correct approach to apply a discount specifically for smart bundle products? If there is a better hook or recommended method for this scenario, please suggest the best solution.
Hi HARDIK,
Please tell me which plugin you are using to set up category-wise discounts. If it's custom code, please provide details on how you implemented it.
I will review the details and find a solution for you.
You will also need to purchase the premium version of the plugin here https://wpclever.net/downloads/product-bundles/ to receive support regarding this compatibility issue. You can request a refund if we are unable to make it work as you expect.
Best regards,
Dustin