Jump to content

Additional column in ps_attribute_lang as second name


Recommended Posts

Hi

I created additional column in ps_attribute_lang table which stores second colors names

I would like to colors name in search filter color get names from this additional column but only for color filter.

which file i should edit?

 

Share this post


Link to post
Share on other sites

You should look for the respective tpl that serves the filters and make this

{if $attribute.name2 != ''}
	{$attribute.name2}
{else}
	{$attribute.name}
{/if}

instead of this

{$attribute.name}

And obviously populate only the wanted attribute/feature with data.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More