Viewing 2 replies - 1 through 2 (of 2 total)
  • What happens depends on the variations threshold. This is usually 30.

    If you have less variations than the threshold, only available attributes will be shown. Unavailable won’t be greyed out, they won’t appear.

    If you have more variations than the threshold, all options will be available for selection, but if the user selects an unavailable option, they will be a short delay then the message: “That option is not available”. This could be frustrating for the user.

    You can increase the variations threshold using this snippet in functions.php for your child theme:
    https://gist.github.com/mohsinoffline/f06c66259e667d6b16bb

    As you make the threshold bigger, the page size gets bigger so page load time will increase. You’ll need to make a judgement.

    Thread Starter jackdam

    (@jackdam)

    Wow, it work fine.
    Thank you.
    Jack

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

The topic ‘Variable products with more than 2 attributes’ is closed to new replies.