cancel
Showing results for 
Search instead for 
Did you mean: 

Apply category to product in automatic fashion

Former Member
0 Kudos

Hi there!

Is there a way in hybris to put products into product category in a rule based fashion? I am importing products from SAP ERP but I would like to differentiate them into categories based on a specific value of a field. So if the value of FieldX is "A", put product into category A, is value is "B" put product into Category B or something like that.

Thanks!

Zoli

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

If you use data hub, you could also directly add value to product attribute "supercategory"

Former Member
0 Kudos

Hi Zoltan

I think hook in actions may help you. You can try to create a Custom Action extends Create Action and override afterCreate method and you can customize your logic there.

Thanks & Regards, Yan

Former Member
0 Kudos

Yea I found this approach amongst the questions, but I am searching for something easier and something that could apply to existing products. The method you shared would need deleting and reimporting products if I am not mistaken.