Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search box help


bill110

Recommended Posts

I have modified my column_right.php to only have the cart and search boxes. just noticed today that if you have a products description up on the page and try to do a search it will add the product to the shopping cart. It only happens with the quick find not with advanced search as this takes you to a different page, and only if you have a product description displayed. It doesn't even perform a search.

Did I possible delete a line of code in the column_right.php?

Thanks for any help

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

It sounds like the 2 forms are combined / conflicting somehow...did you edit the code in the search box and/or the quick find box, or did you just move the boxes around, leaving the code inside them untouched?

 

And also, if you're saying that the item displayed on the product_info.php page ends up in the cart, it sounds like the problem could be in product_info.php too...did you edit that file?

 

Based on the info, I wouldn't think that the problem is in column_right, it would most likely be one of those 3 other files (search box, cart box, or product_info)

Link to comment
Share on other sites

It sounds like the 2 forms are combined / conflicting somehow...did you edit the code in the search box and/or the quick find box, or did you just move the boxes around, leaving the code inside them untouched?

 

And also, if you're saying that the item displayed on the product_info.php page ends up in the cart, it sounds like the problem could be in product_info.php too...did you edit that file?

 

Based on the info, I wouldn't think that the problem is in column_right, it would most likely be one of those 3 other files (search box, cart box, or product_info)

 

i changed the code in the column_right file. I deleted the references to anything other than the cart and search boxes. I'v added a few other contributions but i don,t think the other files were changed. I will do a file compare of these three files against a vanilla install and see what all has been changed. ( I copied my entire catalog folder before making changes in case of catastrophic screw up by me)

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

i changed the code in the column_right file. I deleted the references to anything other than the cart and search boxes. I'v added a few other contributions but i don,t think the other files were changed. I will do a file compare of these three files against a vanilla install and see what all has been changed. ( I copied my entire catalog folder before making changes in case of catastrophic screw up by me)

 

I found it! I had somehow deleted a </form> tag on line 236 of the product_info.php.

Thank you so much for pointing me in the right direction.

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...