Price - by azelbiz - on WordPress WooCommerce support

This topic has 12 replies, 2 voices, and was last updated 4 years, 11 months ago ago by Olga Barlow

  • Avatar: azelbiz
    azelbiz
    Participant
    January 27, 2020 at 09:50

    Good morning,

    I would to know if I can hide the price for each product ? Using WooCommerce

    Regards

    11 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 27, 2020 at 11:43

    Hello,

    You can do this by minor customization of CSS styles. Add the following code to child theme style.css or to Theme Options > Custom CSS

    .content-product .price, .product-content .price, .product_list_widget .small-coast .amount {
        display: none;
    }

    Regards

    Avatar: azelbiz
    azelbiz
    Participant
    January 27, 2020 at 11:47

    Thank you for your help

    Best Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 27, 2020 at 11:47

    You are welcome.

    Regards

    Avatar: azelbiz
    azelbiz
    Participant
    January 27, 2020 at 12:00

    It is possible to hide price in the card to ?

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 27, 2020 at 13:33

    Hello,

    Will there products be free products? Then just add 0 at the price field for the products.

    Regards

    Avatar: azelbiz
    azelbiz
    Participant
    January 27, 2020 at 14:21

    No some products are just activities that people can add to the card and send after a request of information

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 27, 2020 at 15:43

    Hello,

    So, should prices be hidden for al the products or only for some of them?

    Regards

    Avatar: azelbiz
    azelbiz
    Participant
    January 27, 2020 at 16:08

    All the products because on the site web, they can just buy package and the price of them is indicated in the description.

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 27, 2020 at 16:52

    Hello,

    Then replace previous code by the following one

    .content-product .price, .product-content .price, .product_list_widget .small-coast .amount, .total, .coast, .shopping-container .big-coast, .product-price, .product-subtotal, .cart-collaterals .cart-subtotal, .cart-collaterals .order-total, .product-total, .cart-subtotal, .order-total {
        display:none;
    }

    Regards

    Avatar: azelbiz
    azelbiz
    Participant
    January 27, 2020 at 16:57

    Thank you so much for you answer

    Best Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 27, 2020 at 17:53

    You are welcome.

    Regards

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