Passing Attributes through a Non-Miva Screen or Page
Well, I don't know if it was intentional, but you don't have a Product Code and also you
are missing the attribute count value,
<INPUT TYPE="hidden" NAME="AttributeCount" VALUE="2">
Also, if you take them to the Customer Information screen, they won't have a way of
modifying the contents of their basket (adding or removing quanities).
-Bruce
PHOSPHOR Media
www.phosphormedia.com
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Eric Geier
> Sent: Monday, October 11, 2004 8:29 AM
> To: [email protected]
> Subject: [mrc] Passing Attributes through a Non-Miva Screen or Page
>
>
> I am In the process of setting up my shopping cart without using the
> miva merchant screens, except the basket/checkout screens. I just add
> the "add to cart" code to whatever pages I would like, ex:
>
> <FORM METHOD="post"
> ACTION="<A HREF ="http://www.wireless-nets.com/Merchant2/merchant.mvc?">">http://www.wireless-nets.com/Merchant2/merchant.mvc?"></A>
>
> <INPUT TYPE="hidden" NAME="Action" VALUE="ADPR">
> <INPUT TYPE="hidden" NAME="Product_Code" VALUE=" ">
> <INPUT TYPE="hidden" NAME="Screen" VALUE="OINF">
> <INPUT TYPE="hidden" NAME="Attributes" VALUE="Yes">
> <INPUT TYPE="hidden" NAME="Store_Code" VALUE="WLTM">
> <INPUT TYPE="hidden" NAME="Offset" VALUE="">
> <input type="text" name="Quantity" size="4" value="1">
> <INPUT TYPE="hidden" NAME="AttributeCode[1]"
> VALUE="No_Monday">
> <INPUT TYPE="hidden" NAME="AttributeCode[2]"
> VALUE="No_Friday">
>
> <INPUT TYPE="radio" NAME="AttributeValue[1]"
> VALUE="Yes" checked>
> <INPUT TYPE="radio" NAME="AttributeValue[1]"
> VALUE="No">
>
> <INPUT TYPE="radio" NAME="AttributeValue[2]"
> VALUE="Yes" checked>
> <INPUT TYPE="radio" NAME="AttributeValue[2]"
> VALUE="No">
>
>
> <INPUT SRC="<A HREF ="http://www.wireless-nets.com/images/add_to_cart.bmp"">http://www.wireless-nets.com/images/add_to_cart.bmp"</A>
> TYPE="IMAGE" BORDER="0" ALIGN="BOTTOM" width="101" height="20">
>
> </FORM>
>
>
> Well my problem is when I try to collect the user's attributes, on the
> non-miva page, and they click on "Add to Cart" it prompts them for the
> attributes again, before they see the miva checkout screen.
>
> How can I pass the attributes through and not have it prompt them after
> clicking on "Add to Cart"? Maybe I'm just not setting up the attributes
> to be passed through correctly, please see example of my code above.
>
>
> Thanks!
>
> Best regards,
> Eric Geier
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (<A HREF =/"http://www.grisoft.com)/">http://www.grisoft.com)</A>.
> Version: 6.0.772 / Virus Database: 519 - Release Date: 10/1/04
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (<A HREF =/"http://www.grisoft.com)/">http://www.grisoft.com)</A>.
Version: 6.0.772 / Virus Database: 519 - Release Date: 10/1/04
Announcement
Collapse
No announcement yet.
Passing Attributes through a Non-Miva Screen or Page
Collapse
X
-
Guest replied
-
Passing Attributes through a Non-Miva Screen or Page
------=_NextPart_000_001D_01C4AF85.7328C760
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I am In the process of setting up my shopping cart without using the
miva merchant screens, except the basket/checkout screens. I just add
the "add to cart" code to whatever pages I would like, ex:
<FORM METHOD="post"
ACTION="<A HREF ="http://www.wireless-nets.com/Merchant2/merchant.mvc?">">http://www.wireless-nets.com/Merchant2/merchant.mvc?"></A>
<INPUT TYPE="hidden" NAME="Action" VALUE="ADPR">
<INPUT TYPE="hidden" NAME="Product_Code" VALUE=" ">
<INPUT TYPE="hidden" NAME="Screen" VALUE="OINF">
<INPUT TYPE="hidden" NAME="Attributes" VALUE="Yes">
<INPUT TYPE="hidden" NAME="Store_Code" VALUE="WLTM">
<INPUT TYPE="hidden" NAME="Offset" VALUE="">
<input type="text" name="Quantity" size="4" value="1">
<INPUT TYPE="hidden" NAME="AttributeCode[1]"
VALUE="No_Monday">
<INPUT TYPE="hidden" NAME="AttributeCode[2]"
VALUE="No_Friday">
<INPUT TYPE="radio" NAME="AttributeValue[1]"
VALUE="Yes" checked>
<INPUT TYPE="radio" NAME="AttributeValue[1]"
VALUE="No">
<INPUT TYPE="radio" NAME="AttributeValue[2]"
VALUE="Yes" checked>
<INPUT TYPE="radio" NAME="AttributeValue[2]"
VALUE="No">
<INPUT SRC="<A HREF ="http://www.wireless-nets.com/images/add_to_cart.bmp"">http://www.wireless-nets.com/images/add_to_cart.bmp"</A>
TYPE="IMAGE" BORDER="0" ALIGN="BOTTOM" width="101" height="20">
</FORM>
Well my problem is when I try to collect the user's attributes, on the
non-miva page, and they click on "Add to Cart" it prompts them for the
attributes again, before they see the miva checkout screen.
How can I pass the attributes through and not have it prompt them after
clicking on "Add to Cart"? Maybe I'm just not setting up the attributes
to be passed through correctly, please see example of my code above.
Thanks!
Best regards,
Eric Geier
------=_NextPart_000_001D_01C4AF85.7328C760--
Tags: None
Leave a comment: