Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [subscription]

The tag has no usage guidance.

0
votes
0answers
16 views

How to prevent post update using transition_post_status

I am building an application using WP REST API. Ideally, users are able to post only if they have a subscription. Here is how I plan to make things work: Set expire_by user meta when they sign up. ...
0
votes
1answer
16 views

How to apply a custom coupon to a WooCommerce Subscription recurring amount?

I ned to create a custom coupon for use with WooCommerce Subscriptions because for some reason you can either have one on the sign up fee OR you have one on the recurring amount, but I need a coupon ...
0
votes
0answers
10 views

Updating WooCommerce Subscription Gateway

We had a developer build a plugin for a new payment gateway, but he did not build in the functionality to import the old data. I wrote a script to update the payment tokens through SQL to add the new ...
0
votes
1answer
16 views

How to change a WooCommerce Subscription Deposit and Monthly Payment?

A customer wants some specific/bespoke discounts to the subscription service they sell. I cannot find a plugin to do what they want, so thought I would code it myself. But I cannot find how to edit ...
0
votes
0answers
9 views

WooCommerce Subscriptions: Show monthly Price for annual Product

Using WooCommerce Subscriptions, is there a way to show a monthly price as well as a "total duration" price? On my site I have subscriptions for a month and others for a year. Those for a year look ...
-1
votes
1answer
32 views

How to disable the “Upgrade or Downgrade” button in “My account” of WooCommerce Subscriptions

I have a Wordpress/WooCommerce webshop and I use WooCommerce Subscriptions. I want to disable the "Upgrade or Downgrade" button in My account > My Subsccriptions for users which have a specific user ...
0
votes
0answers
26 views

woocommerce_order_status_completed hook does not run

I need to add a new role to my recently registered user (upon buying any of my four specific subscriptions products). Until now, every recently registered user (those who buy a subscription product) ...
0
votes
1answer
25 views

How to differentiate between email subscription list and blog subscription list?

I would like to segregate the emails I collect on my wordpress site, is it possible? I’d like to separate the emails such that the main subscription emails go to my newsletter list. And visitors have ...
-1
votes
1answer
18 views

Jetpack 'Blog Subscription' widget doesn't add emails to

I'm trying to use the jetpack 'Blog Subscriptions' widget, but any emails submitted with this widget aren't being added to the followers list. Verification emails aren't being sent to the subscribers ...
0
votes
0answers
11 views

WordPress Magazine Subscription

A client of mine has created a magazine and want to sell subscriptions to both paper and numeric format (downloading the PDF file, that is, not putting articles online) and allow readers to buy an ...
0
votes
0answers
31 views

Newsletter subscription discount for woocommerce - Campaign Monitor

We are using Newsletter Subscription for woocommerce and we are using campaign monitor. We want to set up the discount for next purchase for the subscription. Looked for the plugin that can do this ...
0
votes
0answers
20 views

tag based subscription

I have different tags based on products, I want that when new post published then only attached tag's subscribed people will get mail. If this is possible with category then I am fine with changed my ...
0
votes
0answers
29 views

WC_Subscription add coupon before tax

I'm trying to programmatically add a coupon to an existing WC_Subscription using this code: $subscription = new WC_Subscription(7171); $coupon_id = 'file_dollars_off_recurring'; $theCoupon = ...
0
votes
0answers
18 views

Return all published WooCommerce products, that are not in user's Cart (or Subscription)

Using WooCommerce/WP, suppose one has a list of products in the current user's Cart, or in their current Subscription — call that $current_products. Of course, there's also a list of all published ...
0
votes
0answers
49 views

woocommerce subscription update_dates error

I'm creating subscription programmatically, everything is working except when I want to use update_dates on the created subscription, this error happens : in_array() expects parameter 2 to be array, ...
0
votes
0answers
26 views

Woocommerce Subscriptions - One product in one subscription

I'm using Woocommerce Subscriptions plugin. I know that in the default logic, Woocommerce will group all subscription cart item which have the same due date (payment date/end date) and create a new ...
1
vote
0answers
24 views

Use an activation code to change a role [closed]

Wonder if you can help me. I'm making a website based on accounts and a subscription for content control. At the minute, the way activation of a paid account works, is the user buys a subscription via ...
0
votes
0answers
29 views

Woocommerce Subscription - charge multiple missed renewal

Site: Wordpress Plugins : Woocommerce & Subscription Everything is up-to-date. Example: A client have a subscription started on 01/01/2018 (d/m/Y), 20$ every month, which give goodies after ...
0
votes
0answers
15 views

Woocommerce Subscription Products Plan

So I'm building a website with vegan cookies and we have three diffrent levels of packages with cookies: Entry, Medium, Family. And we sell them only as a packages. Anyway our focus is to make ...
1
vote
1answer
182 views

Correct function to get the user's latest Woocommerce Subscription?

I've a members' only subscription site, where the member can only have one active subscription, and I need to be able to get the status of the subscription. I've been through all the documentation ...
0
votes
0answers
115 views

Custom order status for Free Trial in WooCommerce Subscriptions

I am using this snippet to control order statuses on my subscriptions. // auto renew subscriptions that are paid via cc paypal add_action( 'woocommerce_subscription_renewal_payment_complete', '...
2
votes
0answers
2k views

Display WooCommerce subscriptions for user [closed]

I'm trying to display a user's Subscriptions within their WooCommerce dashboard. I am able to do this, but I also want to add some additional fields related to the Subscription (title, next renewal ...
2
votes
1answer
1k views

How do I add a “Cancel” button on the subscriptions listing page [closed]

I have managed to find the action where I can add the code for the button, but the problem is that I can't find how to create a cancel link anywhere. Does anyone know how to do it? So here is the ...
0
votes
2answers
2k views

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 they are using woocommerce subscriptions (https://woocommerce.com/products/woocommerce-subscriptions). Now ...
0
votes
1answer
277 views

Update Post Status On Woocommerce Payment Complete

I have the following piece of code which publishes a user's post as long as they have purchased a subscription package and it changes the status of the post to draft as soon as their package has ...
-4
votes
1answer
466 views

Running a php code after User clicks a button? [closed]

Objective: User clicks a button to subscribe to a Tag on the Tag Archive page. I am using the current code: <?php $tag_id = get_query_var('tag_id'); $...
1
vote
0answers
61 views

Product queue for my subscription box

I'm in the process of developing my subscription box and was struggling a bit with the available solutions on the backend of my site. I only send one item (as a start) in my box every month and I ...
4
votes
0answers
475 views

Attach a Custom Post Type to a Woocommerc product as a variation or add-on [closed]

I am building a website where the users will post their events. In order to highlight the event or promote it on the homepage they will need to buy a subscription and attach it to the event they've ...
2
votes
0answers
15 views

Subscribe from another website to the same list [closed]

I am using Email Subscribers and newsletters 1.0 plugin in wordpress 4.7.2 I created a daughter website and wanted to subscribe to the same subscribe list. How will this be done? I could not find ...
1
vote
2answers
33 views

Wordpress plugin subscribe2 not looking the same as before migration

I migrated my wordpress, and the subscribe2 plugin https://wordpress.org/plugins/subscribe2/installation/ looks different now. Before it has a text box with a placeholder, and then two buttons under ...
-2
votes
1answer
190 views

How to add/manage Followers (email subscribers) via API?

I have a Wordpress blog and a Magento store. Both sites are using some kind of Newsletter plugin but I only do want to manage subscriptions via Wordpress. The Wordpress blog is hosted on Wordpress....
0
votes
1answer
141 views

How Do I Access Parameters Emitted by an Action?

I am creating a function that will be hooked into the woocommerce_subscription_payment_complete action. That action emits 1 parameter ($subscription) which is an object representing the subscription ...
1
vote
2answers
45 views

Is it possible to install two mail plugins together in a single Wordpress site? How to do it? [closed]

I am working for a site currently having MailPoet to send all the newsletters. We have around 800 subscribers and everything is configured properly and working fine. Now, we got around 5000 emails ...
0
votes
1answer
458 views

Synchronise Renewals on existing subscriptions [closed]

I have a site that uses woocommerce together with subscriptions plugin. And I have recently turned on "Synchronise Renewals", I see that it works great for new people signing up for a subscription. ...
1
vote
2answers
4k views

How to get subscription key or id using Woocommerce Subscriptions [closed]

I need to get the subscription key of a particular subscription to pass into a custom function. I have referenced the documentation where it shows how to get the key, but I have failed to integrate ...
0
votes
1answer
66 views

Woocommerce comments subscription [closed]

I want to ask you that I translated all my site's texts but I can not translate comments subscription option on product page. from which php file I can translate texts? Thank you in advance :) Here ...
0
votes
1answer
185 views

Allow a user to 'subscribe' to different post categories?

Is there a way for me to have a tickbox on a category archive page that when ticked shows that category's posts on a separate page? I'm working on a system for my work where each user will be able to ...
2
votes
1answer
2k views

What are all these spam subscribers doing here?

We look after a bunch of WordPress sites none of which run themes which involve public participation. So basically the setting Membership - anyone can register is always turned off. I have just taken ...
2
votes
1answer
377 views

How to alert users when new posts appear under search query?

I have been hunting the web for days for this feature, and I am kind of surprised it's so hard to find / nobody really talks about it! I have a Wordpress site with a custom post type that can be ...
0
votes
1answer
31 views

How do I replace the e-mail form to functional e-mail subscription? [closed]

In front-page.php I have an e-mail form prototype in HTML: <input type="email" class="form-control" id="email" placeholder="Enter your e-mail address"> <button type="submit" class="btn btn-...
1
vote
0answers
330 views

How can I replace Email addresses with BitMessage Addresses througout wordpress?

BitMessage (bitmessage.org) is a peer-to-peer email system kind of based on BitTorrent. By itself, this software and its' messages are not compatible with email, so in order to send an email to a ...
0
votes
2answers
206 views

How to display Feedburner subscription count as plain text via a shortcode in post/page editor of my Wordpress blog?

I would like to create a shortcode like [feedcount] in my wordpress blog to display Feedburner subscription count as plain text on some of my posts/pages. Moreover, I'd prefer in the case that the ...
0
votes
1answer
46 views

Email notification of new post includes code

One of my subscribers gets the following words at the beginning of the email of my latest post. Then part way through the post there is another string of code and further along there is another string ...
0
votes
0answers
26 views

site admin for subscribers

I want a very basic page for my subscribers to change their passwords and profile. No Wordpress news etc. Is is possible to strip the admin section of subscribers and leave the absolutely bare ...
1
vote
1answer
295 views

Email all subscribers when i do an action

I've created this function: function email_subscribed_users($event) { $users = get_users('role=subscriber'); foreach ($users as $user) { $accepted = get_user_meta($user->ID, '...
0
votes
1answer
1k views

How to set different users for different pages?

I am designing a site in which I wish to have different users (logged in) for different pages. Illustration: Suppose I have subscribers A,B,C,D,E,F and pages 1,2 and 3. I wish to have the follwing ...
1
vote
1answer
336 views

Change post status based on user role

I have a site I'm working on where users pay a monthly fee to be able to add content to the site and they are assigned a custom user role when registered. When their subscription is up their user role ...
1
vote
1answer
1k views

Membership subscription, change user role when subscription runs out

There are heaps and heaps of membership plugins out there, all of them focusing on restricting site content based on the users chosen subscription. I would however only want the user role to change ...
0
votes
1answer
2k views

Woocommerce Subscriptions - Customer change subscribed product after placed

Im using Woocommerce, and the Woo Commerce Subscriptions plugin, along with a bunch of others - creating a members only / subscription based ecommerce site. The best way to highlight what I'm trying ...
2
votes
1answer
13k views

How to auto send email when publishing a custom post type?

I'd like to have an email automatically sent out to my website's subscribers when I publish a post for a specific custom post type. I've found a few plugins that will do this but only for regular ...