Languages:  English  

on all orders over $50.00

Assorted Wine Crate


Add to Cart:

You can use this code for any product, not only for wine.
This contribution was built because of the need to sell wine in crates of 12 bottles each.

It also allow orders of single crates with 6 bottles, but if customer wants to order more than 6 items, it always has to be in multiples of 12.
Additionally, we wanted to be able to allow the ordering of wine crates with assorted wines from specified categories.
This code allows the customer to order an assorted collection of products from a specified category (or subcategory), or a list of categories (or subcategories), recursively including all sub-categories.

The total number of ordered products (e.g. wine bottles) from these categories has to be 6 (modifiable) or multiples of 12 (modifiable), otherwise we send a warning message, and redirect customer back to his shopping cart.