Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1429480
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionI need to know how I can remove some features in WooCommerce Plugin, I mean Add to Cart Button, My Account page, Cart page, Checkout Options, etc?
I only need to show the Shop page in my project and all other stuff needs to be hidden in the theme.
How I can archive this?
Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionI need to know how I can remove some features in WooCommerce Plugin, I mean Add to Cart Button, My Account page, Cart page, Checkout Options, etc?
I only need to show the Shop page in my project and all other stuff needs to be hidden in the theme.
How I can archive this?
Share Improve this question asked May 21, 2019 at 7:59 Sahan Pasindu NirmalSahan Pasindu Nirmal 1031 silver badge8 bronze badges 3- 1 If you just wants a product list, you can achieve that in few different ways, without even using woocommerce – Vishwa Commented May 21, 2019 at 9:37
- product catalog plugins will work with premium themes? will give me good design? that is my problem – Sahan Pasindu Nirmal Commented May 21, 2019 at 9:42
- wasn't talking about using a catalog plugin. use page template and if you have a visual builder, you can use it to make a grid, if not you can use custom fields and use your own styling in both – Vishwa Commented May 21, 2019 at 11:01
1 Answer
Reset to default 1Disable Membership:
Uncheck box under 'Wordpress - Settings - General ~ Membership'.
Uncheck boxes under 'WooCommerce - Settings - Accounts & Privacy'.
Add the following code to your functions.php
file to remove the 'Add to Cart' button:
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
To redirect away from the cart or checkout page:
Select a page for the Cart and Checkout pages under 'WooCommerce - Settings - Advanced ~ Page Setup'.
本文标签: How to remove WooCommerce Plugin some specific features
版权声明:本文标题:How to remove WooCommerce Plugin some specific features 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745478252a2660061.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论