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
Add to cart adds all products on page
Author Message
Reply with quote
Post Add to cart adds all products on page 
Howdy folks,

First, I hope I put this post in the right category of the forum.

Ok, here's the deal. I am still setting the store up but I have come across an error which is driving me nuts and I'll be darned if I can figure it out. When I click on Add To Cart the dang thing adds 1 of every single item listed on the page. So, if I click on the add to cart button for a product which is supposed to cost $100.00 and I have ten similar priced exactly the same on the page it shows 10 items in the cart and shows me owing $1,000.00! Although this kind of sales would be great I'm thinking the customer wouldn't be appreciative!

You can check out what I'm talking about by hitting this link (remember, it's still under construction) http://www.filmdipper.com/sales/store52/agora.cgi?product=vehicle%20accent%20kits

Any and all help in this matter is greatly appreciated!

View user's profile Send private message
Reply with quote
Post  
There doesn't appear to be an </form> tag in your productPage.inc file...

BTW, your store header file is full of stuff that is causing HTML all through the page.
All of the following code MUST be removed:
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <meta name="author" content="Dean Nutt - Nutt's Computer Service" />
      <meta name="verify-v1" content="XNzmEPJWboQ3iLVSe0w/QPCj/nbq4Okl0hWsbhHmhvI=" />
      <title>The Big Dipper | Home</title>
      <link rel="stylesheet" type="text/css" href="../../css/bdstyle.css" />
      <link rel="shortcut icon" href="../../favicon.ico" />
     

<style type="text/css">

.flashclass{ /*sample CSS class added to image slideshow container*/
width: 429px; /*a width should be defined for transition to work*/
border: 0px solid orange;
padding: 0px;
}

.flashclass img{
border-width: 0;
}

</style>

<script type="text/javascript" src="../../js/transitionshow.js">

/***********************************************
* Random Transitions Slideshow- by JavaScript Kit (www.javascriptkit.com)
* This notice must stay intact for usage
* Visit JavaScript Kit at http://www.javascriptkit.com/ for full source code
***********************************************/

</script>

<style type="text/css">

.gallerycontainer{
position: relative;
height:300px;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid black;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 230px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

</style>

</head>

<body>

Javascript goes in a special box in the Primary/Core Settings of the manager.
CSS goes in the CSS editor of the manager in the 2nd box.

The footer file, also, needs the following removed:
Code:
<head>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp_camo(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400,left = 340,top = 200');");
}
// End -->
</script>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp_cf(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=500,left = 340,top = 200');");
}
// End -->
</script>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp_designer(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=490,left = 340,top = 200');");
}
// End -->
</script>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp_metal(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=490,left = 340,top = 200');");
}
// End -->
</script>

</head>


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  
Ok, the missing </form> tag I get.

What did I miss on the other code? Forgive my ignorance but why must the code you have listed be removed?

View user's profile Send private message
Reply with quote
Post  
Because it creates improper html coding which can affect the display and function of AgoraCart in various browsers, as not all browsers display or handle the html code the same way.
Improper html coding is the #1 reason for AgoraCart problems.
You should ALWAYS practice good html coding.
The way you have it now, you have duplicate tags, excessive tags, CSS & javascript are in the wrong place in the combined html document.
3 files make a complete html document in AgoraCart....
the store header, store footer, and the ppinc or other .inc file...

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