October 5, 2016 at 6:50 am
Good Day
I want to know – my website – http://www.harvestbags.com.cn
I want to remove the price option – it a catalogue type of a thing.
As we a manufacturer – therefore – the price is based on quantity – and also shipping (FOB) – therefore price cannot be provided
I googled plenty – but i dont know how to add.
I have created a child theme – and inside the style.css I added:
.product_item .price {
display: none;
}
remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’ );
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_price’, 10 );
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30 );
remove_action( ‘woocommerce_after_shop_loop_item_title’, ‘woocommerce_template_loop_price’, 10 );
On the CART page – it still shows the price so on.
I want something like this – *Login to see link
But not to add to cart – but rather “get more information” “request a quote” or something?
Will i be able to disable the whole of woocommerce function – so use the theme and everything without the woocommerce function – so no price can be provided or so?