Jump to content

Disable some product in a language


Recommended Posts

I found a solution.

I'm not a good Smarty developer, so I found a solution that enable (or disable) categories directly on to the template .TPL

 

In category-tree-branch.tpl, here is the idea ;

 

Language detection:

{if $lang_iso|upper=="FR"} 

 

ID categories detection:

{if ($node.id == 1)} 

  • Like 1
Link to comment
Share on other sites

  • 2 years later...

Hi ;)
This topic is really old now :)

It was for a v1.5, and like I said I used this on .tpl :
 

Quote

 

Language detection:

{if $lang_iso|upper=="FR"} 

 

ID categories detection:

{if ($node.id == 1)} 

 

 

I don't know if it's possible on back-office right now (v.1.7), I checked quickly and I found nothing :/

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