Jump to content

Show info on product page depending category


Recommended Posts

in this case you have to edit product.tpl file located in your theme directory.

 

you need to add some if conditions to check for what category product belogs - then display some content.

 

for example:

{if $product->id_category_default ==3}
{l s='some content'}
{/if}

{if $product->id_category_default ==4}
{l s='some content for category 4'}
{/if}

etc.

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...