Jump to content

Function with category id


wsky

Recommended Posts

Hi I have a problem with the creation of a function. I would like to create a function that displays products in the category ID 70, and this category isnt the main category.

I create this function and i add this to image-container

    {if $category->id == 70}  FREE SHIPPING  {/if}
    
    
    but this display label only on id 70 category page. I want the product to include the category id 70, but it is not the main category.

 

    
Can u help me? Sorry for my english :)

Edited by siony (see edit history)
Link to comment
Share on other sites

po co na polskim forum piszesz po angielku i jeszcze za niego przepraszasz? 

 

tak nie do konca da sie z tego w szczegolach wylapac o co chodzi, nie do konca rozumiem o co chodzi z tymi twoimi kateogoriami... ID 70 nie jest kateogria 'main' co by to nie znaczylo... no wlasnie, co by to mialo znaczyc? ze jest podkategria? jest kategoria glowna 'home' ? (ta druga - tzw. produkty polecane, to kat ID 2) 

 

moze poprostu opisz swoj problem po "polskiemu" i bedzie mozna szybciej pomoc. opisz dokladnie co u ciebie jest kategoria "main'

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...