Forums / General Questions / Wrong Items in Cart

Wrong Items in Cart

Views: 938

Results 1 to 7 of 7
21 Dec 2012, 9:06 PM
#1
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Wrong Items in Cart

My shopping cart is registering the wrong items. The items below are not what ends up in the cart when you click on "Add to Cart."

http://www.fantasycostume.net/hair-and-body-color
http://www.fantasycostume.net/all-costumes-for-sale/santa-claus-costume.-regency-value-plush-costume

I am using ZenCart 1.5.1 on a Linux server.

17 Years and still just a "Follower." :P

21 Dec 2012, 9:59 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Wrong Items in Cart

Try turning off your url rewriter

Zen-Venom Get Bitten

21 Dec 2012, 11:21 PM
#3
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Wrong Items in Cart

kobra:

Try turning off your url rewriter

Tried that. It is not the problem. I believe that I have narrowed it down to the tpl_product_display.php (when I use the dist file for this everything is fine) file but I can not figure out what the actual problem is.

Here is a copy of the file:
Attachment #11650

17 Years and still just a "Follower." :P

22 Dec 2012, 12:47 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Wrong Items in Cart

Compare the two files

Starting with date reference at the top

Zen-Venom Get Bitten

22 Dec 2012, 1:01 AM
#5
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Wrong Items in Cart

kobra:

Compare the two files

Starting with date reference at the top

The are different. On purpose. My file is slightly rearranged to order the display the way we want it. If the answer was as simple as you are trying to make it sound, I wouldn't have needed to post in this forum.

17 Years and still just a "Follower." :P

22 Dec 2012, 1:15 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Wrong Items in Cart

when I use the dist file for this everything is fine
So evidently you have edited something that is causing this

Zen-Venom Get Bitten

23 Dec 2012, 2:53 AM
#7
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Wrong Items in Cart

Take a look at the source code outputted on the product page. See if the product_id is correct for the displayed product (you can see which id a product has in the admin interface).

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker