[ic] "Buy list" with simple and matrix items

Marty Tennison marty at dripdepot.com
Wed Nov 4 21:20:53 UTC 2009

On Wed, 2009-11-04 at 08:16 -0800, Marty Tennison wrote:
>> I've been scouring the archives and docs for a few days now looking for 
>> a way to do this.  Since I cannot find the answer I'm thinking I'm 
>> missing something conceptually in my understanding of how a "buy list" 
>> works.
>> I'm trying to setup a pre-made list of items for the customer to 
>> purchase with a single click.  The list is composed of simple and matrix 
>> items.  If the item is a matrix item I want to pre-set the matrix 
>> option(s) before adding to the cart.
>> Here is what I have been trying.... <stripped for brevity>
>> <form action="[process]" method="post">
>> <input type="hidden" name="mv_order_item" value="001"> # Matrix
>> <input type="hidden" name="mv_sku" value="001-A">
>> <input type="hidden" name="mv_order_item" value="002"> # Simple
>> <input type="hidden" name="mv_sku" value="">
>> etc....
>> <input type=submit value="Buy All">
>> I am able to reproduce the "Attempt to order missing product code" 
>> error.  I've tried all sorts of combinations.  I viewed the icdemo and 
>> see that I can add multiple items to the cart with a single click but 
>> the item options are not pre-set. It seems like this should be a very 
>> simple thing to do.  What am I missing?
>> Any and all help is greatly appreciated.
I got this to work by using jquery and a few plugins.   It's not as 
graceful an implementation as I would like but it does work.

For posterity, here is a link for anyone interested in how it looks/works...


-  - -- ----  ---------------------------- --- -- -   -
Marty Tennison                     DripDepot.com
email: marty at dripdepot.com
web: www.dripdepot.com
-  -- --- --------------------------------------- --- --

More information about the interchange-users mailing list