1. Home
  2. Docs
  3. WooKeys
  4. Product table
  5. Style – Variations

Style – Variations

The Variations section in the style settings of the Product Table widget lets you control how product variations are displayed and styled – giving you full control over the shopping experience when using variable products.


⚙️ Settings Overview

SettingDescription
Use ButtonsReplaces default variation dropdowns with styled buttons. Applies to all variable products listed in the table.
Button TypographyCustomize font family, size, weight, and line height for variation buttons.
Button ColorsSet text, background, and border colors for normal, hover, and active states.
Button Border RadiusMake buttons fully rounded or square based on your design needs.
Button PaddingAdjust inner spacing inside each button.
Button GapControls the spacing between individual variation buttons.

If Use Buttons is turned off, standard dropdowns will be used. Additional styling options are available:

SettingDescription
Dropdown Text ColorCustomize text color for variation dropdowns.
Dropdown BackgroundSet the background color of the dropdown field.
Dropdown SpacingControl the spacing between multiple dropdown fields when a product has more than one attribute.

🛒 How It Works

Works seamlessly with both individual and bulk add to cart modes.

For variable products, the Variations column will display available attributes.

Users select attribute values directly in the table — using buttons or dropdowns.

Once all required attributes are selected, the correct variation is fetched via AJAX.

The product’s price, availability, and the add to cart form will be updated dynamically.

Example – buttons as variations

WooKeys - product table with variations as buttons

How can we help?