I'm trying to set up an new category that will have nearly 500 colors of thread in it. It must show how many are in stock so the customer will know how many they can order (they often order multiples of one color)
I added the following code to my other listing pages and it works great.
<!--START: product_availability-->
<tr><td class="item">[product_Header-availability]</b> [stock]</td></tr> <!--END: product_availability-->
I tried to copy the same code and put it in category_1.html and I get garbage characters instead of the in stock number. (here: DMC Floss)
The highlighted area is the part I added.... Any ideas what I did wrong??? I'm terrible at web programming (obviously)
<!--START: ITEM_TEMPLATE_0-->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td colspan="2" align="center" valign="middle"><a href="product.asp?itemid=[catalogid]&catid=[catid]"><img src="[THUMBNAIL]" alt="[name]" border="0"></a></td>
</tr>
<tr valign="middle">
<td colspan="2" class="item" align="center"><a href="product.asp?itemid=[catalogid]&catid=[catid]">[name]</a></td>
</tr>
<!--START: product_availability-->
<tr><td class="item">[product_Header-availability]</b> [stock]</td></tr> <!--END: product_availability-->
<tr>
<td class="price" align="center" valign="middle" colspan="2">
<!--START: ITEMPRICE-->
[ITEMPRICE]
<!--END: ITEMPRICE-->
<!--START: SALEPRICE-->
<s>[ITEMPRICE]</s><br>[ITEMSALEPRICE]
<!--END: SALEPRICE-->
</td>
</tr>
<tr>
<td class="item" colspan="2" align="center" valign="middle">[product_quantity] <input type=hidden name="item_id" value="[catalogid]"><input type="text" size="2" name="qty-[counter]" value=0 class="txtBoxStyle"></td>
</tr>
</table>
<!--END: ITEM_TEMPLATE_0-->
I added the following code to my other listing pages and it works great.
<!--START: product_availability-->
<tr><td class="item">[product_Header-availability]</b> [stock]</td></tr> <!--END: product_availability-->
I tried to copy the same code and put it in category_1.html and I get garbage characters instead of the in stock number. (here: DMC Floss)
The highlighted area is the part I added.... Any ideas what I did wrong??? I'm terrible at web programming (obviously)
<!--START: ITEM_TEMPLATE_0-->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td colspan="2" align="center" valign="middle"><a href="product.asp?itemid=[catalogid]&catid=[catid]"><img src="[THUMBNAIL]" alt="[name]" border="0"></a></td>
</tr>
<tr valign="middle">
<td colspan="2" class="item" align="center"><a href="product.asp?itemid=[catalogid]&catid=[catid]">[name]</a></td>
</tr>
<!--START: product_availability-->
<tr><td class="item">[product_Header-availability]</b> [stock]</td></tr> <!--END: product_availability-->
<tr>
<td class="price" align="center" valign="middle" colspan="2">
<!--START: ITEMPRICE-->
[ITEMPRICE]
<!--END: ITEMPRICE-->
<!--START: SALEPRICE-->
<s>[ITEMPRICE]</s><br>[ITEMSALEPRICE]
<!--END: SALEPRICE-->
</td>
</tr>
<tr>
<td class="item" colspan="2" align="center" valign="middle">[product_quantity] <input type=hidden name="item_id" value="[catalogid]"><input type="text" size="2" name="qty-[counter]" value=0 class="txtBoxStyle"></td>
</tr>
</table>
<!--END: ITEM_TEMPLATE_0-->
Comment