isotropic-2022
Share
Blog
Search
Menu

How To Remove Buttons From WooCommerce Subscription Subscriber View

By James LePage
 on May 4, 2021
Last modified on January 7th, 2022

How To Remove Buttons From WooCommerce Subscription Subscriber View

By James LePage
 on May 4, 2021
Last modified on January 7th, 2022

The WooCommerce Subscription plugin is a powerful tool for creating subscription-based products. It allows you to sell monthly, quarterly, or yearly subscriptions and offer your customers the option of changing their plan at any time. The only downside to this plugin is that it automatically includes all options (such as a cancel button) in the customer dashboard. In this post, we will show you how to remove buttons from WooCommerce Subscription subscriber view!

For us, the main use case here is to remove the cancel button, and only have a "suspend" button. This ensures that the subscription will only go on hold. If the customer changes their mind in the future, all they need to do is unsuspend. No need to talk with support.

Simply add this code to Advanced Scripts, Functions.php, or a custom plugin. Use the "Case" lines to remove buttons. Delete the ones that you don't need, un comment out the ones that you do need.

Subscribe & Share
If you liked this content, subscribe for our monthly roundup of WordPress news, website inspiration, exclusive deals and interesting articles.
Unsubscribe at any time. We do not spam and will never sell or share your email.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Article By
James LePage
Contributors/Editors
notloggedin
James LePage is the founder of Isotropic Design, a digital agency that builds WordPress websites. I read, write and design constantly!
We're looking for new authors. Explore Isotropic Jobs.
Close
🇺🇸 English
Save posts, access exclusive content, join members-only communities and more.
Dark Mode Toggle
Love web dev? Join the Isotropic weekly newsletter.
cross
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
0

Your Cart is Empty