Creating complex order builders in WooCommerce

In a specific situation I came across, a store wanted to allow people to customize envelopes for printing with a powerful order builder.  There were many options available to the consumer, as seen below:

Order Options

Paper Size    
	* 24 White Wove
		* 6" x 9"
		* 6" x 9-1/2"
		* 6-1/2" x 9-1/2"
	* 28 White Wove
		* 9" x 12"
		* 9-1/2" x 12-5/8"
		* 10" x 13"
	* 24 Brown Craft
		* 6" x 9"
	* 28 Brown Craft
		* 9" x 12"
		* 9-1/2" x 12-5/8"
		* 10" x 13"

Quantity
		* 1000
		* 2500
		* 5000
		* 7500
		* 10000
		* 20000
		* 25000

Color
		* Black, 1 side
		* Black and 1 PMS, 1 side
		* 4 colors CMYK, 1 side
		* 1 PMS color, 1 side
		* 2 PMS colors, 1 side

 

Since it’s a very complex setup, I’ve put together a video which should hopefully explain better than I can through text – you can see it here: https://www.youtube.com/watch?v=qjFkuwCpmdo

The below information is content that I referenced in the video. I also added a section at the bottom of this message (Notes) with an alternate setup using the same idea.

Related Information

Extensions

[Product Add-Ons Extension](http://www.woothemes.com/products/product-add-ons/)
[Dynamic Pricing](http://www.woothemes.com/products/dynamic-pricing/)

Sample Pricing

CALCULATED BY $ INCREASE PER ENVELOPE    
* 24 White Wove
	* 6" x 9"				Base
	* 6" x 9-1/2"				+ .03
	* 6-1/2" x 9-1/2"			+ .05
* 28 White Wove
	* 9" x 12"				+ .10
	* 9-1/2" x 12-5/8"			+ .12
	* 10" x 13"				+ .15
* 24 Brown Craft
	* 6" x 9"				No Additional Cost
* 28 Brown Craft
	* 9" x 12"				+ .08
	* 9-1/2" x 12-5/8"			+ .10
	* 10" x 13"				+ .12

CALCULATED BY PERCENT DISCOUNT
* 1000						Base
* 2500						- 02%
* 5000						- 03%
* 7500						- 04%
* 10000						- 05%
* 20000						- 07%
* 25000						- 08%

CALCULATED BY $ INCREASE PER ENVELOPE
* Black, 1 side					Base
* Black and 1 PMS, 1 side		       + .03
* 4 colors CMYK, 1 side			       + .04
* 1 PMS color, 1 side			       + .02
* 2 PMS colors, 1 side			       + .04

 

Note

If the ‘single envelope’ idea won’t work for you, then you could also create a new product for each quantity and then create add-ons for each option with the price at that number of envelopes. This would also solve the add to cart quantity issue, so it may be a better way to go (just more products to fill in 🙂 )


Have any questions or comments about this article, or ways you think it can be improved?
Join the conversation in the comments below, or sign up for my newsletter to recieve periodic updates!

No comments yet.

Leave a Reply

%d bloggers like this: