Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1268672
    huylam1
    Participant

    Hi,

    I have uploaded an xml file from a previous store, but would like to hide the prices. There are over 400 items so it is too time consuming to go into each and delete each price. I guess I would have to if it’s a last resort, but I really hope there is another way. Is there a css code or something I can add to the functions.php to hide the prices in both the store page and the individual page? My URL is http://naokokamura.ca/illusion/shop/. Thank you.

    #1268697
    Joao
    Moderator

    Hi There,

    Yes there is, But I can´t see any prices here.

    Can you provide a few specific URL´s where you see the prices and you would like them to be removed.

    1 Page of each type would be fine.

    Thanks

    Joao

    #1269109
    huylam1
    Participant

    Sorry, I already started to delete the prices on the first couple of pages before I gave up. I think from page 4 or t onward, the prices are listed. Here is a better URL:
    http://naokokamura.ca/illusion/shop/page/5/

    Thank you.

    #1269111
    Paul R
    Moderator

    Hi,

    You can add this under Custom > Edit Global CSS in the Customizer.

    
    .woocommerce li.product .entry-header .price>.amount, .woocommerce li.product .entry-header .price>ins>.amount {
        display: none;
    }
    

    Hope that helps.

    #1269141
    huylam1
    Participant

    Hi there,

    Thank you for that. That code helped hide the prices on the store page, however, the prices still show on the individual product pages. Please advise on how to hide the prices on the individual product pages as well.

    Thank you.

    #1269145
    Friech
    Moderator

    Hi There,

    Please update the given code above to this:

    .woocommerce li.product .entry-header .price>.amount,
    .woocommerce li.product .entry-header .price>ins>.amount,
    .woocommerce-Price-amount.amount {
        display: none;
    }

    Hope it helps, Cheers!

  • <script> jQuery(function($){ $("#no-reply-1268672 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>