The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
can't get options data to cart for display and email
Author Message
Reply with quote
Post can't get options data to cart for display and email 
I have read all of the previous post that I could find pertaining to this problem, but I can't seem to find my solution.

I have option files that are working perfectly on product pages, but the options selected (size, color, etc.) are not passed to my cart and email message.

I have changed Cart Display to show every item on the drop down list, but all seem to return a blank window. Also verifed that "no" has been selected in Multiply by Quantity within Cart Display.

Below is the code from one of my option files. One item that I have not seen addressed is . . . I have copied these option files from my older version install (4.0) and pasted to html/options in my current install (4.0K-4b). At the moment, I have the same problem with my older version, but I SWEAR it was working in the older version at one time.

Also noticed that the "|" character is used on each option within your examples. My option files do not use this character for each option. I tried adding this character, but results never changed.

<h3>--cut here--</h3>
<TABLE CELLPADDING="0" CELLSPACING="0">
<TR ALIGN="CENTER"><TD><FONT FACE=ARIAL SIZE="2">
<B></B>
<br>
</FONT></TD></TR>


<TR ALIGN="LEFT"><TD><SELECT
NAME = "option|002|%%PRODUCT_ID%%" >
<OPTION VALUE = "|" width=500>Choose Size

<OPTION VALUE = "P">P
<OPTION VALUE = "S">S
<OPTION VALUE = "M">M
<OPTION VALUE = "L">L
<OPTION VALUE = "XL">XL
<OPTION VALUE = "XXL">XXL

</SELECT></TD></TR>


<TR ALIGN="LEFT"><TD><SELECT
NAME = "option|003|%%PRODUCT_ID%%">
<OPTION VALUE = "|">Choose Color

<OPTION VALUE = "White">White
<OPTION VALUE = "Beige">Beige
<OPTION VALUE = "Black">Black
<OPTION VALUE = "Pink">Pink

</SELECT></TD></TR>
</TABLE>


<h3>--cut here--</h3>


<TR ALIGN="LEFT"><TD><SELECT
NAME = "option|003|%%PRODUCT_ID%%">
<OPTION VALUE = "|">Choose Color

<OPTION VALUE = "White">White
<OPTION VALUE = "Beige">Beige
<OPTION VALUE = "Black">Black
<OPTION VALUE = "Pink">Pink

</SELECT></TD></TR>
</TABLE>


<h3>--cut here--</h3>

View user's profile Send private message
Reply with quote
Post  
On your pages outside of the cart make sure that the following line is *before* your options:
Code:
<FORM METHOD = "post" ACTION = "agora.cgi">


In your productPage.inc file, make sure that the following lines go inside the first <td> section of the page:
Code:
<FORM METHOD = "post" ACTION = "%%scriptURL%%">
%%make_hidden_fields%%


The way you have things right now, the options are not included because they are not within the <form></form> tags.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post thanks 
once again you have bailed me out !

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum