How do you completely disable the product variation swatch option?
-
How do you completely disable the product variation swatch option?
Hello,
Go to the settings of the product that has variations and uncheck the “Used for variations” field in the Product Data -> Attributes.
https://monosnap.com/file/owj1P4pdHwLZJ9CRAC6ZfHG2e1uQqc
Please let us know if there is anything further we can assist you with!
Kind Regards
No, i mean to ask to completely disable the variation Swatch option from theme as its overwriting woocommerce default dropdown feature.
Attachments:
You must be
logged in to view attached files.
Hello,
The swatches can be disabled when your attribute items don’t have any color or activated the “Text swatch” option.
https://prnt.sc/OIx6Rkqx_qcv
As a result, the dropdown will appear: https://monosnap.com/file/r1YVHznGd3X3oyM3x99PiJqrsp1jP0
Kind Regards
Hello,
Thank you this option works. Please advise is there any reference or doc available which we can follow to completely disable the Swatych from theme coding level. Swatch is creating a huge load on product pages.
Hello,
The thing is that if you override the swatches file, you can have the issue with the styles so in this situation better to do it manually as I mentioned above.
I sincerely appreciate your understanding in this matter. Please feel free to reach out to me if you have any further questions.
Kind Regards
Hello,
Thank you for the solution but if you review the below page you guys can see the website is taking too much time to load. We just want to increase the page loading time and by for that we are reviewing every possible issues one by one.
https://highqualitypromo.com.au/product/bopp-hot-flask/
Any help from your end regarding theme or code optimisation will be appreciated.
Hello,
Please read our article about the site performance:
https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/
If you have any more questions about performance, I suggest you create another topic with an appropriate title and our site performance specialist will help you.
Kind Regards