Closed thisiscab closed 7 years ago
By default, we were taking the first image to upload to Shopify. Here is the code referencing that case: https://github.com/glossier/solidus_retail/blob/ad24899403f39b0973e02494f254965ba3734692/app/models/variant_decorator.rb#L4
After a conversation with the client, they expect us to take the first image that has the valuelist for the property ui_hook.
list
ui_hook
We'll have to override the default behavior on Glossier to include the behavior they want.
This has been done here: https://github.com/glossier/glossier-v2/pull/1166/commits/c848792fb329f08fc66c50dc380adf7f7e25d76d
By default, we were taking the first image to upload to Shopify. Here is the code referencing that case: https://github.com/glossier/solidus_retail/blob/ad24899403f39b0973e02494f254965ba3734692/app/models/variant_decorator.rb#L4
After a conversation with the client, they expect us to take the first image that has the value
list
for the propertyui_hook
.We'll have to override the default behavior on Glossier to include the behavior they want.