If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / added a customer reviews form on product-info page, but not working

added a customer reviews form on product-info page, but not working

Locked

Started by breadfan on 12 Nov 2009, 4:52 AM · Views: 1,703

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
12 Nov 2009, 4:52 AM
#1
breadfan avatar

breadfan

New Zenner

Join Date:
Jul 2007
Posts:
52
Plugin Contributions:
0

Post #1 by breadfan

Hi,

I have created a new form on the product_info page just under the product image. The jQuery to slideToggle the div containing the form works fine just as everything else, but...

The form uses the post method with the action being the current url (thus the form submits to itself, so to speak). The problem is that instead of displaying the current page again, it redirects to the shoping cart.
It seems that no matter what I do with the 'action' parameter of the form, the submit button always link to a page with 'action=add_product' parameter in the url.
There is obviously some "interference" with my form and the 'add product to cart' button. I just can't figure it out.

Could anybody please help?

Thanks a lot in advance.

//edit: Here is a link to an example page. The code in question is commented out. Search for 'CUSTOMER FEEDBACK FORM BY BREADFAN' in the code to find it quickly.