How to apply a coupon to an existing woocommerce subscription - woocommerce
I'm looking for a way to apply coupons to existing woocommerce subscriptions. I create coupons and then under usage restrictions I set the allowed emails to the be the email of a certain user/subscriber.
I would like these coupons to be automatically applied to the users subscription. I want the discount to be visible on the users subscription page. That way it's clear for the user how much the subscription will be discounted on the next renewal.
Is there an easy way to achieve this?
I was hoping I could something with the wcs_get_users_subscriptions filter and then add a function which applies coupons to existing coupons from there?
Related
WooCommerce - A way of clearing the applied coupons from the current session
When a customer completes an order, I need a way of removing the applied coupons so that when they checkout again, the same coupons aren't applied. I can't set the coupon to be one use only so I need a method to remove the applied coupons programatically.
Can I extract out all the coupons from a WooCommerce store which does not belong to me?
I want to get all coupons that can be applied during Checkout in a website, just for educational purpose.
How to let an influencer see their own WooCommerce coupon stats?
I have a client that uses WooCommerce and makes coupon codes for influencers to share. Now he wants to give the influencers a login that only shows the stat for their particular coupon code within the Marketing tab. I know how to make a custom user role, and how to limit their access to only the Marketing > Coupons screen. But how do I set a filter on what coupons to show per user?
WooCommerce - Apply coupon of discounts of a given payment method
I'm integrating a solution with WooCommerce where a coupon of discount is given depending on the payment method that customer chooses. So, to do it, the coupon needs to be created/applyed in checkout page, when customer is selecting the payment method he wants. Is it possible? How should I do this?
There are 2 free plugins that allow you to set discount codes based on payment methods: https://wordpress.org/plugins/woocommerce-auto-added-coupons/ - With over 5K+ active installs, this one seems to be the right choice. https://wordpress.org/plugins/woocommerce-payment-discounts/ - Although this one has 3K+ active installs, it is specifically meant to give discounts based on payment methods. So this does exactly what you are looking for. Try out both plugins, preferrably 2nd one first.
Payment specific coupon code for woocommerce (wordpress)
In woocommerce (for wordpress) I would like to restrict coupon usage to one payment option. What is the best way to go around it?