Variant selection

Solved
e-galaxy
Visitor
3 0 0

Dear Community

 

We have a problem with our site that the variant selection is not working.

As an example, I have added a link to our product below.

 

If you click on the "Gold" variant, the image should actually change. But the image only changes when you click on the variant "Gold" and the page reloads. We use the themes Yuva. It worked with our old theme Taste.

 

https://www.e-galaxy.ch/collections/beauty/products/luxury-hiphop-street-style-snake-medusa-pendant-...

With some of our products it works and with some it doesn't.

 

In addition, the variant selection is not displayed for all products, see the link below. We did not have this problem before.

https://www.e-galaxy.ch/collections/wohlbefinden/products/10ml-with-dropper-black-opium-perfume-frag...

 

Does someone has a solution?

 

Best Regards

 

Danijel

Accepted Solution (1)
Akibhusen
Shopify Partner
715 121 143

This is an accepted solution.

There could be a few possible reasons for this issue. Here are some troubleshooting steps you can try:

  • Check variant images: Ensure that the variant images are properly set up for each variant in the product settings. Make sure that each variant has the correct image assigned to it.

  • Verify theme settings: Go to your Shopify admin panel, navigate to "Online Store" and click on "Themes". Select the Yuva theme and click on "Customize" to access the theme settings. Look for any specific settings related to variant image switching or product options. Make sure they are configured correctly.

  • Examine customizations: If you have made any customizations to the theme code, particularly related to variant selection and image switching, review the changes you made. Check for any conflicts or errors in the code that might be preventing the variant images from updating dynamically.

  • Test with a different theme: If possible, try switching to a different theme temporarily to see if the variant selection and image switching work as expected. This will help determine if the issue is specific to the Yuva theme or if it's a broader problem.

 

If nothing from the above then let me know I can help you with a solution.

View solution in original post

Replies 2 (2)
NomtechSolution
Trailblazer
1245 111 139

The issue you're facing with variant selection not working correctly and the image not changing dynamically could be due to a few reasons. Here are some troubleshooting steps you can take to resolve the problem:

  1. Check variant image setup: Ensure that each variant in your product has a corresponding image assigned to it. Sometimes, missing or incorrectly assigned variant images can prevent the image from changing when selecting a different variant. Edit your product in the Shopify admin and make sure each variant has the correct image assigned.

  2. Review theme settings: Double-check the settings in your Yuva theme to ensure that variant selection and dynamic image changes are enabled. Go to "Online Store" > "Themes" > "Customize" for your Yuva theme and look for any settings related to variant selection or product images. Make sure they are configured correctly.

Chat on WhatsApp: +923246370042
Need a Shopify developer? noumanmasood64@gmail.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Akibhusen
Shopify Partner
715 121 143

This is an accepted solution.

There could be a few possible reasons for this issue. Here are some troubleshooting steps you can try:

  • Check variant images: Ensure that the variant images are properly set up for each variant in the product settings. Make sure that each variant has the correct image assigned to it.

  • Verify theme settings: Go to your Shopify admin panel, navigate to "Online Store" and click on "Themes". Select the Yuva theme and click on "Customize" to access the theme settings. Look for any specific settings related to variant image switching or product options. Make sure they are configured correctly.

  • Examine customizations: If you have made any customizations to the theme code, particularly related to variant selection and image switching, review the changes you made. Check for any conflicts or errors in the code that might be preventing the variant images from updating dynamically.

  • Test with a different theme: If possible, try switching to a different theme temporarily to see if the variant selection and image switching work as expected. This will help determine if the issue is specific to the Yuva theme or if it's a broader problem.

 

If nothing from the above then let me know I can help you with a solution.