nvbenterprises Posted November 2, 2006 Posted November 2, 2006 I was just about finished with my store, in design aspects when a new error popped up. When you click Add to Cart or the button_in_cart.gif it leads to advanced_search_result.php in the browser and "There is no product that matches the search criteria.". Items are never added to the cart. No error message pops up. I was wondering where the buttons are defined, and what the definition should be? I have not changed it to my knowledge, but with all the contributions I have used, I may have accidentally. After searching the forums all I could find was a modification to link the add to cart to the buy it now button which bypasses the add to cart. The mod works, but I was hoping I could fix my problem without rerouting the button. Thanks Nic
nvbenterprises Posted November 2, 2006 Author Posted November 2, 2006 I found out it was the search form I had added last week to the header next to my logo. header.php <script type="text/javascript" language="JavaScript1.2"> <!-- function clearThis(it){ it.value = ""; } //--> </script> <td class="headerNavigation" align="right" valign="top"><form name="quick_find" method="get" action="/advanced_search_result.php"> <input type="text" name="keywords" size="15" maxlength="50" style="width: 110px" value="Search..." onFocus="clearThis(this);" style="width: 90px"> <input type="image" src="includes/languages/english/images/buttons/button_quick_find.jpg" alt="Quick Find" title="Quick Find"> Is there an error in this code that would effect all buttons?
nvbenterprises Posted November 2, 2006 Author Posted November 2, 2006 I decided to just use the contibution search box anywhere instead of messing around with it. Now everything works.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.