Remove price range on product page - by aatlamaz

This topic has 6 replies, 2 voices, and was last updated 11 years ago ago by Robert Hall

  • Avatar: aatlamaz
    aatlamaz
    Participant
    December 1, 2014 at 21:09

    I wanted to remove price range on product page and used following code and update css
    .single-product-page .product-info .price {
    display: none;
    }

    but it didnt work, could you please help me what is wrong with css?

    Thanks
    AA

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Robert Hall
    Robert Hall
    Participant
    December 1, 2014 at 21:13

    Hello,

    Do you added this code into custom.css file? Also you need to enable this file in Theme Options -> Custom CSS.
    Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.

    Regards,
    Robert Hall.

    Avatar: aatlamaz
    aatlamaz
    Participant
    December 2, 2014 at 11:43

    Thanks Robert,

    I had enabled custom option, but that css code still is not working.
    all prices displayed on product page. btw, i have set the prices for variable products since I have 3 attribute like 200/500/1000 gr, which has 3 different price.
    Thanks –
    note: you may find my credentials on private section

    Avatar: Robert Hall
    Robert Hall
    Participant
    December 2, 2014 at 12:51

    Try this. Navigate to Theme Options->Product Page Layout->Show Price-> selecf Off.

    Regards,
    Robert Hall.

    Avatar: aatlamaz
    aatlamaz
    Participant
    December 2, 2014 at 13:21

    Thanks,

    Sorry about the way I am asking the wrong question. Let me make it clear now.
    Ok by setting off the price from theme options that works. But since I use variable products and some of my products has price range and looks like $30 – $60 . which I really dont want to display the range.(no like #30-$60) I only want to show the lowest price in range which is $30 in this case.
    I think it is clear now what I really need to do.

    Thanks Robert
    AA

    Avatar: Robert Hall
    Robert Hall
    Participant
    December 2, 2014 at 14:22

    Read about this issue here:
    http://campbloomer.com/disable-variable-product-price-range-woocommerce/
    Also don’t forger to make all changes in Child Theme.
    How to create Child Theme you can read in our documentation:
    https://www.8theme.com/demo/docs/legenda/index.html#!/child_theme
    Regards,
    Robert Hall.

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

The issue related to '‘remove price range on product page’' has been successfully resolved, and the topic is now closed for further responses

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