...
By default, a horizontal button group will be displayed. However, the display format will switch to a vertical group under the following conditions:
If there are 3 or fewer values in the group and at least one attribute value exceeds the maximum width of 7 ~7 characters.
If any attribute value in the group has an associated add-on price.
If any attribute value in the group contains a pipe character “|”.
...