X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues (https://forum.x-cart.com/showthread.php?t=38809)

toolexperts 04-03-2008 11:50 AM

Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
When clicking on any item from these three points it sells you the wrong item...any suggestions would be greatly appreciated

kube 04-03-2008 12:04 PM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
Hi toolexperts,

Well you had it right just a moment ago and now I can see you're changing the code. It was adding to the cart perfectly, with the right items as well. Approx 5 minutes ago with url modifier as well.

Now I can see errors in some of the urls and it's not adding to the cart.

Don't panic - deep breaths. Make sure everything was backed up - don't close anything that could be solved with a few undos, etc.

kube 04-03-2008 12:20 PM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
Not sure if you've put it back again - but everything appears to be fine.

Elaborate when you've come back to the original problem.

toolexperts 04-04-2008 04:45 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
here is what's happening, if you go to the site and click on one of the featured items (renamed only on the top bar as monthly specials) and then go to add to cart when the item pulls up, you will see what i am talking about, it takes you to another item instead of selling you the correct item. The same issue appears in the bestsellers too, but only on the main page. When clicking on the bestsellers in a department it works correctly, so i am assuming something on the main page is messed up.


EDIIT: This is also occuring when searching for an item and then trying to add it to cart

toolexperts 04-04-2008 07:40 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
when it displays the wrong item i see err in the url area

kube 04-04-2008 08:12 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
1 Attachment(s)
Hi toolexperts,

Are you referring to the columns rather than the actual main areas? Then maybe something is up... However, I did notice rogue bracers appearing from those links when I selected the text. Not too sure at this moment if it has anything to do with it? See Attached...

toolexperts 04-04-2008 08:35 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
Actually here is what i am talking about When clicking on the monthly special (featured item) it takes you to it's page, but when you try to add to cart you get the wrong item
http://216.75.30.97/skin1/images/wtf.JPG

kube 04-04-2008 09:25 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
Hi again toolexperts - I see what you mean now ;D

You have 2 the same pages; one that works and the other doesn't.

Working:
http://216.75.30.97/work-and-safety-apparel/rain-gear/60-rain-coat/r4160.html
Not working:
http://216.75.30.97/product.php?productid=17345

At the moment I have no ideas what could be causing this.

The only difference between those two pages is that the working one contains this...
<input type="hidden" name="cat" value="326" />
And the one that doesn't work contains no value for cat...
<input type="hidden" name="cat" value="" />

Find out why that number has been omitted and it should add to cart.

kube 04-04-2008 09:29 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
okay figured something out... the url that you are passing to the page has the wrong 'cat' id number...

This works:
http://216.75.30.97/product.php?productid=17345&cat=326&page=1
Your original url from the home page doesn't - it's passing a 0
http://216.75.30.97/product.php?productid=17345&cat=0&page=1

Hope this gets you closer

toolexperts 04-04-2008 09:38 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
where should i be looking to rectify this? should i maybe pul the items out of the department and try redoing them?


All times are GMT -8. The time now is 12:41 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.