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
2 answers

Hide “free trial” text from Woocommerce Subscriptions price but keep the Sign-Up Fee

The first part of the question (Hide the “free trial” text from Woocommerce Subscriptions price) was answered in this awesome post: Hide the "free trial" text from Woocommerce Subscriptions price However, it removed the "and a xx sign-up fee". Is…
2
votes
1 answer

Wordpress DB Getting locked Frequently

Wordpress Getting Locked Due to the below Query which was automatically Triggered by woocommerce Subscription | Query | 630 | Creating sort index | SELECT searchdate.Date as date, COUNT( DISTINCT wcsubs.ID) as count …
vivek raj
  • 229
  • 1
  • 3
  • 8
2
votes
1 answer

Woocommerce Subscriptions changing to "on hold" instead of renewing

Having a problem with my subscriptions being placed on hold each month instead of renewing automatically. Has anybody had this problem or have a solution?
2
votes
1 answer

Add custom fee to recurring total WooCommerce subscription

function add_woocommerce_stripe_fee() { if ( ( is_admin() && ! defined( 'DOING_AJAX' ) ) || ! is_checkout() ) return; $chosen_gateway = WC()->session->chosen_payment_method; if ( 'stripe' == $chosen_gateway ) { …
2
votes
1 answer

Change Price String Order - WooCommerce Subscriptions

I am using WooCommerce Subscriptions and I found out how to change the text in the price string using my functions.php Code: // WC Subscriptions - Custom Price String function wc_subscriptions_custom_price_string( $pricestring ) { $pricestring =…
MattM
  • 3,089
  • 7
  • 40
  • 62
2
votes
2 answers

WooCommerce Subscriptions - Only Allow user one active subscription

I am in the process of building a membership / subscription based site for a client of mine and we are using Woocommerce Subscriptions and Woocommerce Memberships plugin. Now the problem is the my client is building a few promo pages which…
2
votes
1 answer

Change woocommerce subscription "shop" link inside my account page

I'm a newbie in coding and currently using woocommerce subscription plugin and wanted to change the default "shop" if I don't have any subscription. I want it to link to a specific product instead of the shop. I want to change the red part: Below…
2
votes
1 answer

Woocommerce subscription hooks case

I am working on a 'Sponsor An Orphan' project using the Woocommerce Subscriptions plugin. Monthly or yearly subscriptions are available. When a new subscription is created, I am allocating an orphan to the subscription when payment completes like…
Ali
  • 315
  • 1
  • 3
  • 13
2
votes
1 answer

WooCommerce with BlueSnap plugin - What to configure to sell subscriptions?

I have a store in WooCommerce that works with BlueSnap as a payment gateway. I sell regular one-time charge products, and I'm considering adding a subscription. I was told by BlueSnap that they support payment for subscriptions in WooCommerce - but…
2
votes
1 answer

WooCommerce Subscriptions - Get active subscriber info to display in a table

I am using Woocommerce Subscriptions and I want to generate a table that shows all active subscribers with their correlated user information. The following code is just pulling up all users... Any ideas on how to do this correctly? Thanks! :)
2
votes
2 answers

Get all WooCommerce subscriptions

I a need to create a wordpress template to collect all Woocommerce subscriptions, but I'm having trouble with the documentation. I need to know which files to import and which function to call. Thank you in advice.
2
votes
1 answer

Woocommerce Subscriptions - Get Start date

I'm trying to create a function that returns the start date of a users subscription. I'm using woocommerce and the subscriptions plugin. I had this code working, however, it returned a "depreciated" error in my debug.log - and was also VERY slow…
Sam Skirrow
  • 3,647
  • 15
  • 54
  • 101
2
votes
1 answer

Removing an hyperlink from a woocommerce subscriptions email notification

In my WooCommerce web shop, I am using WooCommerce Subscriptions plugin. I am trying to remove the hyperlink from a woocommerce email template: I don't see how I can do this from the template below:
2
votes
3 answers

Woocommerce Subscription change expiration date

I try to create a subscription with a specific expiration date. In the function below, $product_args is an array with details about the product. This array contain product_id, regular_price, etc. The product_id refers to a subscription variable…
Sebastien
  • 240
  • 2
  • 7
  • 16
2
votes
2 answers

Add Custom checkout field to Order in WooCommerce

The WooCommerce 3.0 update has not been kind to me. I have added a custom required field to checkout for a domain name, and am having trouble figuring out how to get it to save now. This code adds the field properly still: add_action(…
thatryan
  • 1,551
  • 6
  • 21
  • 39