The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Link calculation result to Woocommerce attribute

Labels

This Discussion is public

Notifications

Hi Team

I am creating a new "Create product" woocommerce form.

I have a particular calculation that I am running - I would like to link the answer to the corresponding Woocommerce attribute.

The calculation is working fine - so for sake of example lets say that once the user enters the relevant numbers, the calculation gives an answer of 60.

I also have a corresponding Woocommerce attribute with the same value i.e. a value of 60.

Now that we know that the user must use this attribute value of 60 as this was the calculated answer that resulted from very specific user inputs, how can I make it so that the corresponding Woocommerce attribute of 60 (that already exists) can be chosen as the default product attribute on my formidable form?

Kind regards

Discussion closed.