Ensure that product sync/differ create only one update action for setAttributeInAllVariants
If product has 5 variants with attribute brand and brand has been changed in all variants from A to B then product-sync will generate 5 update actions of type setAttributeInAllVariants. It should generate only one update action per product and attribute flaged as sameForAll.
Sounds good :+1:
Can you make a PR?
:+1: would be nice to get a PR :+1:
@butenkor please provide a test case first - as this feature should be working already! https://github.com/sphereio/sphere-node-sdk/blob/master/src/spec/sync/utils/product.spec.coffee#L870
@hajoeichler Yes test seems to be correct. @panshul007 Can you still reproduce this issue?
Is this still a problem?
@panshul007 This question is for you. Next time create issues yourself ;)