Questions tagged [woocommerce-subscriptions]

To be used for WooCommerce Subscriptions plugin related questions only

Third party official WooCommerce Subscriptions plugin.

This powerful extension allows you to create and manage products with recurring payments — payments that will give you residual revenue you can track and count on.

WooCommerce Subscriptions allows you to introduce a variety of subscriptions for physical or virtual products and services. Create product of the month clubs, weekly service subscriptions or even yearly software billing packages. Add sign-up fees, offer free trials or set expiration periods.

392 questions
2
votes
1 answer

WooCommerce Subscriptions - Check if a product is a subscription product

I'd like to know how to determine if a given WC_Product object $product is a subscription product or not.
DaveFX
  • 407
  • 1
  • 8
  • 16
1
vote
2 answers

Add BCC recipient to Completed Renewal Order notification in WooCommerce Subscriptions

I am trying to add a BCC recipient to a specific type of mail sent by WooCommerce. This concerns the customers that receive a renewal mail. The type of the mail is 'Completed Renewal Order'. I am aware of this post: How to add BCC recipient to all…
1
vote
1 answer

How to save payment through cards on PayPal? PayPal Subscription is not working because payment card is not saving in vault

It's enabled here but subscription renewal is not working and when user pay it's set to manual renewal instead automatic https://i.stack.imgur.com/hq4yA.png
1
vote
1 answer

WooCommerce Subscription add order note when end date is changed

I try to add an order note on a subscription when the end date is changed. This is my current snippet. It does not add an order note. I have the info for the values etc. from the official WooCommerce Subscription page:…
1
vote
0 answers

How to hide certain menu like PAYMENT SETTINGS based on product ID?

How to hide certain menu like PAYMENT SETTINGS based on product ID that subscriber pay for? I know how to hide button based on the product ID, but I don't know how to hide certain menu based on product ID. Please help because I'm stuck. function…
1
vote
1 answer

Replace slash with text in WooCommerce subscription

how to replace the slash in WooCommerce subscription product price string with text? Currently, the subscription displays the following price string: "€60.00 / month for 6 months" I want to change it to: ""€60.00 per month for 6 months"
1
vote
0 answers

How to use subscription products in WooCommerce Subscriptions REST-API?

We have a product configured as simple subscription product. If you buy that product on the shop site directly, it will automatically create a subscription for this order after purchase. We want to achieve the same behaviour with a REST-API call. We…
Spa
  • 473
  • 4
  • 10
1
vote
2 answers

How do you change subscription's text in WooCommerce my account?

I created a subscription product pay $1 today and $99 after a month of trial but since there was no such option I used the "every 6 years" option. Now when people go to subscriptions to cancel the 99 charge they see "$99.00 every 6 years". Both in…
1
vote
0 answers

WooCommerce Subscription count active subscriptions with enddate not before next sync date

We are using WooCommerce Subscriptions. I've try to create a code to count and list the result from all all active subscription where end date is not before next sync date of next month. We use the Sync Subscription option always at the 1st of the…
Nik7
  • 346
  • 2
  • 16
1
vote
1 answer

How do I show custom WooCommerce Subscriptions data on the frontend for customers subscription details?

I am using the WooCommerce Subscriptions plugin to manage recurring orders. But I want my customers to see custom data, that I add to all new subscriptions, on their subscriptions details page. I add a variable for the customers baby name, which I…
1
vote
2 answers

How do I add a custom field for subscriptions in the WooCommerce Subscriptions plugin without touching the core files?

I am using WooCommerce Subscriptions to manage recurring payments on my WordPress site, which sells baby diapers. I want to add additional detail to my subscriptions, so that my customers can differentiate between their subscriptions in other ways…
1
vote
1 answer

Changing the monthly subscription fee based on products in the cart

I have a client who needs a complicated pricing structure for a Woocommerce subscription. I need to calculate the number of products in the cart (besides the subscription product). For each of those additional products, I need to add $50 to the…
1
vote
0 answers

One Product in cart at a time with multiple addons woocommerce wordpress

I am creating a subscription type of website in which user will buy one plan suitable according to his needs and add one or two add-on product ( optional addons on checkout page or on pricing page) User can only buy one plan at a time if he/she…
1
vote
1 answer

How to send customer renewal order to secondary email in Woocommerce subscription

I want to send the renewal order email to a secondary user email(which i have added in user-edit page using ACF). I have tried many methods,woocommerce_subscription_payment_complete is also not working for me. The following code i have tried: …
Pranavmtn
  • 39
  • 6
1
vote
1 answer

I'm trying to have a popup appear when a customer suspends their account (WooCommerce subscriptions)

The the only action I got to somewhat work was this one, but this shows the popup when the "suspend/hold" button is on the page, not when it's pressed. I want the popup to appear when it's pressed, I've tried the ones mentioned in the documentation,…