Products don't seem to be added to cart

Problems installing or using the NOP Design Free Shopping Cart. **ARCHIVE** Please post new topics to one of the groups below.

Moderator: scott

Products don't seem to be added to cart

Postby bobsitko » Fri Aug 16, 2002 8:28 pm

Hello,

When I try to add an item to the shopping cart, it does not display the contents of the cart, nor does the "checkout" page show any items added. If you have time, would you please go to http://www.dandjcandles.com/votive.htm page and see if you can find an obvious error? I would really appreciate it!

Thanks,
Bob
bobsitko
 
Posts: 22
Joined: Wed Aug 14, 2002 2:44 pm
Location: South Carolina

Simple.

Postby Mark » Sat Aug 17, 2002 1:19 am

You simply neglected to paste the NOP code into the
Code: Select all
<head>
portion of your managecart.htm page. Without this code, the script is not loaded to that page. It is also fairly important that this code be moved to within the
Code: Select all
<head></head>
portion of your pages.

Later,

Mark.
Mark
 
Posts: 4
Joined: Sat Aug 17, 2002 1:05 am

is this it

Postby Ben » Sat Aug 17, 2002 12:21 pm

On each page you wish to sell products from, or display the cart, include the lines:

<SCRIPT SRC="nopcart.js">
//=====================================================================||
// NOP Design JavaScript Shopping Cart ||
//---------------------------------------------------------------------||
// Visit NOP Design at http://www.nopdesign.com or Info@nopdesign.com ||
//=====================================================================||
</SCRIPT


seehttp://http://www.nopdesign.com/freecart
Thanks
Ben
 
Posts: 4
Joined: Fri Aug 16, 2002 10:43 am
Location: gold coast australia

manage page vs. checkout page

Postby bobsitko » Sun Aug 18, 2002 8:55 am

Thanks, Mark and Ben, for letting me know that the "nopcart.js" reference has to be somewhere in the <head> section, not the <body>.

I have another, probably stupid question, but I don't see what the purpose of the "manage" page is. Since all items have a selection of either "add to cart" or "checkout", why can't we just make the "checkout" selection go directly to the "checkout" page rather than go first to a "manage" page which then, in turn, has a "checkout" button to go to the "checkout" page?

Regards,

Bob
bobsitko
 
Posts: 22
Joined: Wed Aug 14, 2002 2:44 pm
Location: South Carolina

Purpose.

Postby Mark » Sun Aug 18, 2002 8:10 pm

The use of a Manage Cart page is to submit the item values to a secure server via the URL. This is why the FORM ACTION must point to your secure server that receives the data. In your case, you have chosen to receive your customers personal information via a non-secure http server. This means the item values are still accessible from the cookies (they are related to the same parent URL), hence you don't need a Manage Cart page. It is advisable, however, that you consider protecting your customers identities with an SSL server at checkout.

PS: to simplify and shorten your sites code, you should remove nested tables (like the heading table -it's inside of another table of the same size). Also, a good, non-deprecated practice is to align most of your content via
Code: Select all
<td align="center, middle, absmiddle, left, right, top, bottom>
instead of div and p.


Later,

Mark.
Mark
 
Posts: 4
Joined: Sat Aug 17, 2002 1:05 am


Return to Installation and Setup Problems

Who is online

Users browsing this forum: No registered users and 0 guests

cron