Allow Customers to Change Variations in Cart

Cart Management
Updated Nov 8, 20263 min read

This PRO feature lets shoppers change a product’s size, colour or other choice in the cart, without removing it and adding it again. If someone added a Medium T-shirt but wants a Large, they can switch it right there.

Turn it on

  1. Go to Onpage Checkout > Features.
  2. Turn on Variation Switcher in Cart & Checkout. It is off by default.
  3. Click Save Changes.
  4. Add a variable product to the cart and open the drawer or the checkout page.
Variation Switcher in Cart and Checkout switch in the plugin Features tab

For the drawer, Variation Selector under Floating Cart > Drawer Elements must also be on, which it is by default.

Where it appears

  • In the floating cart drawer.
  • On the cart page, beside the product name, unless the cart page is turned off.
  • On the checkout page, beside the quantity.
Size and colour choices with Update and Cancel inside the WooCommerce cart drawer

What the shopper does

  1. Click the change icon beside the product.
  2. Choose the new options.
  3. Click Update, or Cancel to leave it as it was.

Update stays greyed out until they choose something different. The quantity is kept, along with extra details from add-on plugins. If the new choice cannot be added, the original item goes back exactly as it was and a message explains why.

Which products it works on

It works on normal variable products. The switcher hides when a product has only one variation. Test it if you use subscriptions, bundles, deposits or swatch plugins, because these can change how variations behave.

Change the wording

Under Floating Cart > Drawer Text, you can change Variation Update Button and Variation Cancel Button, such as “Save Changes” and “Keep As Is”. The messages are under Drawer Notices & Feedback Text.

Things to test

  • A variation with a different price, to see the total change.
  • A quantity of more than one, with a variation low in stock.
  • A variation with its own picture.
  • A coupon limited to certain products, because WooCommerce checks the coupon again.
  • A phone screen.

If something goes wrong

  • The change icon is missing: check the switch on the Features tab, and that the product has more than one variation.
  • It is missing from the drawer only: check Variation Selector.
  • Update does nothing: a firewall or speed plugin may be blocking the request. Look in your browser console.
  • “There is not enough stock for the requested quantity.” appears: lower the quantity first.
  • The picture does not change: add a picture to each variation under Products > Variations.
  • Old options show: clear your site’s cache.