Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Removal of Price

Home / Forums / Virtue Theme / Removal of Price

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
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 –

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?

  • The forum ‘Virtue Theme’ is closed to new topics and replies.