Variable product: hide price "starting from" only in the single product page

This topic has 6 replies, 3 voices, and was last updated 5 years ago ago by Olga Barlow

  • Avatar: d4r1uzzo
    d4r1uzzo
    Participant
    April 1, 2019 at 18:48

    Hello,
    Is it possible to hide the “Starting from” price only in the single product sheet of the variable products?

    http://prnt.sc/n60oql

    Greetings,
    Dario

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 2, 2019 at 07:05

    Hello,

    .single-product .product-content .fixed-content > .price {
        display:  none;
    }

    Regards

    Avatar: d4r1uzzo
    d4r1uzzo
    Participant
    April 2, 2019 at 10:50

    Hi, the code works but removes the price even in products without variable.

    http://prnt.sc/n6bitt

    I am only interested in verifiable products because the price already appears at the bottom:

    http://prnt.sc/n6bjk5

    is there any other way?

    Thank you,
    Dario

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 2, 2019 at 10:53

    Hello,

    Please provide URL of a simple product on your site.

    Regards

    Avatar: d4r1uzzo
    d4r1uzzo
    Participant
    April 2, 2019 at 11:13
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 2, 2019 at 11:28

    Hello,

    Replace previous code by the next one

    .single-product.product-type-variable .product-content .fixed-content > .price {
        display: none;
    }

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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