Appreciate the plugins, it has been flawless. However, I would like to explore the possibility on how to implement a feature where in the composite product page, different component has different nutritional values and nutritional values will add up when different components is selected and the total nutrition values will be displayed in a small section inside the composite product page and calculated in real time when the customer changes the qty.
Thanks for contacting us here and for your interest in our plugin.
For your information, our plugin doesn't support conditional logic between components of a smart composite like that. All components are independent of each other so it's impossible to calculate the total values like that with our plugin, unfortunately.
Hello to the WPC team,
Appreciate the plugins, it has been flawless. However, I would like to explore the possibility on how to implement a feature where in the composite product page, different component has different nutritional values and nutritional values will add up when different components is selected and the total nutrition values will be displayed in a small section inside the composite product page and calculated in real time when the customer changes the qty.
Here is already an established website that uses this exact feature that i described: https://tsquaredeats.com/products/custom
For example:
Almonds. Fats 10, fiber 15
Cashew. Fats 5, fiber 10
Walnuts. Fat 3, fiber 5
(Each ingredients has their own unique nutrition values)
As an example flow, customer selects:
Almonds x1, Cashews x1 >
(Displayed in a section) Nutrition values: Fats 20, fiber 25 >
Add to cart
Another example if customer selects:
Almonds x3, Walnuts x1
(Displayed in a section) Nutrition values: Fats 33, fiber 50 >
Add to cart
Thank you WPC team again for the plugins! Hope to hear from you soon if is it possible to implement as such.
Hi Soh K.T,
Thanks for contacting us here and for your interest in our plugin.
For your information, our plugin doesn't support conditional logic between components of a smart composite like that. All components are independent of each other so it's impossible to calculate the total values like that with our plugin, unfortunately.
Best regards.
Janilyn T. - WPClever Support Agent