Inserting 'No items available' message on products summary
Posted: Mon May 18, 2009 2:46 pm
I am quite stumped at the moment! I want to add an if statement to my products summary template to tell the users that there are no items available rather than get a blank page as happens at the moment
I have tried the following statements among others but am not getting anywhere fast.
{if !$entry}
no items message
{/if}
{if !empty ($entry)}
no items message
{else}
Summary Template etc
{/if}
{if $entry == "0"}
no items message
{/if}
Any help gratefully appreciated
I have tried the following statements among others but am not getting anywhere fast.
{if !$entry}
no items message
{/if}
{if !empty ($entry)}
no items message
{else}
Summary Template etc
{/if}
{if $entry == "0"}
no items message
{/if}
Any help gratefully appreciated