I have created composite products that include bundles and simple products. I am running into an issue with promotional items; free gifts.
I utilized a conditional discount plugin to provide a free wire kit and speaker mounting hardware when a speaker kit is in the cart.
However, I removed and deleted the plugin associated with the conditional discount and the prices of the free gifts are not being added to the sub total price.
I have tested deactivating the composite product plugin. Doing so provides correct sub total pricing.
Is there anything associated with the composite product pricing in the woocommerce database that would need to be recalculated after removing the discount?
I would like to confirm first: Did you add a product bundle to be a component inside your smart composite product? This is not going to work.
For your information, special product types such as Smart Bundle/ Smart Grouped/ Smart Composite cannot be added to as part of any other product types. These special product types are equal and work individually.
These special product types only support simple product (marked "simple #..."), variable products (marked "variable #..."), variations (marked "variation #..."), and subscription products (marked "subscription #..."). as their sub-products inside.
That might be reason why it is not calculating the right total on cart. Please help me remove the bundle or other special products from smart composite. You should only keep simple, variable or variations as component sub-products.
Then please provide me with more images and links to your product if the incorrect total issue still exists.
I found the issue to be the way I had the composite products set up. I had applied product setting "only base price" to my composite and this did not calculate the total correctly. The interesting thing was that in the cart it included the base pricing and the grouped item in the composite but excluded the simple products. This is why I was thinking it was a conditional discount still being applied.
I have switched to 'include base price' and this has resolved the issue.
I have created composite products that include bundles and simple products. I am running into an issue with promotional items; free gifts.
I utilized a conditional discount plugin to provide a free wire kit and speaker mounting hardware when a speaker kit is in the cart.
However, I removed and deleted the plugin associated with the conditional discount and the prices of the free gifts are not being added to the sub total price.
I have tested deactivating the composite product plugin. Doing so provides correct sub total pricing.
Is there anything associated with the composite product pricing in the woocommerce database that would need to be recalculated after removing the discount?
Hi Brandon,
Thanks for contacting us here.
I would like to confirm first: Did you add a product bundle to be a component inside your smart composite product? This is not going to work.
For your information, special product types such as Smart Bundle/ Smart Grouped/ Smart Composite cannot be added to as part of any other product types. These special product types are equal and work individually.
These special product types only support simple product (marked "simple #..."), variable products (marked "variable #..."), variations (marked "variation #..."), and subscription products (marked "subscription #..."). as their sub-products inside.
That might be reason why it is not calculating the right total on cart. Please help me remove the bundle or other special products from smart composite. You should only keep simple, variable or variations as component sub-products.
Then please provide me with more images and links to your product if the incorrect total issue still exists.
Best regards.
Janilyn T. - WPClever Support Agent
Thank you Janilyn,
I found the issue to be the way I had the composite products set up. I had applied product setting "only base price" to my composite and this did not calculate the total correctly. The interesting thing was that in the cart it included the base pricing and the grouped item in the composite but excluded the simple products. This is why I was thinking it was a conditional discount still being applied.
I have switched to 'include base price' and this has resolved the issue.
Hi Brandon,
Thanks for your feedback. I'm glad that you have been able to figure it out.
I'll consider your case closed and close your ticket now. Feel free to submit a new one in case you encounter any issues at any time.
Have a nice day and best regards.
Janilyn T. - WPClever Support Agent