Grin Posted January 26, 2011 Share Posted January 26, 2011 The main category is 'Home'. This category includes two subcategoies - 'Sub1' and 'Sub2'.I wanna see in homefeatured and product-list 'Text1' or 'Text2' under product price if current product belongs to 'Sub1' or 'Sub2'.How can i write this condition in code?I tried to do like this: {if ($CategoryID != 5)}{l s='Text1'}{/if] {if ($CategoryID != 6)}{l s='Text2'}{/if] But it is wrong. Link to comment Share on other sites More sharing options...
Grin Posted January 26, 2011 Author Share Posted January 26, 2011 Anybody knows? Link to comment Share on other sites More sharing options...
Grin Posted January 27, 2011 Author Share Posted January 27, 2011 So? Link to comment Share on other sites More sharing options...
Patric Posted January 27, 2011 Share Posted January 27, 2011 If you want some help about development, why don't you post into "Development" ? :/Topic moved. Please post in the good sections. Link to comment Share on other sites More sharing options...
Grin Posted January 30, 2011 Author Share Posted January 30, 2011 Sorry So, who knows? Link to comment Share on other sites More sharing options...
sors Posted January 30, 2011 Share Posted January 30, 2011 $product.id_category_default Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now