Update variant media page to allow multiple images #2093
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the variant media screens to allow multiple images to be attached to the product, rather than just a primary image. This aligns with the behaviour before Lunar 1.x.
It now looks more like this:
![CleanShot 2025-02-07 at 07 45 02@2x](https://private-user-images.githubusercontent.com/51899/410811223-638fa74b-3a37-418c-a3df-58e6a7f2163e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTM0NjAsIm5iZiI6MTczOTIxMzE2MCwicGF0aCI6Ii81MTg5OS80MTA4MTEyMjMtNjM4ZmE3NGItM2EzNy00MThjLWEzZGYtNThlNmE3ZjIxNjNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDE4NDYwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBkOGYzZTUxM2QzNGYzYjhmNTk0YzFjMDZlMzdlNzg1YzBkZTZlOGJhMmVhZDVhZjUyM2RlYjJlYTAwZGFhMmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZTVysdOPz45nlVhiiNTNWtrVaDS2nRXXtUew-N-TN-w)
As this is now a relation manager we've lost the shout boxes you had in place, if there's a way to still have those I think it would be useful. Let me know if I've missed how this could be done.