Artemy Sokolov asked on May 28, 2014 07:36

Hello, How can i add into product transformation categoryID? Have created new product, added to category "category3" with code name "3" , and now i need to display category name and codename as id

Correct Answer

Filip Ligač answered on May 31, 2014 07:01

Hello Artemy,

In case you are using our Multiple Category Selector form control and you want to display category names instead of their IDs, you would need to write a simple function which returns this name according to the ID (Adding custom methods to transformations).

However, if you do not want to implement any new methods, you can change the control to be just a simple Multiple choice input and you can store category names directly in this field. Please take a look at the screenshot for more details.

Image Text

0 votesVote for this answer Unmark Correct answer

Recent Answers

Artemy Sokolov answered on May 29, 2014 02:43

or there may be other way, i just need somehow get and publish category ID

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.