-
Notifications
You must be signed in to change notification settings - Fork 305
Open
Description
Since #329 the situation regarding image in multi-store setup has greatly improved. I had all store view images positions set to 0, and now they are correctly incremented from 1 to N.
I'm using media_gallery_reset=1 because I need to have a different order from time to time for a given store view.
My media_gallery scope is global and thus:
resetGalleryis called with the admin store (respects the attribute scope withgetItemStoreIds)addImageToGalleryis called with the item store views (does not respect the attribute scope but uses the item store views directly usinggetStoreIdsForStoreScope)
Both seems to join on the same data and in the same way. Is this normal that they do no work on the same stores ?
I feel they should both use $this->getItemStoreIds($item, $gattrdesc["is_global"]) and I should change my media_gallery attribute scope to store.
I can provide a PR for this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels