How to switch subscription from one product to another product
I’m using WooCommerce Subscriptions. I have two products:
Hide Cancel WooCommerce Subscription button on user dashboard
I am working on a project that uses WooCommerce and the All Products for WooCommerce Subscription plugin allowing our users to sign up for a subscription and get a discount. We would like to set up a minimum time period that the customers will have to sign up for a subscription. I did some research on doing this and it looks like the official WooCommerce plugin simply hides the “cancel” button on the user’s subscription dashboard until they’ve reached the designated time limit. Of course they charge you for this functionality and it seems like it should be very simple to just hide the cancel button until their subscription has been active for a specified amount of time but I can’t find a list of the hooks having to do with WooCommerce Subscriptions. How would I check the subscription’s original activation date and then hide the cancel button based on this.
Woocommerce subscriptions apply discount to actual price instead of signup fee
Since Woocommerce Subscriptions does not offer a paid trial I’m charging a 1$ signup fee to my subscription in order to create a 1$ 7 day trial.