Disable “clear” variation button, click to disable instead.
-
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.
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,
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
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,