Page 1 of 1

Complex product matrix

Posted: Sun Jul 20, 2014 11:28 pm
by Dramatic
I have a cart selling coffee that has been in (stalled) development for a while (there's a clunky non-cmsms cart in place at present).
There are several blends.
Each blend is available in three sizes -> price differs
Each blend is available in four grinds -> price does not differ
So a matrix of twelve options.

I had originally set this up as a separate product for each size of each blend. However, the client would like the purchase process to be as streamlined as possible: Each blend has a box with description, a form control (select box or radio buttons) for size and a form control for grind + add to cart button. This suggests that each blend should be one product.

1) Should I create a set of 12 options for each product to get unique SKUs?
2) How could I achieve the combining of input from the two sets of options to end up with the correct SKU to put in the cart?
(The older attributes system seems slightly more geared to this, and I am thinking that http://calguy1000.com/Blogs/8/15/cmsms- ... ow-to.html is less up to date than the module help?)

CMSMS 1.11.10
Products 2.19.6
Cart2 1.0.7

Re: Complex product matrix

Posted: Mon Jul 21, 2014 12:01 am
by calguy1000
2) How could I achieve the combining of input from the two sets of options to end up with the correct SKU to put in the cart?
This is exactly why the old attributes stuff was dropped and replaced with the options stuff... because with multiple dropdowns there is no way of associating a unique SKU to each combination. Also, what if there are only 11 options for one product.

So yes... you should create a list of 12 options for each product.

Re: Complex product matrix

Posted: Mon Jul 21, 2014 2:22 am
by Dramatic
Thanks.
What controls the order of display of options? They are appearing in seemingly-random order in admin

(I can't see them in the add to cart form at present because the add-to-cart form doesn't seem to want to display)