Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: users

"Buy list" with simple and matrix items

 

 

Interchange users RSS feed   Index | Next | Previous | View Threaded


marty at dripdepot

Nov 4, 2009, 5:35 AM

Post #1 of 5 (626 views)
Permalink
"Buy list" with simple and matrix items

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.

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


_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


marty at dripdepot

Nov 4, 2009, 8:16 AM

Post #2 of 5 (599 views)
Permalink
"Buy list" with simple and matrix items [In reply to]

My apologies to the list if this is a dupe. My original message did not
go through (that I can see). So I'm trying again.
====================================================================

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.

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


_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


lists at gmnet

Nov 4, 2009, 8:51 AM

Post #3 of 5 (591 views)
Permalink
Re: "Buy list" with simple and matrix items [In reply to]

On Wed, 2009-11-04 at 08:16 -0800, Marty Tennison wrote:
> My apologies to the list if this is a dupe. My original message did not
> go through (that I can see). So I'm trying again.
> ====================================================================
>
> 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.
>
> --
> - - -- ---- ---------------------------- --- -- - -
> Marty Tennison DripDepot.com
> email: marty [at] dripdepot
> web: www.dripdepot.com
> - -- --- --------------------------------------- --- --
>
>

Just a quick thought, do you have all the right tables listed in your
"ProductFiles" catalog.cfg directive? Also what is in your error.log?

rick



--
This message has been scanned for viruses and
dangerous content by Green Mountain Network, and is
believed to be clean.


_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


marty at dripdepot

Nov 4, 2009, 9:52 AM

Post #4 of 5 (592 views)
Permalink
Re: "Buy list" with simple and matrix items [In reply to]

Rick Bragg wrote:
> On Wed, 2009-11-04 at 08:16 -0800, Marty Tennison wrote:
>
> [snip]
>
> Just a quick thought, do you have all the right tables listed in your
> "ProductFiles" catalog.cfg directive? Also what is in your error.log?
>
> rick
>
>
Hi Rick,

ProductFiles products variants

The products I'm trying to pre-load are the same products that are
available on the site, and ordered without issue. So I think it has
something to do with the way I am setting up the order form. Or
possibly that Order.pm does not stack variants. The actual error is...

"Attempt to order missing product code:
0-0-1016-25-0-1041-100-0-0-0-0-0-1276-2"

The simple items (items without matrix options) load in just fine. The
closest I can get to loading a matrix item is to get it into the cart
but it has no options associated with it.

I've searched the archives and I see posts of people having other
issues. The closest thing I can find is....

http://www.icdevgroup.org/pipermail/interchange-users/2002-August/025251.html

and these....

http://www.icdevgroup.org/pipermail/interchange-users/2002-June/021963.html
http://www.icdevgroup.org/pipermail/interchange-users/2001-August/011683.html
http://www.icdevgroup.org/pipermail/interchange-users/2000-October/001050.html

but no answer that I can tell. Maybe it's just not possible?

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


_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


marty at dripdepot

Nov 4, 2009, 1:20 PM

Post #5 of 5 (586 views)
Permalink
Re: "Buy list" with simple and matrix items [In reply to]

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...

http://www.dripdepot.com/kit/build-your-own-drip-irrigation-kit.html?mv_arg=123

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


_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users

Interchange users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.