hi,
with the magento plugin comes a way to syncronize the taxonomy. the plugin uses taxonomy_save_term to do this.
create taxonomy work everything fine. but on updating the description doent come with.
i found the problem on the second line of the taxonomy_save_term function
$form_values += array(
'description' => '',
'weight' => 0
);
because the description => '', resets the value so i cant update my description.
if i remove the line that it looks like
$form_values += array(
'weight' => 0
);
my sync works fine
this should be fixed with an if question about the defined variables.
Comments
Comment #1
mdupontClosing this old issue. It should be something else preventing the update since taxomony_save_term() is also called when creating the term and you told it was working. Moreover, union of arrays as if taxonomy_save_term() will result in the submitted value being picked first, so the default value will be used only if there is no description. Maybe an issue with the contrib module that incorrectly uses taxonomy hooks.