Zen Cart Logo
Forums / Basic Configuration / Add To Cart button points to advanced search

Add To Cart button points to advanced search

Locked

Views: 1,281

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
14 Apr 2007, 12:33 AM
#1
tiffosi99 avatar

tiffosi99

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Add To Cart button points to advanced search

As above. When clicking the add to cart button, instead of adding the product to the shopping cart and displaying, i'm being directed to the advanced search page. Oh, and I have absolutely no idea why this is so.

Any help would be much appreciated. Thanks.

Clicky

14 Apr 2007, 2:31 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add To Cart button points to advanced search

If you switch to Classic ... does that stop happening?

I think you have an error in your form tags ...

What version Zen Cart are you running?

Clean install or an upgrade? How did you install it? How did you upgrade it?

14 Apr 2007, 2:37 PM
#3
tiffosi99 avatar

tiffosi99

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Re: Add To Cart button points to advanced search

It was a clean install on a new server on a new MySql dbase. After that, I altered the config files to use the previous database.

When I revert back to the classic template, the problem goes away.

So what original files do you think would need to be re-uploaded to cure the problem?

Sincere thanks,

Niall

p.s. Version is 1.3.7

14 Apr 2007, 2:50 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add To Cart button points to advanced search

When I test for this, I go to the affected page ...

Turn off the left and right column and refresh the page ... now check if it works ...

If yes, turn on Left ... refresh ... does it work?

If yes, turn on Right, refresh ... does it work?

If turning off the Left and Right does not find the issue ... I then go to turn off the search in the header ...

Does it work?

If yes, then the problem is in the header ...

Now it is time to find where a missing form tag is ...

If none of this worked ... then you will need hunt further ...

I use Beyond Compare from scootersoftware.com to compare original files to the template and overrides ... often this can help locate the source of the error ...

14 Apr 2007, 6:14 PM
#5
tiffosi99 avatar

tiffosi99

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Re: Add To Cart button points to advanced search

I re-uploaded header.php. Problem solved!

Thanks a lot for that idea (I thought it was a more complex problem than it was).