Thanks for the help. I used these posts to help with a mod I have done to flag products active and inactive. (
Why SS has not done this for the past 6 years I have used the product I will never know. How hard would it be to have a active/inactive checkbox on the product page. Yes I have asked a dozen times.)
Now I can have two columns on the Category Pages without blanks for products I have flagged inactive.
THANKS!
Page Template
<tr>
[-- VAR.product 0 --]
[-- LOOP PRODUCTS --]
[-- PRODUCT --]
[-- END_LOOP PRODUCTS --]
</tr>
Product Template
#<!-- ------------------------------------------------ -->#
#<!-- ------------------- Product -------------------- -->#
#<!-- ------------------------------------------------ -->#
[-- DEFINE PRODUCT --]
[-- VAR.define "product" --]
[-- INCLUDE awesome_orange_001_pr_vars.sst PROCESS --]
##############################################################################
# CHECK FOR ACTIVE PRODUCT
[-- IF PRODUCT.Field1 "1" --]
##############################################################################
<td valign="top" class="products_content">
<table width="700" border="0" class="product_list">
<tr class="product_list_row_1">
<td class="product_list_1a"></td>
<td class="product_list_1b"></td>
<td class="product_list_1c"></td>
</tr>
<tr class="product_list_row_2">
<td class="product_list_2a"></td>
<td width="350" class="product_list_content">[-- INCLUDE awesome_orange_001_pr_include.sst PROCESS --]</td>
<td class="product_list_2c"></td>
</tr>
<tr class="product_list_row_3">
<td class="product_list_3a"></td>
<td class="product_list_3b"></td>
<td class="product_list_3c"></td>
</tr>
</table>
</td>
[-- VAR.product INC --]
[-- IF VAR.product "2" --]
</tr><tr>
[-- VAR.product "0" --]
[-- END_IF --]
##############################################################################
# CHECK FOR ACTIVE PRODUCT
[-- END_IF --]
[-- END_DEFINE PRODUCT --]