Jump to content

Change name attribute


Totti

Recommended Posts

hello, i have a problem

 

$myAttribute_ITA = new Attribute($value['id_attribute'],1);
$myAttribute_ITA->name = "nuovo nome";
$myAttribute_ITA->update()

If I use this code for the Italian language it works if I use this it doesn't save me anything, is it a bug or am I missing something?

 

$myAttribute_ENG = new Attribute($value['id_attribute'],2);
$myAttribute_ENG->name = "nuovo nome";
$myAttribute_ENG->update()

 

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