When there is a variable product. The price is shown twice. I have included in the private content area a picture of what i mean.
Is it possible to only shown it once? And that the variable price is shown/changed when they select another option
This topic has 4 replies, 2 voices, and was last updated 4 years, 2 months ago ago by Olga Barlow
When there is a variable product. The price is shown twice. I have included in the private content area a picture of what i mean.
Is it possible to only shown it once? And that the variable price is shown/changed when they select another option
Hello,
WooCommerce displays prices in 2 places by default you can check the official demo here https://themes.woocommerce.com/storefront/product/small-mp3-player-pro/
They display top price – is a price range of the product, and the bottom price is the price of the variation that you choose.
There is no special option to hide the top price. You can do this use custom CSS (Theme Options > Custom CSS)
.product-type-variable .product-content .product_title+.price {
display: none;
}
Regards
Thank you for your reply! Is it possible to hide it only at variable products?
Hello,
Yes, we used product-type-variable class in the code if you checked that to hide it for the variable products only.
Regards
The issue related to '‘Variable product – Price shown double’' has been successfully resolved, and the topic is now closed for further responses