How to Hide Product Price WooCommerce

There is some method to hide product price in woocommerce, with filters, css or plugin.

This is how to hide product price with CSS.

Cart

#cart > a > span.amount {
    display: none;
}

Sidebar

div.deals-information > div.price{
    display: none;
}

Individual Product

div.widget.widget-products.products > div > div > div:nth-child(2) > div.col-md-4.col-sm-12.shopcol.last.wow.fadeInUp.product-wrapper > div > div > div > div.price{
    display: none;
}

 

This is how to hide product price woocommerce with filters


add_filter( 'woocommerce_get_price_html', 'wso_hide_prices', 10, 2 );
function wso_hide_prices( $price ) {
global $product;
if(is_product()){
if(get_post_meta( $product->id, 'wso_hide_price', true ) == 'yes'){
$price = '';
}else{
$currency = get_woocommerce_currency_symbol();
$price = $currency.$product->price;
}
}
return $price;
}

How to hide product price woocommerce with plugin

Or simply using plugin called WooCommerce Secret Options, with this plugin, you can easily hide price with one click.

Related Posts

Finding a DropShipping Wholesaler

June 5, 2016

Tutorial

So now you are probably wondering how you can find and qualify a genuine wholesale drop shipper. You will need some patience and time to search through a drop shipper directory in order to find the best drop shipping companies for your particular product niche. There are many drop shipper directories available on the Internet, […]

Read More

AliExpress Dropshipping Plugin WordPress

Dropshipping is an good way to start an ecommerce business without needing to worry about inventory or shipping. It’s as simple as listing a product for sale on your website, and sending an email to your supplier to ship the item on your behalf whenever you get an order. While starting a dropshipping business is […]

Read More