Quote:
Originally Posted by w4tchdoge
I also really like how you have categories based on word count in your tag browser, what template did you use in making that column built from other columns?
|
I have a similar column for pricing. Here's the template I use.
Code:
program:
switch_if(
$$#purchasecost == 'none', '',
$$#purchasecost ==# '00.00', '$0.00',
$$#purchasecost <=# '00.99', '$0.01 - $0.99',
$$#purchasecost <=# '04.99', '$1.00 - $4.99',
$$#purchasecost <=# '10.00', '$5.00 - $9.99',
$$#purchasecost <=# '15.00', '$10.00 - $14.99',
$$#purchasecost <=# '20.00', '$15.00 - $19.99',
$$#purchasecost <=# '30.00', '$20.00 - $29.99',
'$30.00 and up'
)