Skip to content

seb86/woocommerce-subscribe-to-all-the-things

 
 

Repository files navigation

#WooCommerce Subscribe All the Things

WooCommerce Subscribe All the Things is an experimental mini-extension for WooCommerce Subscriptions.

The goal of the extension is to provide subscription support for non-subscription product types, allowing you to offer any product in your store as a subscription product.

For example, using this extension, you can offer a subscription product for the built-in WooCommerce Simple product types. It has also been tested and can be used to create a subscription product for extensions like Composite Products, Product Bundles and Mix and Match Products.

Simple Product with Subscription Options

Example screenshot of a Simple Product with Subscription Options as displayed to the customer in a store.

##Subscribe to Cart

In addition to subscription schemes at the product level, you can also offer subscription options at the cart level. This feature allows your customers to subscribe to the entire contents of their cart in a single subscription.

Example Cart Subscription Options

Example screenshot of Subscription Options as displayed to the customer on the WooCommerce Cart page.

If you have a store with a large number of products, using Cart Subscription Schemes can make it easier to offer your customers subscription options because you will not need to add subscription schemes to all products.

#Guide

###Requirements

In order to use the extension, you will need:

  • WooCommerce Subscriptions v2.0 or newer
  • WooCommerce 2.3 or newer
  • A staging or test site, we do not recommend using this on live sites yet
  • A sense of adventure as the codebase is still pre-beta

###Installation

  1. Upload the plugin's files to the /wp-content/plugins/ directory of your WordPress site
  2. Activate the plugin through the Plugins menu in WordPress

##Usage: Product Subscription Schemes

To add subscription options to a non-subscription product:

  1. Go to the WooCommerce > Product > Add/Edit Product administration screen
  2. Enter the product details, including choosing a product type other than a subscription product type
  3. Click the Subscriptions tab in the Product Data meta box
  4. Add the subscription options for this product
  5. Optional: Choose whether the product should default to a one-time or recurring purchase
  6. Optional: Enter custom prompt, this is the text displayed above the subscription options to the customer on the product page

Example Subscription Options on Simple Product

Discounted Prices

You can optionally offer discounted prices for each subscription option. This is a great way to provide an incentive for the customer to subscribe to the product.

To offer customers discounted prices:

  1. Go to the WooCommerce > Product > Add/Edit Product administration screen
  2. Click the Subscriptions tab in the Product Data meta box
  3. Click Subscription Price select
  4. Choose whether to have subscription prices Inherit from the product or Override the product
  5. If you choose Inherit from the product, enter a discounted amount as a percentage (without the % symbol), for example, to offer a price discounted by 10%, enter 10
  6. If you choose Override the product, enter a new price and optional sale price for this subscription scheme

Example Custom Prices for Subscription Options on a Simple Product

##Usage: Subscribe to Cart

To offer customers cart subscription options:

  1. Go to the WooCommerce > Settings administration screen
  2. Click the Subscriptions tab to open the subscription settings page
  3. Scroll down to the Subscribe to Cart section
  4. Add the subscription options you want to offer customers

Administration Screen for Subscribe to Cart Settings

Note: if you do not wish to offer cart level subscription options, leave this section empty.

Further Reading

Want to learn more? Check out the excellent post about Subscribe All the Things on SellWithWP.com.

License

This plugin is released under GNU General Public License v3.0.

Credits

This extension is developed and maintained as a collaboration between the teams at Prospress and SomewhereWarm.


About

Experimental extension for linking WooCommerce Subscriptions with product types created by other extensions, like Composites and Bundles. Beta status - use at your own risk!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 82.6%
  • JavaScript 15.1%
  • CSS 2.3%