thaiphan / magento2-s3

Use Amazon S3 as the file storage solution for your Magento 2 application
MIT License
142 stars 95 forks source link

magento 2.2.3: images are not showing for configurable variations after saving through admin #40

Open arunssjoshi opened 6 years ago

arunssjoshi commented 6 years ago

I have a magento (v2.2.3) website and using "thaiphan/magento2-s3" extension for uploading images to s3. Now I am facing an issue with configurable product images uploading.

For configurable variations, the image is only saving for only one size. I have attached the step by step with images. In the last step the images are hidden.

Step1 : Selected two attributes for color and size.

enter image description here

Step2 : Selected two color and two size options for variations

enter image description here

Step3 : Selected 'Apply unique images by attribute to each SKU' and uploaded images for color attribute for two variations

enter image description here

Step4: Two images are applied for 4 variations. ie two colors for each sizes. Everything is fine. Then clicked "Generate products"

enter image description here

Step5: Generated products are successfully showing with correct images and sizes. Then I clicked "Save"

enter image description here

Step6: Here is the issue. when I saved the product only two images are showing. That is the images are only available for first two sizes. That is for size 40.

enter image description here

I think it is actually saving but not showing. Because when I try to edit that configurable variation, that image place holder is there.

enter image description here

Any idea for this issue. It is working perfectly when upload images to the same server. Only s3 has this issue.

adshrc commented 6 years ago

Workaround: Disable the S3 module and everything will be shown properly. Its must be an issue with this extension, because magento does not use the bucket media url while enabled (e.g. http://192.168.99.100/get.php/catalog/product/cache/0b1107d053a289736cde32f4e715ebb1/a/d/xzy.jpg)