Tagged: enfold, woocommerce
Hi,
For a client site, we require a product catalog (without the ecommerce functionality). I’m aware of the Catalog Visibility Options plugin and also of how to remove “Add To Cart” buttons via custom CSS and modifying Functions.php.
What is the recommended approach for using Woocommerce with the Enfold theme but removing eCommerce functionality? Is there some way of replacing the “Add To Cart” button with an “Enquire Now” button like is suggested here?
Thank you very much.
Prembo
Hi prembo!
You can add following code to Functions.php file in Appearance > Editor to remove prices and add to cart
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 );
Regards,
Yigit
Thank you very much for your response Yigit.
Kind regards,
Prem.
Hi!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Regards,
Yigit