Skip to content

How to Let Shoppers Change a Variation in the Cart

This is the plugin’s whole job in five steps. It takes a minute to try on your own store, and it is worth doing as a shopper would, in a private window.

Open DevDiggers Plugins → Cart Variation Switcher → Configuration → General. Tick Enable Cart Variation Switcher, check that Show Switcher On lists Cart page, and click Save Changes.

The Plugin Settings section with Enable/Disable ticked and Cart page and Checkout page picked

The license must be active too. Without it, shoppers see nothing.

Step 2: Add a variable product to the cart

Section titled “Step 2: Add a variable product to the cart”

As a shopper, add a variable product to the cart and open the cart page. The demo used a Classic Crew Tee in White, size M, and a pair of sneakers.

The button sits under the product name.

The cart with the Change options button under the Classic Crew Tee highlighted

It opens the switcher on the option already in the cart. Update item is greyed out until something changes.

The popup on White and M with “This is what is already in your cart.”

Pick a size, a color or both. The popup shows the new option’s image, price, stock and how much more or less it costs. White in L is the same price, so it reads Same price.

The popup on White and L, reading Same price and 4 in stock

The popup closes, Item updated. appears, and the cart reloads with the new option on the same line.

The cart after the switch, with the tee now on a new option and the totals updated

That is all a shopper ever has to do. Nothing was removed, so the item kept its place, its quantity and anything another plugin added to it.

  • The product is simple, or variable with one variation.
  • A rule or the product’s own opt out leaves it out. Check Configuration → Rules and the product’s Inventory tab.
  • The page is not one of those under Show Switcher On.