Variable product – Price shown double

This topic has 4 replies, 2 voices, and was last updated 4 years, 2 months ago ago by Olga Barlow

  • Avatar: franked
    franked
    Participant
    April 4, 2021 at 21:50

    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

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 5, 2021 at 15:18

    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

    Avatar: franked
    franked
    Participant
    April 5, 2021 at 16:06

    Thank you for your reply! Is it possible to hide it only at variable products?

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 5, 2021 at 16:17

    Hello,

    Yes, we used product-type-variable class in the code if you checked that to hide it for the variable products only.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Variable product – Price shown double’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.