Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in product image variants #10479

Open
Parth-Joshi opened this issue Sep 10, 2020 · 0 comments
Open

Issue in product image variants #10479

Parth-Joshi opened this issue Sep 10, 2020 · 0 comments

Comments

@Parth-Joshi
Copy link

I have an issue in Spree product image variants in product details page.

My Setup versions:

Rails version: 6.0.3.2
Ruby version: ruby 2.7.1p83

spree (4.1.7)
spree_api (= 4.1.7)
spree_backend (= 4.1.7)
spree_cmd (= 4.1.7)
spree_core (= 4.1.7)
spree_frontend (= 4.1.7)
spree_sample (= 4.1.7)

I have taxon as categories -> women -> skirts and one product named Flared Midi Skirt with 3 variants as below:
s1

When i upload 3 images to all variants as below then its working fine:
s2

and all 3 images are shown for all variants as below:
s3

Now, if i change variant of image 3 to color black as below:
s4-1

then the issue is that no image appears in color red for any size selected/unselected even though we have 2 images attached to all variants as below:
s4

and only image 3 is shown when black color is selected a below:
s5

So, as per my understanding, image 1 and 2 should appear in all 3 variants and image 3 should be added in color black variant.

Second try: If i attach image 2 to variant with color red and size S as below:
s6

then no image appears on any color(red/black) or any size even we select it or not in product detail page as below:
s7

There is no error in browser console as well as in rails logs.
So, Have i misunderstood variant and images concept or is there an issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant