Adding member-only pricing with the Dynamic Pricing plugin

It's nice to give your regular customers a loyalty program that keeps them coming back and gives them some amount of brand loyalty. One of the ways of doing this with WooCommerce is to let customers buy a premium membership that gives them a percentage reduction on all sales. This can be achieved by combining the WooCommerce Subscriptions and Dynamic Pricing (http://www.woothemes.com/products/dynamic-pricing/) plugins. Of course, both are available at WooThemes.com.

Getting ready

You must have the WooCommerce Subscriptions plugin as well as the Dynamic Pricing plugin installed and activated on your site.

How to do it…

We'll be going into the Dynamic Pricing settings and configuring some price discounts for any user that is currently subscribed to a subscription.

  1. In the WordPress admin, click on WooCommerce and then on Dynamic Pricing.
  2. Click on Roles.
    How to do it…
  3. On the Role Pricing page, you can now set up special pricing rules for specific roles. The role we want to target is the Subscriber role. Enable special pricing for Subscriber and enter the type of discount and the amount.
    How to do it…

A subscriber will see a discount on the frontend.

How to do it…

Note

If you want to test whether the price discounts are working properly, it can be very helpful to add the pricing discount to the Administrator role. That way, you can see the price discount without having to buy your own subscription.

How it works…

WordPress already has the role functionality built into it, and the two plugins—WooCommerce Subscriptions and WooCommerce Dynamic Pricing—work together beautifully to take advantage of those roles. Subscriptions will automatically change a customer's role from Customer to Subscriber while their subscription is active and then change them back to a Customer after the subscription has expired or been cancelled. When a user is logged in, the Dynamic Pricing plugin will automatically calculate, and provide the user with, the correct price for their role.

There's more...

If you want to take this to the next level, Dynamic Pricing also integrates with the Groups plugin. You could look into using the free-of-charge Groups plugin (https://wordpress.org/plugins/groups/) with the premium Groups for WooCommerce plugin (http://www.woothemes.com/products/groups-woocommerce/) to create many different types of membership levels and discounts.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset