Okay
  Public Ticket #969882
Variable Product: do not display the price range
Closed

Comments

  •  2
    Céline started the conversation

    Hello! 

    I also would like to remove the price range. However, by using the following CSS code, I am removing all the prices from all product pages. In other words, I don't have anymore a price on a product page ... how to resolve this issue? 

    Thanks in advance

    .product-type-variable [itemprop="offers"] {
        display: none;
    }
  •  1,558
    Laborator replied

    Hi Celine,

    To Set this only for a product then paste the following CSS in your Custom CSS area:

    .post-2316 .price {
      display: none !important;
    }

    If you need to apply this to more products then you are free to use the same CSS for it.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  2
    Céline replied

    Thanks for your answer. 

    However, with that code the price is not displayed anymore (cf. print - screen) 

    I would like to display the correct price depending on the attribute chosen. 

    Thanks in advance for your help!

  •  1,558
    Laborator replied

    Hi Celine,

    Use this CSS instead of the last one 

    .post-2316 .price {
      display: none !important;
    }
    .woocommerce-variation-price .price {
      display: block !important;
    }

    P.S. You have an incredibly large amount of plugins installed, I would suggest you to disable and delete some of them if they're not being used. Using a lot of plugins can cause site to run on low speed, security bugs and the style of the theme may be affected too.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  2
    Céline replied

    Thanks for the code! 

    Now,  it perfectly works on the product page :-)

    However, on the shop page (that gathers the thumbails of all products), the price range has been removed. Would it be possible to restore it on that page? Thanks in advance for your answer. 


    ps: thanks for the tips, I removed a lot of plugin unused. 

  •  1,558
    Laborator replied

    Hi Céline,

    I logged into your site and changed that, it was hard to find the Custom CSS as I thought you are using our Custom CSS and not a 3rd party plugin that is not necessary.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group