How to remove WooCommerce Plugin some specific features

Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress.

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 question

I 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 question

I 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
Add a comment  | 

1 Answer 1

Reset to default 1

Disable 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'.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745478253a4629445.html

相关推荐

  • How to remove WooCommerce Plugin some specific features

    Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress.

    2小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信