• Resolved chrishd06

    (@chrishd06)


    I have an image variation. But if I click two times on it it will unselected it. How can I do to prevent that from happening… i want either the image on the right or the image on the left — but cannot be “unselected” thats my goal!

    Thanks !
    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aamir

    (@aamiribsf)

    Hello @chrishd06 ,

    Greetings for the day!

    By default, we don’t have the opportunity available to prevent the unselecting of variation options on two clicks. However, I can provide you with a workaround. You can try this CSS code to disable the click when the swatch is selected.

    .cfvsw-swatches-option.cfvsw-selected-swatch 
    {
     pointer-events: none;
    }

    If you’re not sure how to use this custom CSS, please refer to the following article on our knowledge base:

    How and Where to Add the Custom JS, CSS & PHP Codes?

    Hope this helps.

    Let me know how it goes.

    Plugin Support Aamir

    (@aamiribsf)

    Hello @chrishd06 ,

    It’s been a while since we haven’t heard from you so we are marking this thread as resolved.

    If you faced any other issues while using our product, feel free to start a new thread.

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘prevent from unselected a variation’ is closed to new replies.