• Resolved mcdeth

    (@mcdeth)


    I need to set specific custom meta field to a:0:{} only for products where the attribute pa_brand is set to specific value.

    If I set this field directly in the import template, it gets created as an empty meta field for all products, which I want to avoid (I would get suddenly 30k empty meta fields)

    Would the best approach be using the pmxi_saved_post action hook with php function? Or is there a better way to handle this? I don’t want to run this on every time I update the product stock

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.