Value changes after going to cart [RESOLVED]

Hi. Trying to solve I’m sure a simple problem. I have the following calculation:
{Jet Ski 30 Minute::81:value} * 45

Jet Ski 30 Minute::81 is a product field using a drop down option. The options are 0 to 10 in the drop down. The price for option 1 is $11.00. Option 2 is $22.00 & so on.

I have a number field at the bottom with the above calculation. I want to multiple 45 times the value of the dropdown field (0-10) not the price of the dropdown field.
The above calculation works great. If someone selects 1 the field changes to 45. If they select 2 it changes to 90.
However, once they click the ‘Book Now’ button at the bottom, it adds the order to the cart. When it does this the value changes. Now it uses the price of the dropdown * 45 instead of the value 0-10. So for instance if someone selects 1, then after it is added to the cart, the value changes to 495 (11*45).
Does anyone know how to fix this so that it does not change the value after being added to the cart?
Thanks for your help. Seems simple but can’t seem to figure it out.

Hi Ox. Are you using Woocommerce or some other cart software?

Using Woocommerce with woocommerce booking plugin as well.

Also. Here is a test product page with the issue.

Hi Ox. It sounds like the issue is with how the form is integrated with Woocommerce. I recommend contacting support for the Gravity Forms Product Add-ons plugin https://woocommerce.com/products/gravity-forms-add-ons/

We can control what happens in Gravity Forms, and it sounds like that is working correctly, but the issue occurs after the product is added to the cart. Please let us know what you find out.

Thanks for your help. I’ll try that.

I also created another separate test page, independent from woocommerce. When the form is submitted, it has the same results as when it is added to the cart with different values.


Do you have any thoughts on why this is?

Thanks

Hi Ox. If you can recreate this with just a Gravity Forms form, I recommend opening a support ticket with Gravity Forms: https://www.gravityforms.com/support/

Gravity Forms support won’t be able to help with Woocommerce issues, but if you can recreate the issue with Gravity Forms alone, they can look into it.

Thanks for your help. I’ll try that.

Please post the resolution here when you arrive at one. Thank you.

So…known limitation with Gravity Forms. The request to improve this in a future release is already there.

In the mean time, for the value modifier to be used with pricing calculations you need to use code, please check the examples in the following documentation page: https://docs.gravityforms.com/gform_merge_tag_value_pre_calculation/
I tried this & put it in as a code snippet.
Solved the problem so far.

Thanks for your help.

Sounds good. Thank you for the update.