I've added the code for Make an Offer to my listing template - but obviously I've messed up the table rows/columns as the 'make offer' shows at the top of the page instead of after the Add to Cart Button
Here is the section of code I thought I need to add to with my changes highlighted.
I inserted the <tr> </tr> because I thought I would need a new row - but obviously I messed it up.
You can see my results here: 101 Christmas Ornaments - Counted Cross Stitch Pattern
Can anyone tell me what I did wrong? I'm sure I need a <td> or even a new table - but I'm stumped - this is so not my strong suit.
Here is the section of code I thought I need to add to with my changes highlighted.
Code:
<!--START: addtocart-->
<tr>
<td colspan="2"><img src="assets/templates/common/images/spacer.gif" border="0" alt="" height="12"></td>
</tr>
<tr>
<td colspan="2"><table>
<tr>
<td align="right" class="item"><strong>[product_quantity]</strong></td>
<td align="center" width="70" class="price-info"><!--START: qtybox-->
<input type="text" size=3 name="qty-0" value=1 onChange="validateValues(document.add,1);">
<!--END: qtybox--></td>
<td width="50" align="left" class="price-info"><input type="button" onClick="check_and_add(document.add);" name="Add" value="[product_addtocart]" class="btn" onMouseOver="this.className='btn_over'" onMouseOut="this.className='btn'">
</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" class="options-titles" ><img src="assets/templates/common/images/spacer.gif" border="0" alt="" height="7"></td>
</tr>
<!--END: addtocart-->
<!--START: make_an_offer-->
<tr>
<div style="padding: 2px;">- or -</div>
<div id="Div1">
<input type="button" onClick="javascript:popup('makeanoffer.asp?action=newOffer&catalogid=[catalogid]',640,410,false);" name="makeonoffer" value="[product_make-an-offer]" class="btn" onMouseOver="this.className='btn_over'" onMouseOut="this.className='btn'">
</div>
</tr>
<!--END: make_an_offer-->
<tr>
<td colspan="2"><table cellpadding="0" cellspacing="0">
<!--START: product_availability-->
<tr>
<td class="font2"><b>[product_Header-availability]</b></td>
<td class="font2"><div id="availability">[availability]</div></td>
</tr>
<!--END: product_availability-->
</table></td>
You can see my results here: 101 Christmas Ornaments - Counted Cross Stitch Pattern
Can anyone tell me what I did wrong? I'm sure I need a <td> or even a new table - but I'm stumped - this is so not my strong suit.
Comment