Skip Navigation

[Resolved] Customizing a WooCommerce product page

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted some form of live calculation with some custom formulas on their product page.

Solution:

This is completely not a toolset issue since it involves customizing live calculations for your woocommerce variable products.

I would recommend contacting the woocommerce team directly as they may even have a hook for this .

https://woocommerce.com/contact-us/

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by jelle-jacobd 5 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#1263757

Tell us what you are trying to do?
Hello, I need some help with adjusting a WooCommerce product (variable) page.

I am building a page for a supplier of wooden floors. To calculate the m2 price, a calculation must be made that calculates the saw loss (5%) and this adds to the number of m2 already entered in a text field.

To illustrate: a customer enters 25m2 in. The function adds 5% saw loss (rounded upwards), in this case 1.25m2 rounded up to 2 m2. The total number of m2 required will, in this case, be 27 m2 times the (product) updates the total price function before taxes.

Is there any documentation that you are following?
Looking for which Toolset extensions to use?

Is there a similar example that we can see?
hidden link
hidden link

What is the link to your site?
hidden link

#1264347

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jelle,

Thank you for contacting our support forum.

This is completely not a toolset issue since it involves customizing live calculations for your woocommerce variable products.

I would recommend contacting the woocommerce team directly as they may even have a hook for this .

https://woocommerce.com/contact-us/

Thanks,
Shane

#1264411

Hi Shane,

I’m aware this isn’t a Toolset issue. Or even a issue at all. But I would like to create a solution like this with Toolset. Do you mean this isn’t possible with Toolset views (WooCommerce)?

#1264471

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jelle,

No its not possible with Toolset at all since this would need to interact with the woocommerce hooks directly.

Your calculations are done based on the selected value .

Toolset only controls how you can display the layout of your product but any logic involved in price calculations etc isn't covered.

Thanks,
Shane

#1264919

Oke thanks, I will to that.

My issue is resolved now. Thank you!