Needs review
Project:
Commerce Amazon MWS
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2017 at 12:54 UTC
Updated:
29 Nov 2017 at 20:15 UTC
Jump to comment: Most recent, Most recent file
We should add a final hook just before the values are uploaded in the transpose() function so that other modules can modify them before they go out.
Comments
Comment #2
shabana.navas commented-
Comment #3
shabana.navas commentedComment #4
shabana.navas commentedComment #5
travis-bradbury commentedShould this be `amazon_mws_node_value` instead of variation_value? Or, if we're just doing one alter hook, should we pass in other information like the entity type or the entity itself?
Comment #6
shabana.navas commentedYeah, good suggestion there @tbradbury. Since we're passing in most of the info already, it would be nice to pass in the entity itself as well. I'll go ahead and submit another patch with those changes.
Comment #7
shabana.navas commentedUpdated patch. Changes added from recommendations in #5.
Comment #8
shabana.navas commentedComment #9
shabana.navas commentedComment #10
mbreden commentedOn the latest patch (-9), the second
Will/might have an undefined $variation variable.