Product_regular_price doesn't work on variable products

Hello,
I created the product page through the Layout Builder but I notice a bug in the display of the regular price of variable products.
For example, in this case the size S of the pajamas has a regular price of 145 euros and a discounted price of 140 euros, but it doesn’t work as it should:

Thanx

Hi @scenaryo,

Thanks for reaching out.
Sometimes the only screenshot doesn’t help us to recognize the issue you are having. Can you please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– Specific Layout or Page where you are having this issue.
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

Hi @tristup,
you can see the error in the “Pagina prodotto” Layout; I created the following product: https://www.intimolerose.it/prodotto/test-themeco/
Thank you

Hey @scenaryo,

The Product Regular Price DC is only for Simple Product. It should be hidden when viewing a Variable Product.

To hide it, assign a Condition to the element as follows.

image

The variable product price is positioned below in the Add to Cart Form element.

image

Hope that helps.

Hi @christian,
thank you

Antonio

Hi Antonio,

You’re welcome and it’s our pleasure to help you! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.