Home Forums WoodMart support forum add feature to enable/disable the product attribute ”Clear” button

add feature to enable/disable the product attribute ”Clear” button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #612889

    dhndigitalmarketing
    Participant

    I suggest that in the future there should be an option to enable or disable the ‘Clear’ button that appears when a product attribute is selected, because personally I want when I enter a product it to automatically select the attribute I specify and only have to change between attributes without a delete button to go back to no attributes selected. It also saves me from having to load extra thumbnails for the product when no attributes are selected, it is optimized, fits the way I want my site to work and saves more space on my site

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

    Hello,

    Try to add the following code in the function.php of the child theme.

    add_filter('woocommerce_reset_variations_link', '__return_empty_string');

    Best Regards

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