Home New Guten › Forums › WoodMart support forum › Attribute does not get automatically chosen when “Show single variation”
Attribute does not get automatically chosen when “Show single variation”
- This topic has 18 replies, 3 voices, and was last updated 2 months, 1 week ago by
Luke Nielsen.
-
AuthorPosts
-
May 25, 2025 at 12:06 pm #663076
raz.soferParticipantHi. I already have a ticket open but if this can be solved as well that would be great.
We have the “Show single variation” and “Hide variations parent” chosen in theme settings.
When entering a product variation, the color does not get auto chosen and the customer has to double choose (even though he “chose” the variation outside of the product page).
I have attached a product for example and login details.May 26, 2025 at 1:56 pm #663233
Aizaz Imtiaz AwanKeymasterHello,
Could you please record a short video and describe how we can reproduce the issue on your website so we can check this for you?
Thanks for your patience.
Best Regards,
May 26, 2025 at 2:16 pm #663244
raz.soferParticipantHello Aizaz, video attached
May 27, 2025 at 8:28 am #663417
Aizaz Imtiaz AwanKeymasterHello,
Sorry, this is not possible to achieve through the theme settings. The variation is not auto-selected on the single product page, even when a specific variation was clicked from the shop page.
Alternatively, you can use the “Default Form Values” option in the product edit screen. However, please note that it will always pre-select the same variation every time the product page loads, regardless of what was selected on the shop page.
Best Regards,
May 27, 2025 at 2:24 pm #663567
raz.soferParticipantThank you Aizaz.
I respect your answer. But I do think that I did not explain correctly.
When pressing the product colour from shop page, the attribute does get selected in the URL. Just not shown correctly on the product page after redirection.
https://prnt.sc/khNtXXvbL_cHMay 27, 2025 at 4:23 pm #663608
Aizaz Imtiaz AwanKeymasterHello,
Thank you for the clarification.
I’ve tested this behavior on our test site, and when clicking a single variation product with a URL like this:
https://example/shop/laptops/apple-macbook/apple-macbook-pro-13-m2/?attribute_pa_color=space-grayIt correctly redirects to the variation page, and the selected attribute is applied automatically. To ensure everything works properly on your site as well, please follow these steps:
Update all your products – especially those with variations – to make sure the variation data is properly saved.
Deactivate all the 3rd party plugins and activate only theme-required plugins on the site, and then check the issue. I am sure your issue will be solved. Then activate the 3rd party plugins one by one and check which plugin is creating the issue for you.Otherwise, if the issue still exists, then keep the 3rd party plugins deactivated and let me know so I can check and give you a possible solution. Also, switch the child theme to the parent theme and check the issue after completely clearing the browser cache and server cache.
Best Regards,
May 30, 2025 at 4:18 pm #664256
raz.soferParticipantI will try and update
May 31, 2025 at 8:51 am #664351
Aizaz Imtiaz AwanKeymasterHello,
Please take your time, and feel free to let us know if you need any assistance during the process. We’re here to help!
Best Regards,
June 5, 2025 at 10:15 am #665477
raz.soferParticipantSame issue on staging website
Details attachedJune 5, 2025 at 1:56 pm #665538
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say I have not seen the issue on your staging site. Could you please record a short video and describe how we can reproduce the issue on your website so we can check this for you?
Best Regards,
June 5, 2025 at 2:17 pm #665548
raz.soferParticipantIn private content.
Just choose attribute products “outside” of product page. You will still be redirected to a cleared option, even though it shows that attribute is selected.June 6, 2025 at 8:41 am #665687
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say your admin login URL redirects to the account page after logging to your site. So, I am unable to log in to your site. Please give me the site access so I can check and give you a possible solution.
Additionally, share the page URL where the issue persists so I can further check on your site and give you a possible solution.
Best Regards,
June 8, 2025 at 3:44 pm #666033
raz.soferParticipantHello Aizaz. Attached.
The issue is with all variated products.June 9, 2025 at 3:20 pm #666196
Luke NielsenKeymasterHello,
Here is a video from my end – https://dropmefiles.com.ua/en/LxRZX3K9e and it seems to work well. Your previous videos are not available now, so if I misunderstood you, please resend the video you sent before.
Also, what password for the link you provided – https://prnt.sc/zjX6FTkVZyCc
Kind Regards
June 9, 2025 at 3:27 pm #666198
raz.soferParticipantAs you can see in your video – once you press the white variation, the white variation is selected in theory (it is selected but not functional 100%).
but in practice, the problems are:
1. The product photo shows the black variation unless you clear and reselect white.
2. If you press add to cart or buy now, the site asks you to select a variation first, even though it is already selected
about password, attachedJune 9, 2025 at 4:18 pm #666209
raz.soferParticipantHi Aizaz, I noticed you logged in to main website, use staging. Attached
June 9, 2025 at 5:34 pm #666222
Luke NielsenKeymasterHello,
Choosing a variable form is a default functionality, and to make it work correctly, the slug attribute must be in Latin characters. So please update the slugs and recheck the issue.
Kind Regards
June 9, 2025 at 5:52 pm #666253
raz.soferParticipantFixed, awesome, thank you Luke!
June 9, 2025 at 5:53 pm #666254
Luke NielsenKeymasterHello,
Thank you for confirming that the issue has been resolved. It was our pleasure to assist you.
If you encounter any other issues or have further questions, please don’t hesitate to reach out. We’re here to help.
Best Regards
-
AuthorPosts
The topic ‘Attribute does not get automatically chosen when “Show single variation”’ is closed to new replies.
- You must be logged in to create new topics. Login / Register