Hello,
I want to use the "related_items" code block in a new tab on listing_4 template:
<!--START: related_items0-->
<table cellspacing="0" cellpadding="5" border="0" width="99%" class="alternative">
<tr>
<!--Tama o thumbnail--><td align="center" height="150"><div style="overflow: hidden; height: 150px;"><a href="product.asp?itemid=3474"><img src="thumbnail.asp?file=[THUMBNAIL]&maxx=120&maxy=0" alt="[name]" border="0"></a></div></td>
</tr>
<tr>
<td class="item" align="center" height="30"><a href="product.asp?itemid=3474">[name]</a></td>
</tr>
<!--START: product_review-->
<tr>
<td class="price-info" colspan="2" align="center"><!--START: product_review_average-->
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td><img src="assets/templates/common/images/star0.png" alt="Average Rating" border="0"></td>
<td class="item">0 Review(s)</td>
</tr>
</table>
<!--END: product_review_average--></td>
</tr>
<!--END: product_review-->
<tr>
<td class="price2" valign="top" align="center"><!--START: ITEMPRICE-->[product_yourprice] [ITEMPRICE]
<!--END: ITEMPRICE-->
<!--START: SALEPRICE-->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" align="center" class="item" nowrap="nowrap"><s>[product_yourprice] [ITEMPRICE]</s></td>
</tr>
<tr>
<td colspan="2" align="center" class="item" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td nowrap="nowrap" class="price2">[product_onsale]: [ITEMSALEPRICE]</td>
<td align="right"><img src="assets/images/Liquidacion/on_sale.png" alt="On Sale" hspace="5" border="0"></td>
</tr>
</table></td>
</tr>
</table>
<!--END: SALEPRICE--></td>
</tr>
<tr>
<td class="item" align="center" valign="middle"><input type="button" value="[category_buyitlink]" onclick="window.location='add_cart.asp?quick=1&ite m_id=[catalogid]'" class="btn" onmouseover="this.className='btn_over'" onmouseout="this.className='btn'" /></td>
</tr>
</table>
<!--END: related_items0-->
I am trying to change the variable "catalogID" for the number of my products, but it does not work.
Have you ever tried something like that?
In addition to related items tab and upselling items section, I need another tab with accesories, but I want that this tab has the same design that related items tab.
What do you recommend?
Thanks in advance and best regards.
I want to use the "related_items" code block in a new tab on listing_4 template:
<!--START: related_items0-->
<table cellspacing="0" cellpadding="5" border="0" width="99%" class="alternative">
<tr>
<!--Tama o thumbnail--><td align="center" height="150"><div style="overflow: hidden; height: 150px;"><a href="product.asp?itemid=3474"><img src="thumbnail.asp?file=[THUMBNAIL]&maxx=120&maxy=0" alt="[name]" border="0"></a></div></td>
</tr>
<tr>
<td class="item" align="center" height="30"><a href="product.asp?itemid=3474">[name]</a></td>
</tr>
<!--START: product_review-->
<tr>
<td class="price-info" colspan="2" align="center"><!--START: product_review_average-->
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td><img src="assets/templates/common/images/star0.png" alt="Average Rating" border="0"></td>
<td class="item">0 Review(s)</td>
</tr>
</table>
<!--END: product_review_average--></td>
</tr>
<!--END: product_review-->
<tr>
<td class="price2" valign="top" align="center"><!--START: ITEMPRICE-->[product_yourprice] [ITEMPRICE]
<!--END: ITEMPRICE-->
<!--START: SALEPRICE-->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" align="center" class="item" nowrap="nowrap"><s>[product_yourprice] [ITEMPRICE]</s></td>
</tr>
<tr>
<td colspan="2" align="center" class="item" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td nowrap="nowrap" class="price2">[product_onsale]: [ITEMSALEPRICE]</td>
<td align="right"><img src="assets/images/Liquidacion/on_sale.png" alt="On Sale" hspace="5" border="0"></td>
</tr>
</table></td>
</tr>
</table>
<!--END: SALEPRICE--></td>
</tr>
<tr>
<td class="item" align="center" valign="middle"><input type="button" value="[category_buyitlink]" onclick="window.location='add_cart.asp?quick=1&ite m_id=[catalogid]'" class="btn" onmouseover="this.className='btn_over'" onmouseout="this.className='btn'" /></td>
</tr>
</table>
<!--END: related_items0-->
I am trying to change the variable "catalogID" for the number of my products, but it does not work.
Have you ever tried something like that?
In addition to related items tab and upselling items section, I need another tab with accesories, but I want that this tab has the same design that related items tab.
What do you recommend?
Thanks in advance and best regards.
Comment