Roxy
(@roxannestoltz)
Hi @niranjan9431 ,
Thanks for reaching out!
These can be done from within your Dashboard, no Javascript would be required.
i want to hide color option for Unframed,canvas,wooden
color option should show only when FIBER option is selected
These options are created by Attributes
and Variations
, so if you would like to remove the color option from unframed, canvas, and wooden, you would need to remove these from within your Products settings > Variations, as seen in the screenshots below:
https://snipboard.io/yL9f7O.jpg
https://snipboard.io/p5VaZ9.jpg
also when i select fiber option other options got blured i can’t able to select like unframed,canvas,wooden so want help in this also i can also select other option from fiber
This may possibly be resolved once removing the Variations that have been mentioned above.
Please let us know how this goes.
@roxannestoltz thanks for your response but the problem i already removed color variations of canvas,unframed,wooden but if user have to select other options for that for that i need to add something in color option like none option or something solution only with javascript can you help please
Thanks for getting back to us @niranjan9431!
I understand you deleted the color variations for canvas, unframed, and wooden but the color option still appears(which are not selectable).
This behavior is coming from the theme that you are using. On default themes like Storefront this issue doesn’t exist.
So, you can reach your theme’s support to get helped with this.
—
Helping with code is beyond the scope of this forum. 🙁
For help with custom code we recommend the WooCommerce Developer Resources Portal.
You can also visit the WooCommerce Facebook group or the #developers
channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.
Lastly, for direct assistance with code customizations, we recommend consulting with the WooCommerce Customizations Partners. https://woocommerce.com/customizations/`
Nevertheless, I’m going to leave this thread open for a bit to see if anyone is able to chime in to help you out here..
@shaonback2 thank you so much sir
Hello @niranjan9431!
shaonback2 thank you so much sir
You are most welcome! Hopefully, you will get this sorted by following the suggestions I shared before.
Roxy
(@roxannestoltz)
Hi @niranjan9431 ,
if user have to select other options for that for that i need to add something in color option like none option
I have taken another look at your site to further investigation for you however, it appears that you managed to get the issue sorted, since there are no color options available to select on Unframed, Canvas, and Wooded other than “none”.
Please confirm if this is the correct and if your issue is now resolved 🙂 ?
Thanks!
@roxannestoltz i tried but then again it was showing color in cart page so now i’m doing with js. thank you for you help