Set different product images per languages
Product information "Set different product images per languages"
Highlights
Product images for each language different / set individually Preview images for each language different / set individuallyÂ
Features
Show product images depending on language Display product image preview depending on the desired language Fallback function, if no correct assignment of the preview / image order to the language has been madeÂ
Why do you need that plugin
You want to use different product images for a product, depending on the selected language - then this is not possible with the Shopware standard. An image can only be displayed in all languages and thus sales channels.With this plugin you can define which product image should be displayed for each language.
Use of the plugin
After successful installation of the plugin, new functions are available for the products in the media area.When you mouseover a product image in the admin area, the familiar ... If they click on it, "Configure image/cover" appears, the following configurations are then possible:
- Use as default cover
- The image should be available in the following languages
   please type in the desired language for which the image should be displayed
- After the language has been selected, the function Use this image as cover for "xxxx" will appear
Â
- Code optimization.
- Code optimization.
- Fixed an issue that variant images were not loaded in the storefront.
- Code optimization.
- Fixes an issue that the cover image was not replaced.
- Fixes issue on display image configuration.
- Improves plugin compatibility.
- Fixes the issue on assigning display image configuration to the new product media.
- Improved plugin compatibility with Shopware 6.7.
- Improved plugin compatibility with Shopware 6.7.
- Fixes issue on assigning product display configuration.
- Compatibility with Shopware 6.7.
- Support for the following languages: de-DE, en-GB, nl-NL, fr-FR, es-ES, fi-FI, nn-NO, sv-SE, cs-CZ, pt-PT, tr-TR, da-DK, it-IT, pl-PL, bs-BA
- Fixes an issue that the cover image was not replaced.
- Fixes issue on display image configuration.
- Improves plugin compatibility.
- Fixes the issue on assigning display image configuration to the new product media.
- Fix for potential issues during the installation of the plugin via Composer from the Shopware Community Store.
- Fixes issue on assigning product display configuration.
- Improves plugin compatibility.
- Displays configured country flags for configured images at the product detail page in the admin.
- Improves plugin compatibility.
- Adds new plugin configuration for truncating the existing display image language configuration on product import via SYNC API.
- Updates language ids and improves compatibility.
- Optimizes replacing not available default cover.
- Improves loading of the images for the active language.
- Optimizes loading of the image configuration modal in the admin.
- Optimized compiled js files.
- Compatibility with Shopware 6.6.
- Code optimization.
- Displays configured country flags for configured images at the product detail page in the admin.
- Adds new plugin configuration for truncating the existing display image language configuration on product import via SYNC API.
- Updates language ids and improves compatibility.
- Improves loading of the images for the active language.
- Optimizes sorting of the configured images.
- Improved compatibility with other plugins.
- Improved compatibility with the Shopware CMS plugin
- Improves plugin compatibility.
- Improves plugin compatibility.
- Improves plugin compatibility with Shopware versions >= 6.5.0.0.
- Optimizes loading of the media.
- Fixes a bug on loading of the media in the CMS image gallery element.
- Change of the plugin name and the manufacturer links.
- Loads product media configurations on product export.
- Improves compatibility with Shopware >= 6.4.10.0.
- Optimizes loading of the media in CMS image gallery element.
- Optimizes image configuration in admin.
- Optimizes replacing of the cover image.
- Release
Login
Yes, this is possible - here is an example: Sync-API Aufruf: /api/_action/sync
[
{
"key": "write",
"action": "upsert",
"entity": "product",
"payload": [
{
"id": "44211790f53d485cb59d9cdcce607c12",
"coverId": "380e35f6a4b2446fb1ae86a6fdfdc482",
"media": [
{
"id": "201188140388444d9f6ac8a143d4afc2",
"position": 0,
"acrisProductDisplayImage": {
"languages": [
{
"id": "d34fa0aad2544b3b91f1ae58d73eff23"
},
{
"id": "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
}
],
"useImageAsCoverForLanguage": [
{
"languageId": "d34fa0aad2544b3b91f1ae58d73eff23",
"value": false
},
{
"languageId": "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
"name": "English",
"value": false
}
]
}
},
{
"id": "380e35f6a4b2446fb1ae86a6fdfdc482",
"acrisProductDisplayImage": {
"languages": [
{
"id": "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
}
],
"useImageAsCoverForLanguage": [
{
"languageId": "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
"value": true
}
]
}
},
{
"id": "a2094d86f4de429784de005c792dba67",
"position": 2
}
]
}
]
}
]
* „languages“ describes to which languages the images are assigned. Here you have to take the UUID of the language. * „useImageAsCoverForLanguage“ describes in which languages the image should be used as cover. Of course, there should only ever be one image as a cover per language.
Yes. The plugin does not provide its own store API route, but the plugin implements the logic when loading products (technical event: ‘sales_channel.product.loaded’). This allows the plugin to ensure that only the media assigned to the respective language is loaded with the product.