![]() |
How do you call upon a certian category?
I want to add additional infor for certian categories, but I dont want to add it into the product description.
Well... it will be in the product details.... Under the Add Cart and Add to Wishlist buttons I want to add some text that pertains to that category only. I think its something like: Code:
{if $categoryid="249"}<font color="red">Receive 2 FREE controller skins with the purchase of: Face Plate +2 Sides.</font>{/if} What is the correct {if} statement to call upon a category? {if $..........} |
Re: How do you call upon a certian category?
Code:
{if $cat eq "123"} ... {/if} |
Re: How do you call upon a certian category?
Quote:
YAY !!! Thank you so much. I was close... {if $product.cat eq "123"} ... {/if} Is there a list of these common smarty tags/commands for X-cart anywhere? If not, I think it would be a great guide like balinor's template editing guide. |
Re: How do you call upon a certian category?
|
All times are GMT -8. The time now is 02:04 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.