Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add to cart


Antipas

Recommended Posts

Ok I might just be missing something real easy here I have updated my (not live yet) project to the 2.2 and everything looks good other than the fact that I can?t seem to find the add to cart? If I can?t add items to my cart I know my customer?s can?t Help what am I missing here?

 

 

www.qingqi.us

Got Geek? Smash forehead on keyboard to continue.....

Link to comment
Share on other sites

I have noticed on other?s pages that if I click on the ?in cart Button? it adds the product to the cart for some reason on my page it just show?s the empty cart am I just being stupid here?

Got Geek? Smash forehead on keyboard to continue.....

Link to comment
Share on other sites

on our site the "in Cart" button will add the item to the cart. but it would make more sence if the button said add to cart. i plan on making a new button for this function if i cant find a premaid button in the images dir. :?

Link to comment
Share on other sites

Ok I am boggled even if I click the in cart button as a registered user it still dose not add the product to the cart it goes to the cart and show?s the cart is empty I have checked the Products Status: everything looks correct to me I have the items in stock with the correct Date Available *shrug* help.

 

the not yet live store URL is so feel free to try to it. (actually please try it )

http://www.qingqi.us

Got Geek? Smash forehead on keyboard to continue.....

Link to comment
Share on other sites

Check your <form> and </form> tags. You probably have nested forms:

 

// This will NOT work

<form method=bla post=ADD_TO_CART>

  .....

   ......

     <form method=blu post=COLOR>

   .....

   .....

     </form>



  ......

 <input type=button ADD_TO_CART> 

</form>

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

mattice,

 

Thank you I am not sure what your talking about *shrug* but I am looking for it now what file should I be looking in? I have not made any real modifications to OSS other than some simple graphics and even then I stayed with the same naming convention to avoid problems.

Got Geek? Smash forehead on keyboard to continue.....

Link to comment
Share on other sites

I looked at your shop. It seems to me that you have altered the HTML code for the products_info.php page a great deal. You have added the big table in the middle, then the color option is under that. The add to cart button seems to be outside the product form.

 

If I were you, I would keep the page you have as backup and start with the oriningal osCommerce products_info.php page.

Redo your design, but check that it still works after every alteration.

 

You could also just try putting the add to cart button right next to the description text at the top and see if that works....

 

Personally I would go for the first solution. It is often quicker to scrap it and start over than to continue fiddling with the one that doesn't work. I know it's a pain and not easy to do, but it often saves time in the end .

 

Good luck

Link to comment
Share on other sites

I just went to your site and the product_info.php gets mangled so I assumed it was the form. But in the html output it seems okay, your form does'nt seem to be broken.... ??! I might be overlooking something... don't know.

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

/me I stick's his finger in a light socket.

 

Ok first I tried to remove all the Products Description?s that had that had html and tables in them.

 

Second I noticed that the ?Date Available? was not staying populated so out of frustration I went ahead and upgraded to today?s snapshot (tep_snapshot-20021016.tar.gz) downloaded it and copied everything over what I had the only thing I saved is my database I then proceeded to run the install. I went ahead and ran the upgrade converted the database?s everything looked fine.

 

Well the ?Date Available? field is still not staying populated. And well I still can?t add anything to the cart *sigh*

 

 

http://www.qingqi.us/

Got Geek? Smash forehead on keyboard to continue.....

Link to comment
Share on other sites

Ok I am positive it?s something with the database I have reinstalled everything in a different www and tried using the old database and a new one I believe it?s missing the ?Date Available? field now here is my problem I don?t so much mind blowing the database and starting over but it takes so dam long to remove all the default products and add new one?s *sigh* any idea?s?

Got Geek? Smash forehead on keyboard to continue.....

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...