I just noticed that the Simple Site Search I added to our site a few weeks back has screwed up the Add to Cart buttons. When I go to our site and hit any of the Add to Cart buttons, a blank Search page comes up instead of it going to the Cart. This is bad and I have no idea why it’s doing it. Any ideas to why this is happening?
I use CrowBar to wrap the buttons.
As I test this further, it seems if the Add to Cart button is the first (or only) button on the page it will pull up the Search page, if it’s the second or any subsequent button on the page it works as it should. The View Cart buttons seem to work correctly because they’re not the first button on the page.
A form is basically any item that has an input method - like the site search box (where you can enter info whether by text input or a checkbox etc.) - your buy buttons also use the ‘form’ method to send the info to the cart.
Thank you for that explanation, Dave. Very helpful.
On 4 Dec 2010, 10:43 pm, DeltaDave wrote:
What’s a form?
A form is basically any item that has an input method - like the site search box (where you can enter info whether by text input or a checkbox etc.) - your buy buttons also use the ‘form’ method to send the info to the cart.