How to hide price range of ONLY variable product not on simple product ?

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

  • Avatar: Eduard
    Eduard
    Participant
    January 9, 2020 at 12:21

    How to hide price range of ONLY variable product not on simple product ?

    https://prnt.sc/ql9jke

    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 9, 2020 at 16:25

    Hello,

    Please provide URL of such variable product.

    Regards

    Avatar: Eduard
    Eduard
    Participant
    January 9, 2020 at 20:07
    Avatar: John Holden
    John Holden
    Support staff
    January 10, 2020 at 05:27

    Hi,

    Add below code to Theme Options -> Theme Custom CSS -> Global Custom CSS

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

    Regards,
    Hung PD

    Avatar: Eduard
    Eduard
    Participant
    January 10, 2020 at 07:48

    thank you very much

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 10, 2020 at 08:17

    Hello,

    You’re welcome!

    Regards

    Avatar: rainbow69
    rainbow69
    Participant
    October 22, 2020 at 22:11

    I tried this. But it did not work..

    Im scared to edit in theme editor page.. I might break the whole site.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 23, 2020 at 10:59

    Hello,

    It works http://prntscr.com/v56zqa
    From your screenshot I see that you added code incorrectly and added additional blank space to class http://prntscr.com/v570om But there should not be space.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 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.