This attribute only has 1 color and 1 dimension.
https://share.cleanshot.com/75ymJV8w
When selected, can I make all other colors unclickable and crossed out like here
https://share.cleanshot.com/lj9ldqrR
This topic has 20 replies, 3 voices, and was last updated 1 months ago ago by Andrew Mitchell
This attribute only has 1 color and 1 dimension.
https://share.cleanshot.com/75ymJV8w
When selected, can I make all other colors unclickable and crossed out like here
https://share.cleanshot.com/lj9ldqrR
Hello,
Thank you for reaching out to us.
Go to your WordPress Dashboard > WooCommerce > Settings > Products > Inventory. Ensure that the “Enable stock management” option is checked.
Best regards,
8Theme’s Team
this is already enabled
Hello,
Thank you for reaching out to us.
Could you kindly provide the URL to the product page from your example, along with temporary wp-admin access, so we can assist you further?
We look forward to your response.
Best regards,
8Theme’s Team
sending login ingo
Also, now I see atributes are crossed out, but only for a second when page loads.
https://share.cleanshot.com/KlHs6426
Hello,
We appreciate your prompt response.
Could you kindly provide the URL of the product shown in your screenshot? This will help us assist you more effectively.
Best regards,
8Theme’s Team
It’s not published, hope this link will work
https://ergovision.si/?post_type=product&p=10436&preview=true
if not, product name is CLASSIC 2
Hello, ziga32,
Thank you for reaching out to us. First and foremost, we kindly recommend updating your theme to the latest version, as it is possible that the issue you are experiencing has already been resolved in one of the updates.
If updating the theme does not resolve the problem, we suggest trying an alternative stock logic for swatches. You can enable this option by navigating to:
Customizer -> WooCommerce (Shop) -> Shop Elements -> Variation Swatches -> Use Alternative Stock Logic
Should you require further assistance, please do not hesitate to contact us.
Best regards,
The 8Theme Team
thank you, I updated and enabled alternative stock logic, but it’s the same
https://share.cleanshot.com/VrwKKlNJ
Here is a gif video, after refreshing it appears ok for a second.
Hello, ziga32,
Thank you for your message. However, we are unable to replicate the issue on our end. Could you please provide us with a link to the product featured in the video, as well as FTP access?
Best regards,
8Theme’s Team
what do you mean?
for example here
https://ergovision.si/pisarniski-stoli/ergonomski/ergo-basic/
blue, red and white/gray chairs are out of stock and atributes should be crossed out.
If I refresh it looks ok for fist two seconds
https://share.cleanshot.com/Yk1Qrp92
Thank you for providing the access details. However, we are unable to connect to the FTP server as we are encountering the following error:
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server
can you try this new account please
if it’s not working send my your IP
Hello, ziga32,
Greetings! You can find the IP in the private content section.
Best regards,
The 8Theme Team
done, please try now
Thank you for providing access. We have identified the cause of the issue. The problem was related to a custom code snippet added to the functions.php
file of your child theme.
For now, we have commented out the problematic code. Could you please check if the issue persists?
Should you have any further questions or require assistance, feel free to reach out.
Best regards,
8Theme’s Team
Thank you,
I guess // is not agood practice cause it messes up the site.
https://share.cleanshot.com/JVYnzyqy
https://share.cleanshot.com/vhL8RkRT
https://share.cleanshot.com/69ZY7ySy
Ia have no idea what this code does so I disabled it for now, thank you, looks like swatches are working ok now.
One last thing, any way to make this disabled items more visible?
https://share.cleanshot.com/sSMlQSgK
right now X crosses are barely seen.red
We would like to inform you that we have improved the visibility of inactive items by adding the following code to **Customizer -> Theme Custom CSS -> Global CSS**:
ul.st-swatch-preview li.type-color.sten-li-disabled:before, .st-item-meta .st-swatch-preview.type-color.sten-li-disabled:before {
background-color: rgba(255, 255, 255, 0.7);
}
If you have any questions or require further assistance, please do not hesitate to reach out.
Best regards,
The 8Theme Team
many thanks, working great thank you!
Dear ziga32,
We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.
Click here to rate now: https://themeforest.net/downloads
Thank you sincerely for your ongoing support!
Best Regards,
The 8Theme Team
The issue related to '‘Make unavailable attribute unclickable in certain combinations’' has been successfully resolved, and the topic is now closed for further responses