To let customers select product variants directly on the page (without using a dropdown) in Webflow, you can use custom radio buttons or styled buttons tied to Variants using Webflow’s CMS and Ecommerce capabilities.
1. Understand How Webflow Handles Variants
- Webflow Ecommerce products have Variants (e.g., size, color), which are usually displayed using dropdowns by default.
- Each variant is a combination of option values (e.g., Size: Medium, Color: Red).
2. Use a Multi-Option Product Structure
- In the Products panel, define Product Options (e.g., Color, Size).
- These options will generate Variants automatically.
- Make sure each variant has the correct price, SKU, and inventory (if necessary).
3. Insert Option Fields on the Product Template Page
- Go to your Product template page.
- Delete the default dropdown elements that render the product options.
- Instead, bind a collection list to the options manually:
- Use a Collection List to display choices (e.g., colors as swatches or sizes as buttons).
- You may need to manually specify the values, since Webflow doesn’t expose variant options as standalone CMS collections.
4. Use Custom Code or Attributes to Link Selections
- Webflow does not natively link buttons to variant selection.
- Use a tool like Finsweet’s Attributes for Webflow:
- Visit https://www.finsweet.com/attributes/ecommerce.
- Use the Products Variant module to set up custom variant selectors.
- This lets you match custom buttons or radio groups to variant selection logic.
5. Style Your Variant Selectors
- Use regular buttons or divs with click interactions.
- Highlight the selected option using a selected state (e.g., add a selected class via interaction or attributes).
- Make sure each button has the correct data attributes (using Finsweet’s system) so it links to the correct variant.
6. Test the Add to Cart Functionality
- Ensure that when you click a variant-style button and then hit Add to Cart, the correct variant is added.
- Test with multiple option combinations if there are more than one option group (e.g., Color + Size).
Summary
To bypass dropdown menus and use direct-selection buttons for Webflow variants, define product options, then replace dropdowns with styled buttons or swatches using Finsweet Attributes. This gives users a more interactive, friction-free shopping experience.