Missing Quantity text field and update and remove buttons

Get help with nopcart Perl, PHP or ASP checkout related issues.

Moderators: Koibito, Stefko, Randy

Missing Quantity text field and update and remove buttons

Postby ndmpatriot » Wed Jul 04, 2007 6:27 pm

I'm missing some fields on my cart page. I'm missing the quanity text field, update and remove buttons. my store is for a online game and it's at http://paradox-sim.com/store .

Any help is appreciated
ndmpatriot
 
Posts: 5
Joined: Wed Jul 04, 2007 6:05 pm

Postby Stefko » Wed Jul 04, 2007 6:35 pm

you forgot to add the cart hidden values to the product page. eg...

NAME
ID_NUM
PRICE
SHIPPING
KFL Technologies
Web-Enabled Solutions
e-Commerence Solutions
Stefko
Contributor / Guru
 
Posts: 833
Joined: Wed Sep 18, 2002 1:11 am
Location: Wichita, KS

Postby ndmpatriot » Wed Jul 04, 2007 6:46 pm

Actually when you go to forage, I have this for my product:

Code: Select all
<form name="order">
<input type=hidden name="PRICE" value="5.00">
    <input type=hidden name="NAME" value="Alf-Alfa Square Hay Bale">
    <input type=hidden name="ID_NUM" value="Forage 001">

  <table width="100%" border="0">

    <tr>
      <td>Alf-Alfa Hay Square Bale </td>
      <td>$5.00</td>
      <td><input type=text size=5 maxlength=5 name=QUANTITY onChange='this.value=CKquantity(this.value)' value="1">    </td>
      <td><input type=button value='  Buy!  ' onClick='AddToCart(this.form)'></td>
    </tr>
  </table>
</form>
ndmpatriot
 
Posts: 5
Joined: Wed Jul 04, 2007 6:05 pm

Postby Randy » Wed Jul 04, 2007 9:36 pm

There doesn't seem to be any way to get to managecart.

Also, whenever I mouse-over a link, it disappears. Most annoying.

If you are going to run a sim-store, it should at least work. :) Try loading the demo program and making sure it runs, then link your product page to it.

You may want to run the page through an html verifier -- I use w3.org's html-Tidy.

Randy
Randy
Guru
 
Posts: 1511
Joined: Tue Apr 22, 2003 12:21 pm
Location: Thunder Bay, Ontario

Postby Stefko » Thu Jul 05, 2007 12:29 am

Sry,

i found the "roughage" page!

Now I can't find the managecart ??
KFL Technologies
Web-Enabled Solutions
e-Commerence Solutions
Stefko
Contributor / Guru
 
Posts: 833
Joined: Wed Sep 18, 2002 1:11 am
Location: Wichita, KS

Postby ndmpatriot » Thu Jul 05, 2007 2:45 pm

It works, the manage cart is at http://paradox-sim.com/store/cart.htm , or if you click on the Shopping Cart link on the top right.


I can add items just find, I just can't edit quantity and remove the from the cart page.
ndmpatriot
 
Posts: 5
Joined: Wed Jul 04, 2007 6:05 pm

Postby Randy » Thu Jul 05, 2007 9:44 pm

There are a couple of problems:

1) The link at the top right on the forage page is to cart.php, not cart.htm

2) Cart.htm is checkout.html, not managecart.html, so you no longer have the option of changing the order -- quantity or deletion.

The normal flow is from the order page to managecart.html and then to checkout.html.

The order form action should be "action=managecart.html" if you don't want to leave the product page, then add return: false

It would be better from the customer's viewpoint to have quantity set to 1 rather than 0, then you only need to press the buy button,not the quantity and then the buy button.

Randy
Randy
Guru
 
Posts: 1511
Joined: Tue Apr 22, 2003 12:21 pm
Location: Thunder Bay, Ontario


Return to Help: Perl/PHP/ASP Checkout

Who is online

Users browsing this forum: No registered users and 0 guests

cron