I am working on a site which uses WooCommerce Subscriptions and WooCommerce Memberships. It sells subscriptions which renew annually. The only payment gateway being used is Cheque (renamed to Pay via Invoice), so all renewals are manual renewals. An invoice is sent to the customer (outside of WooCommerce) and the store owners mark the order as Completed in admin when
Tag: woocommerce-subscriptions
Display subscription renewal count on WooCommerce “My account” page
We use WooCommerce subscription and I created that snippet below to display the renewal count on MyAccount page. This is working. But, I found out, that the initial parent order also count as a “paid”. So actually I only want to count the renewals from a subscription means exclude the initial order from that count. I guess when I always
How to get Order Details from a WC_Subscription instance Object
This one for completed initial subscription payments and subscription renewals. And this one for when a status is changed, so I can handle manual and system changes either manual overrides or failed/pending/active/whatever status based of payments or switches. Answer To get the Order details from the WC_Subscription Object, you will need first to get the parent ID (which is the
Remove action buttons from WooCommerce Subscriptions dashboard for a specific user role
I’m looking to bring on a virtual assistant to help manage support tickets. This virtual assistant will need to have reading access to limited areas of WooCommerce (Subscriptions). I’m using ‘user …
Conditionally add a subscription when product added to cart in WooCommerce 3
Hi Im looking for a code that adds my subscription ID (2282) to cart if there is added a normal product but NOT if the user is already subscriber. Feel free to ask questions. I’m in the GMT+1 time zone Wordpress – 4.8.1 WooCommerce – 3.1.1 WooCommerce Subscriptions – 2.2.11 WooCommerce Memberships – 1.8.8 Theme – Shopkeeper – 2.2.3 i’ve