On this page
What this issue is
A variant is one version of a product, such as size M in blue. Normal Add to cart buttons send the chosen variant to the cart. Express buttons often work differently. They skip the cart and jump straight to checkout, and they may be built from a separate script or a hidden form.
The issue appears when that shortcut ignores the selector. Either the button works before any option is chosen, or it always uses the first variant, or it keeps the variant from page load after the shopper changes it.
Why it costs you leads or sales
Shoppers who use express buttons are often ready to pay. If checkout shows the wrong size, they either abandon, or they pay and then return the item. Both cost you money. A wrong variant can also be out of stock, which ends the checkout with an error.
Express wallets such as Apple Pay show the price and item before confirmation. A mismatch there is easy to notice and erodes trust at the final step.
- Product pageShopper selects size L
- Buy Now clickButton sends default size S
- CheckoutWrong item shown
- OrderAbandoned or returned
The shopper picks a variant, but the express button uses a different one.
The shopper's selection never reaches the express checkout.
How to check if your site has it
Test on a product with at least two options, on a phone and a desktop. Use a private window so saved state does not hide the problem.
- Open a product with several variants without choosing any option, then click Buy Now. Does it stop and ask for a choice?
- Choose the last option in the list (not the first) and click Buy Now. Does checkout show that exact option?
- Change the option twice, then click the button. Does checkout show the final choice?
- Change the quantity and check it carries over.
- Try an out-of-stock variant. The button should be disabled or show a clear message.
- Repeat with the wallet buttons (Apple Pay, Google Pay, PayPal) and read the item shown in the payment sheet.
- Repeat after a page reload and after using the browser Back button.
How to fix it
The cause is usually one of three things: the button is not wired to the selector, the theme or a customisation overrides it, or an app adds a second button that uses its own logic. Pick your platform below.
Test with a default theme
Preview your product in a free theme such as Dawn. If it works there, your theme or an app is the cause.
Check the dynamic checkout setting
In the theme editor, open a product template and look at the Buy buttons block. Turn off 'Show dynamic checkout buttons' to test whether the wallet buttons are at fault.
Remove conflicting apps
Disable apps that add Buy Now buttons, sticky add-to-cart bars or quick-view popups, one at a time, and retest.
Fix theme code
If a custom button is used, make sure its form's id input is updated when the variant changes. Ask your theme developer or the theme support team to check this.
Find the button source
In WooCommerce, Buy Now buttons come from a plugin or theme. Deactivate it on a staging copy and see if the button disappears.
Update the plugin and theme
Variation handling bugs are often fixed in updates. Check the changelog.
Require a variation
Check the plugin settings for an option such as requiring a variation before the Buy Now button works. If none exists, contact the plugin author or replace the plugin.
Check the Add to cart element
In Webflow Ecommerce, the Add to Cart form uses the option dropdowns in the product template. Make sure any custom Buy Now link is not a separate fixed link.
Use the native form
Replace custom links with the native Add to Cart form and set checkout behaviour to go to checkout after adding.
Use the built-in Buy Now
In the editor, open the product page and, in the Add to Cart button settings, choose the Buy Now option rather than a custom link.
Make options required
Check the product's options so a choice is needed before purchase, then test every option.
Check for custom code
Look in Settings, Developer Tools, Code Injection for scripts that add a Buy Now button.
Use the native button
Remove the custom button and use the standard Add to Cart button, then test every variant.
Read the selected variant at click time
Do not store the variant when the page loads. Read it from the form when the button is clicked.
Block the click until a choice is made
Disable the button and show a message if no variant is selected.
document.querySelector('#buy-now').addEventListener('click', function (e) {
var form = document.querySelector('form[action*="/cart/add"]');
var variant = form.querySelector('[name="id"]').value;
if (!variant) {
e.preventDefault();
alert('Please choose a size first.');
return;
}
window.location.href = '/cart/' + variant + ':1';
});Broken
- Button works with no option chosen
- Checkout shows the first variant
- Changing the option does not update the button
Fixed
- Button waits for a choice
- Checkout shows the chosen variant
- Last selection always wins
How to confirm it's fixed
Test every option on your top products
Pick each size and colour, click the button and compare checkout with your choice.
Test devices
Run the same test on iOS Safari, Android Chrome and desktop.
Test wallets
Open the Apple Pay, Google Pay or PayPal sheet and read the item shown. Stop before you pay unless you use a test mode.
How to prevent it happening again
- Retest Buy Now buttons after every theme update, app install or custom code change.
- Keep one express button system, not several overlapping apps.
- Add the variant test to your release checklist.
- Use a staging copy for theme edits.
- Review order reports for sudden growth in returns or exchanges for a size or colour.
How FunnelGuard handles this
FunnelGuard does not check this yet. Checking that an express button respects the chosen variant is a possible future check.
FunnelGuard does run your real customer journeys on a schedule, including checkouts, and checks each step and the tracking hits. That can show when a product-to-checkout path breaks outright, but it does not compare the variant a shopper chose with the variant in checkout. The test journeys also stop before payment unless the store's test mode is set up.
Until then, use the manual test above on your best-selling products every time you change your theme or apps. You can start with the Free plan (1 site, 2 journeys, daily checks, no card) to watch the main purchase path, and run the variant check by hand.
Questions people ask
Why does my Buy Now button ignore the size I selected?
The button is probably not reading the current selection. It may use the variant from page load, a hidden default, or a separate script from an app. Test with your default theme and disable apps one by one to find the source.
Why does Shop Pay or Apple Pay show the wrong product option?
Wallet buttons are usually rendered by the platform from the form's variant value. If a theme or app does not update that value when the shopper changes the option, the wallet shows the old one.
How do I stop shoppers using Buy Now before choosing a variant?
Disable the button until an option is selected, or show a message asking for a choice. On many platforms you can also remove any default selection so the shopper has to choose.
How do I test whether my express checkout uses the right variant?
Choose the last option in the list, click the express button and compare the item in checkout or the wallet sheet. Repeat after changing the option more than once, on mobile and desktop.
Can an app cause the Buy Now button to pick the wrong variant?
Yes. Sticky add-to-cart bars, quick-view popups and Buy Now apps often add their own buttons with separate logic. Turn them off one at a time and retest.
Does FunnelGuard detect Buy Now buttons that skip variant choice?
No, not yet. It is a possible future check. For now you need to test by hand after each theme or app change.
Is this a serious problem?
It has a medium impact. It affects only shoppers who use the shortcut button, but those shoppers are often ready to buy, and wrong orders lead to refunds and returns.
Related issues
- CNV-137Variant selector (size/colour) doesn't change price or imageFix guide
- CNV-138Variant combination unavailable but still sellableFix guide
- CNV-136Add to cart does nothingFix guide
- CNV-140Product shows in stock but checkout says unavailableFix guide
- CNV-141Price on page differs from cart/checkoutFix guide
- CNV-148Personalisation/custom text field not passed to orderFix guide