Hi,
I have enabled buy now / add to wishlist on the product list pages which include recommended products areas too.
Please visit
http://www.littlebitgreen.com/home.php to view (hopefully launching this coming week).
The buttons don't seem to trigger any action. The buttons do work when you are in the product details page. Is this a javascript problem?
Here is an example of the buttons from the homepage that do not work:
Code:
<form method="post" action="cart.php?mode=add">
<div>
<input type="hidden" name="productid" value="16356" />
<input type="hidden" name="cat" value="" />
<input type="hidden" name="page" value="" />
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" class="BuyNowQuantity">Quantity</td>
<td>
<select name="amount">
<option value="1">1</option>
<option value="2">2</option>
</select>
</td>
</tr>
<tr>
<td class="BuyNowPrices" colspan="2">
<input type="hidden" name="mode" value="add" />
</td>
</tr>
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td><a class="button" href="javascript: document.orderform_16356_1226352918.submit(); return false;" onclick="javascript: document.orderform_16356_1226352918.submit(); return false;;this.blur();return false;" ><span>Buy Now</span></a>
</td>
<td style="padding-left: 20px;">
<a class="button" href="javascript:document.orderform_16356_1226352918.mode.value='add2wl'; document.orderform_16356_1226352918.submit()" onclick="javascript:document.orderform_16356_1226352918.mode.value='add2wl'; document.orderform_16356_1226352918.submit();this.blur();return false;" ><span>Add to wish list</span></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
Any thoughts or solutions?
Thanks
AF
p.s. sorry for the double post in another section but I did not receive any responses.