As part of my last post under the email $URL topic, I asked a question if it was possible to show only items that had open auction dates. I figured it out and thought I'd share in case anyone else wanted to make this change.
Modify templates/public_product_list.html and change:
- Code: Select all
{foreach from=$products item=product name=product}
<li><a class="product-link" href="{$product->getURL('-action=view')}">
to:
- Code: Select all
{foreach from=$products item=product name=product}
{if $product->val('isOpen')}
<li><a class="product-link" href="{$product->getURL('-action=view')}">
Don't forget to add the endif {/if} just before the close of the foreach loop ie:
- Code: Select all
{/if}
{/foreach}
Cheers,
J.