Custom php code to stop user from deselecting or clearing variants

This topic has 1 reply, 1 voice, and was last updated 3 minutes ago ago by ZEXAL

  • Avatar: ZEXAL
    ZEXAL
    Participant
    December 22, 2024 at 10:48

    What the title says. I want to stop user from deselecting product variants when he clicks on a product variant. Basically, a variant is always selected and he can’t clear it. I found php code online that worked on dropdown menus but not swatches.

  • Viewing 1 results - 1 through 1 (of 1 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.