Shopping Cart Software

Shopping Cart Software ClickCartPro XCS Version
corner image corner image

items not being added to cart

items not being added to cart

Postby Antenociti » 13 Apr 2010 13:00

We ahve a whole category of the website where items are not added to the cart when you click on "add to cart".
It takes you to the cart page but doesnt add the item, nor does it display any message error.

http://www.antenocitisworkshop.com/gbu0 ... green.html


the "packaging" item works, but not any of the products in any of the other sections.

the products are in stock, set "available to everyone"
Antenociti
 
Posts: 132
Joined: 01 Apr 2010 13:40

Re: items not being added to cart

Postby GreenbarnWeb » 13 Apr 2010 16:38

Hi Jed,

The problem is that you have spaces in the product id’s.

See this example where the +++ indicated spaces.
http://www.antenocitisworkshop.com/gbu0 ... +++++.html

In the admin goto:
Home > Kryptronic Hybrid X Core > Database: Connections, Backups and Raw Admin > Raw Database Admin

Click the SQL Statement: Submit a Raw SQL Statement

Then use this SQL Statement:
UPDATE gbu0_prod SET id=replace(id, ' ', '')
Howard Galpin
http://www.greenbarnweb.com
http://www.clickcartpro.co.uk - UK Customised version
http://www.clickcartpro.eu.com - European Customised version
GreenbarnWeb
Site Admin
 
Posts: 1153
Joined: 29 Jul 2009 10:58

Re: items not being added to cart

Postby Antenociti » 16 Apr 2010 13:18

yes that fixed the problem thanks.

What causes this though and is it likely to happen again?
Antenociti
 
Posts: 132
Joined: 01 Apr 2010 13:40

Re: items not being added to cart

Postby GreenbarnWeb » 16 Apr 2010 15:41

Hi

Either when you insert a product via the admin you are typing in the spaces or if you a importing via the raw database admin the spaces are in the product id column.
Howard Galpin
http://www.greenbarnweb.com
http://www.clickcartpro.co.uk - UK Customised version
http://www.clickcartpro.eu.com - European Customised version
GreenbarnWeb
Site Admin
 
Posts: 1153
Joined: 29 Jul 2009 10:58

Re: items not being added to cart

Postby Antenociti » 21 Apr 2010 19:23

GreenbarnWeb wrote:Hi

Either when you insert a product via the admin you are typing in the spaces or if you a importing via the raw database admin the spaces are in the product id column.


imported via csv so its probalby a C&P issue from other programs.... good old invisible spaces eh.
Antenociti
 
Posts: 132
Joined: 01 Apr 2010 13:40


Return to Configuration Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron
corner image
Valid XHTML   Valid CSS   w3c wai aa
GreenbarnWeb.com © 2001 - 2013
corner image