marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
IF Statement

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « IF Statement »
Welcome, Guest. Please Login or Register.
12/15/17 at 12:17:35
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   IF Statement
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: IF Statement  (Read 501 times)
carolinaswagger
White Dragon
**

Posts: 13



Go Scots!
   

IF Statement
« on: 05/10/13 at 19:25:12 »
Reply with quote Modify message

The SortOrder works, but when the IF STATEMENT is added, the titles appear reguardless if the product is available.
Basically,
In some sections I only have a handful of products, that appear under the appropriate titles, then a bunch of titles with no products (The titles take up the majority of the page....)

Is there a certain way the TXT has be saved, formatted to get the IF STATEMENT to work...


Code:
<if 755,649,650>
<div class="deptheader">Women's</div>
#This title still shows up, even when products are not listed

<if 262,261,257>
<div class="deptheader">Kids</div>
262
261
257

<if 73,69,258,259,360,>
<div class="deptheader">Baby</div>
#This title still shows up, even when products are not listed

<if 557,595,553,831,509,508,704>
<div class="deptheader">IPHONE/div>
557
595
553
831
509
508
704


###################################################
# These will be sorted to the bottom:
###################################################
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright 2000-2001, X-Null. All Rights Reserved.