Hey all,
I have enabled SEO Urls in the admin section and the URL Type is set to "Rewrite". I noticed that when I click on the "Add to cart" button for some of the products , the url breaks and "page cant be found" message is displayed, although the item does show up in the shopping cart. I viewed the source of the page and saw that the form tag wraps to the next line like this
<form name="cart_quantity" action="http://mydomain.com/product-demo
-p-718.html?action=add_product" method="post">
It doesnt happen everytime, but only for some products. Has anybody encountered this before? I tried adding the 'nowrap' attribute to the td tag that contains the form, but to no avail.
This is the code
print '<td width="100%" valign="top" nowrap>'. tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')).';
print '</td>';