Home Forums WoodMart support forum Disable “clear” variation button, click to disable instead.

Disable “clear” variation button, click to disable instead.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #678180

    ldiunyh
    Participant

    I remember there is a setting option that disables this “clear” button on variations selection, able the user to re-click on their selection to disable their selection instead of clicking the “clear” button. I couldn’t find that option, help!

    Attachments:
    You must be logged in to view attached files.
    #678301

    Hello,

    Try to add the following CSS code in Theme Settings > Custom CSS to hide the clear variation button.

        .variations_form .reset_variations {
            display: none !important;
        }

    Best Regards,

    #678961

    ldiunyh
    Participant

    You miss my point: the ability to “re-click on the selection to disable the selected selection instead”
    I remember I have seen this ability option somewhere but couldn’t find it again

    #679068

    Hello,

    Yes, I understand now. However, this option isn’t available by default in the theme settings.

    To achieve this functionality, you would need to either use a compatible variation swatches plugin that supports “click to deselect” or implement a custom code snippet to add it.

    Best Regards,

Viewing 4 posts - 1 through 4 (of 4 total)