Conversation
supportHello, When I double click on a variation, it gets deselected and the general product image appears, the product price and the buy button disappear. I want double clicking on a variation to have no effect. How can I do this? Thanks!
Hello @chrismb78 , Thank you for your question. Currently, there isn’t a built-in option to disable double-clicking or prevent deselecting a variation. However, you can achieve this with custom CSS by disabling clicks on the swatch that is already selected. This way, double-clicking won’t trigger the deselection, and the product image, price, and buy button will remain visible. Hope this helps.
Hello, Thanks for the reply. I added this CSS code and it worked. Thanks! .cfvsw-swatches-option.cfvsw-selected-swatch { pointer-events: none; cursor: default; }
Hello @chrismb78 , That’s great to hear! I’m glad the CSS solution worked and resolved the issue for you. If you run into any other questions, feel free to reach out anytime — I’ll be happy to assist. Best regards, Aamir
Hello @chrismb78 , Thank you for your question. Currently, there isn’t a built-in option to disable double-clicking or prevent deselecting a variation. However, you can achieve this with custom CSS by disabling clicks on the swatch that is already selected. This way, double-clicking won’t trigger the deselection, and the product image, price, and buy button will remain visible. Hope this helps.
Hello, Thanks for the reply. I added this CSS code and it worked. Thanks! .cfvsw-swatches-option.cfvsw-selected-swatch { pointer-events: none; cursor: default; }
Hello @chrismb78 , That’s great to hear! I’m glad the CSS solution worked and resolved the issue for you. If you run into any other questions, feel free to reach out anytime — I’ll be happy to assist. Best regards, Aamir