Skip to content
Pedro Lima, DevDiggers customer Kareem Al Samman, DevDiggers customer Valentina Dancheva, DevDiggers customer Loved by store owners in 158+ countries

WooCommerce Cart Variation Switcher: Change Size or Color in the Cart

This WooCommerce cart variation switcher lets shoppers change size, color or any other option right in the cart, at checkout and in the mini cart. It works on classic pages and the Cart and Checkout blocks.

5 star reviews Rated 4.9/5 across Trustpilot, Google and Envato
  • Works with Cart and Checkout blocks
  • 14-day money-back guarantee
  • 24×7 human support
WooCommerce Cart Variation Switcher dashboard with the switcher popup, a cart with Change options buttons, Most Switched Products and the checkout order review
Version
v2.0.0
Last updated
October 22, 2026
WordPress
Tested to 7.1.3
WooCommerce
Tested to 11.2.1
0+ Countries served
Elite Author on Envato

Featured across the WordPress community

What is a cart variation switcher

What does a WooCommerce cart variation switcher do?

A WooCommerce cart variation switcher adds a "Change options" button to every variable product in the cart. Shoppers pick a new size, color or other option in a popup, and the cart line updates in place.

Out of the box, WooCommerce cannot change a variation in the cart. The shopper has to remove the item, reopen the product and add it again.

This plugin turns that into one click. It is part of our WooCommerce extensions range.

The problem

A wrong size in the cart is a sale about to walk away

About 70% of online carts are abandoned, based on 50 studies collected by the Baymard Institute. In the same research, 17% of US shoppers left because checkout felt too long or complicated.

Wrong choices that get through cost you later. Size and fit is the top reason for online apparel returns, named by 53% of apparel sellers in Coresight Research. Fixing the size in the cart is cheaper than a return.

See how the switcher fixes it
  • Shoppers delete the item to change one option
  • A trip back to the product page loses the cart
  • Duplicate lines when shoppers add the right size too
  • Gift notes and add-ons lost on the way
  • Cart plugins that break on the new Cart block
  • No idea how often shoppers want to change
How it works

How the WooCommerce cart variation switcher works

One button under each variable product. Everything else happens in a popup and on your server.

  1. Shopper clicks Change options

    The button sits under every variable product in the cart, checkout and mini cart, wherever you turned it on.

  2. They pick a new option

    The popup shows every option, the variation image, price, stock and how much more or less it costs.

  3. The server checks it

    Stock, purchasability and sold individually rules are checked before anything changes in the cart.

  4. The line updates in place

    Same position, same quantity and the same add-on data. Totals refresh without a page reload.

Features

Everything a WooCommerce cart variation switcher should do

Let shoppers fix size and color mistakes where they notice them, and see what those changes are worth to your store.

Change a variation in the cart without removing it

Every variable product in the cart gets a "Change options" button. One click opens a popup with the product's options, and the current choice is already selected.

The shopper picks a new size or color and clicks Update item. The cart line changes on the spot, with no "Update cart" click and no page reload.

  • One button under each variable product
  • Instant update, no reload
  • Works for guests and logged-in shoppers
WooCommerce cart with Change options buttons under each product beside the Choose another option popup for Classic Crew Tee

Works on the WooCommerce Cart and Checkout blocks

New WooCommerce stores ship with the Cart and Checkout blocks, and many cart editors stop working there. This switcher works on the blocks and on the classic shortcode pages.

On the block cart, switches go through the WooCommerce Store API. The block refreshes its own totals and hides its "removed" notice during the switch.

  • Cart block and Checkout block
  • Classic cart and checkout pages
  • Uses the WooCommerce Store API
WooCommerce Cart block with Change options links under Classic Crew Tee and Canvas Low-Top Sneakers beside the variation switcher popup

Change options right at checkout

Shoppers often spot a mistake in the order summary, one step before paying. The button sits right there, under each item in Your order.

The order total refreshes after the switch and the shopper never leaves checkout. Want to tune the rest of the page? See our guide to custom fields on WooCommerce checkout.

  • Button in the order review
  • Totals refresh after the switch
  • Classic and block checkout
Checkout Your order summary with Change options under each item beside a popup showing Everyday Fleece Hoodie at $42.00, +$6.00

Switch from the mini cart

Turn on the mini cart and shoppers can fix an option from any page, straight from the cart drawer in your header.

It covers the classic mini cart widget that most themes use. The mini cart refreshes as soon as the switch is saved.

  • Classic mini cart widget
  • Switch from any page
  • Each place turns on or off
Review Cart mini cart drawer with Change options under each item beside the switcher popup for Canvas Low-Top Sneakers

A live preview with the price difference

As the shopper picks options, the popup updates the variation image, price and stock. You can add the SKU for B2B and parts stores.

It also shows what the change costs, for example "+$4.00", "Same price" or "+$5.00 each" for two or more units. Nobody gets a surprise at checkout.

  • Variation image, price and stock
  • Price difference per unit
  • Optional SKU
Live Preview settings for image, price, price difference, stock and SKU beside a popup showing Canvas Low-Top Sneakers at $62.00, +$4.00

Popup or inline, buttons or dropdowns

Open the switcher in a popup, or inline right under the item on the classic cart page. Checkout, the mini cart and the blocks always use the popup.

Show options as buttons that cross out unavailable combinations, or as dropdowns for products with many options. Phones get a bottom sheet.

  • Popup or inline on the cart page
  • Buttons or dropdowns
  • Unavailable combinations crossed out
Inline switcher open under Classic Crew Tee in the cart beside a popup with Color and Shoe Size dropdowns

Keeps quantity, position and add-on data

The line stays where it was with the same quantity. Data other plugins attached to it, such as product add-ons or a gift note, travels with it.

If the new option is already in the cart, the two lines merge into one with the quantities added up. No duplicate lines, no confused orders.

  • Same position and quantity
  • Add-on and gift note data kept
  • Duplicate lines merge into one
Cart with Classic Crew Tee Black M and White M lines above the merged cart with one Black M line at quantity 3

Stock is checked before every switch

Out of stock options are disabled, and combinations that do not exist are crossed out. The server checks every switch again before the cart changes.

It counts other lines of the same option. A shopper can never hold more than you have. Products sold individually stay at one per order.

  • Out of stock options disabled
  • Stock counted across cart lines
  • Sold individually respected
Switcher popup with the Black color crossed out for Zip-Through Hoodie beside a popup showing Sorry, only 3 of this option are in stock

A bottom sheet built for phones

On small screens the popup slides up from the bottom, with big tap targets for every option. The cart stays visible behind it.

The switcher works with a keyboard and screen readers. Focus moves into the popup and back to the button, and it respects reduced motion.

  • Bottom sheet on phones
  • Keyboard and screen reader support
  • Respects reduced motion
Two phones showing a WooCommerce cart with Change options buttons and the switcher open as a bottom sheet

Rules for roles, products and categories

Offer the switcher to every shopper, or only to the user roles you pick, guests included. Limit it to chosen products or categories.

Exclude made-to-order or personalized items. Exclusions win over limits, and any product can opt out from its Inventory tab.

  • User roles, guests included
  • Limit to products or categories
  • Per-product opt out
Limit to Products settings with Everyday Fleece Hoodie selected above Exclusions settings with the Footwear category excluded

Your own texts and accent color

Rename the button, the popup title and the update button to match your store. "Change size or color" often reads better on apparel stores.

Pick one accent color for the button text, the selected option and the update button. Leave a field empty to keep the default.

  • Button, title and update texts
  • One accent color
  • Translation ready
Texts and Color settings with Change size or color, Pick a different option, Save change and a green accent, beside the matching popup

A dashboard that shows what switches are worth

Five cards show variation switches, switcher opens, switch rate, cart value change and upgrades. Each one compares with the period before.

The activity chart plots opens and switches per day. Switch Direction shows how many shoppers moved to a pricier, equal or cheaper option.

  • Switches, opens and switch rate
  • Cart value change and upgrades
  • Date presets and custom ranges
Cart Variation Switcher dashboard with 286 switches, 431 opens, 66.4% switch rate and +$1,184.00 cart value change above the Switcher Activity chart

Most switched products and a CSV export

See which products shoppers change most and which options they move between. A product that gets switched a lot often has a sizing or photo problem.

Where Shoppers Switch compares the cart, checkout, mini cart and blocks. Export every switch to CSV. For the full shopper journey, pair it with our WooCommerce customer tracking plugin.

  • Most switched products
  • Recent switches, from and to
  • CSV export for any period
Most Switched Products and Recent Switches lists with an Export switches CSV button beside the Where Shoppers Switch chart
What you need

What you need to let shoppers change variations in the cart

No theme edits and no code. If your store sells variable products, you have most of it already.

WordPress and WooCommerce

WordPress 6.2 and WooCommerce 8.0 or newer. Tested up to WordPress 7.1 and WooCommerce 11.2.

A cart, checkout or mini cart

Classic shortcode pages, the Cart and Checkout blocks, or the classic mini cart widget your theme uses.

A license key

Your active license turns the switcher on for shoppers. It also brings updates and priority support.

Compatibility

Works with the WooCommerce store you already run

The switcher uses standard WooCommerce hooks and the Store API. Variation data loads only when a shopper opens it.

Cart and Checkout blocksThe plugin declares support for the Cart and Checkout blocks and switches through the Store API.
HPOS order storageThe switcher works on the cart and never edits orders. It is declared compatible with High-Performance Order Storage.
Product add-ons and gift notesData other plugins add to a cart line moves to the new option, and their prices are worked out again.
Coupons, shipping and taxesCart totals are recalculated after every switch. Coupons, shipping and tax follow the new option.
Developer hooksFilters decide which items get the switcher and can block a switch. An action runs after every switch.
Translation readyEvery label ships in a translation file, and you can rewrite the shopper-facing texts in settings.
Why this plugin

Why this WooCommerce cart variation switcher is different

Most cart editors cover the classic cart page and stop there. This one follows the shopper to checkout and the mini cart, on blocks too.

  1. Blocks and classic pages

    Works on the Cart and Checkout blocks and on the shortcode pages. A theme change will not break it.

  2. Cart, checkout and mini cart

    Three places to fix a choice, each one switched on or off on its own.

  3. Price difference up front

    Shoppers see "+$4.00" or "Same price" before they switch. Upgrades feel fair.

  4. Nothing lost in the switch

    Quantity, position, add-ons and gift notes stay with the line.

  5. Duplicate lines merge

    Switching to an option already in the cart joins the lines into one.

  6. Stock checked on the server

    Every switch is checked for stock across the whole cart before it happens.

  7. A dashboard with real numbers

    See switches, switch rate, upgrades and cart value change for any date range.

  8. Ready in a few minutes

    A setup wizard turns it on and picks where it shows. Every setting has a default.

  9. Your data stays on your server

    Switch tracking is stored in your own database. Nothing is sent anywhere.

  10. Built by WooCommerce specialists

    We are official WooCommerce core contributors, and this plugin sits beside our other WooCommerce plugins.

Why DevDiggers

Why WooCommerce store owners buy from us

Official WooCommerce contributor

More than 20 accepted contributions to WooCommerce core. The same care goes into how this plugin edits your cart.

Envato Elite Author

More than $125,000 in sales and 500+ five-star reviews across Trustpilot, Google and Envato.

Live in five minutes

A short setup wizard picks where the switcher shows and what the preview includes.

Support that answers in hours

Real WooCommerce developers answer your tickets. Every plan includes priority support and a 14-day refund.

Built to stay fast

Variation data loads only when a shopper opens the switcher. Cart pages stay quick.

Sold in 158+ countries

Every label is translation ready and every shopper-facing text can be rewritten.

Recognition

Earned on the Envato marketplace

Elite Author Elite Author Sold more than $125,000 on Envato Market. Featured Author Featured Author Made it to the Authors' Hall of Fame. Community Health Community Health Took part in community research initiatives. WP Compliant WP Compliant Keeps items to current WordPress standards. Copyright Ninja Copyright Ninja Helped protect against copyright violations. Feedback Guru Feedback Guru Joined a group to improve the experience. Trendsetter Trendsetter Had an item that was trending. Featured Item Featured Item Had an item featured on Envato Market.

See every badge on our CodeCanyon profile

Who it is for

Stores that sell sizes, colors and styles

Apparel and fashion stores

Size and color mistakes are the most common. Let shoppers fix them before they pay.

Shoe and accessory shops

Half sizes, widths and finishes are easy to mix up. One click puts it right.

Stores with pack sizes

Shoppers move up to the bigger pack in the cart, and the price difference shows first.

Stores moving to the blocks

Keep cart editing when you switch to the Cart and Checkout blocks.

Agencies building client stores

Use the filters and the switch action to fit each client's store. Need more? Our WooCommerce development team builds the rest.

Setup

How to let customers change variations in the WooCommerce cart

Install and activate

Upload the plugin and activate it. The setup wizard opens and asks for your license key.

Pick where it shows

Choose the cart, checkout and mini cart. Pick popup or inline, and buttons or dropdowns.

Set the preview and texts

Pick what the preview shows, rename the button if you like and set your accent color.

Test it in your cart

Add a variable product, click Change options and switch. Then watch the dashboard fill up.

What store owners say about this cart variation switcher

Reviews from verified buyers of our WooCommerce cart variation switcher. Bought it? Your review helps the next store owner decide.

New

Be the first to review

  • 5 0
  • 4 0
  • 3 0
  • 2 0
  • 1 0
Yash Kapoor, founder of DevDiggers
Yash Kapoor Founder, DevDiggers
From the founder

Why I built Cart Variation Switcher

We kept seeing the same thing in store recordings. A shopper picks Medium, opens the cart and realizes they wanted Large. Fixing it meant deleting the line, finding the product again and starting over, and plenty of them just left.

So version 2 of Cart Variation Switcher for WooCommerce puts the fix where the mistake shows up. Shoppers change the size or color in the cart, at checkout or in the mini cart, on classic pages and on the new blocks. Your dashboard then shows how often they do it and how much cart value it adds.

Envato Elite Author · 20+ WooCommerce core contributions Read our story →

Add a WooCommerce cart variation switcher from $19 a year

One yearly price with every feature in it. There are no add-ons and no limits on products or switches.

Every plan works as long as your subscription stays active. It renews yearly until you cancel, and you can cancel anytime from your account. Every plan is backed by our 14-day refund policy.

1 Site License

Normally $39

$19/year

Just $1.58/mo when billed annually

  • Use on 1 site
  • Cart, checkout and mini cart
  • Blocks and classic pages
  • Updates with an active plan
  • Priority support
Buy Now

10 Sites License

Normally $239

$119/year

Just $9.92/mo when billed annually

  • Use on 10 sites
  • Cart, checkout and mini cart
  • Blocks and classic pages
  • Updates with an active plan
  • Priority support
Buy Now

Secured by a 14-day refund policy

If the plugin does not work as promised on your site, you have the backup of our 14-day refund policy to ask for your money back.

Version 2.0.0
Last updated October 22, 2026
Changelog
WordPress 6.2+ (tested to 7.1.3)
WooCommerce 8.0+ (tested to 11.2.1)
PHP 7.4+

See Cart Variation Switcher in action

Every screen below comes from the plugin running a real WooCommerce store. The live demo is the same build and needs no account.

WooCommerce Cart Variation Switcher dashboard with Variation Switches, Switcher Opens, Switch Rate, Cart Value Change and Upgrades cards above the Switcher Activity chart
See how many shoppers change variations in the cart and what those switches add to cart value.
FAQ

WooCommerce cart variation switcher FAQ

Answers to what store owners ask us most about changing variations in the WooCommerce cart.

Ask a Question

Yes. WooCommerce cannot do it on its own, and this plugin adds a "Change options" button under each variable product. The shopper picks a new option in a popup and the same cart line updates.

Yes. It works on the Cart block, the Checkout block and the classic shortcode pages. Block switches go through the WooCommerce Store API.

Yes. Turn on the cart page, the checkout page and the mini cart separately. The mini cart option covers the classic mini cart widget most themes use.

Yes. The line keeps its position and quantity. Data other plugins attached, like product add-ons or a gift note, moves to the new option and their prices are worked out again.

The popup shows the difference before the switch, for example "+$4.00" or "+$5.00 each". After the switch the cart totals update with the new price.

Out of stock options are disabled by default. The server also checks stock for the full quantity, counting other lines of the same option, and refuses the switch if there is not enough.

The two lines merge into one and the quantities add up. Your orders never end up with the same item listed twice.

Yes. Everyone can switch by default. You can limit the switcher to chosen user roles and decide whether guests are included.

Yes. Limit it to products or categories, exclude others, or opt out one product from its Inventory tab. Exclusions always win over limits.

Variable products with two or more variations, including attributes set to "any value". Simple, grouped, bundle, composite and variable subscription products do not get the button.

No. The switcher changes the options of the same product and keeps the quantity. Shoppers still change quantity with the normal cart controls.

No. Swatch plugins change how options look on the product page. This plugin works after the product is in the cart, with options shown as text buttons or dropdowns.

Want swatches or other changes on the product page itself? See how to customize the WooCommerce product page.

Open the dashboard. It shows switches, opens, switch rate, upgrades and cart value change, which is the total price difference of all switches. Export every switch to CSV.

No. Variation data is fetched only when a shopper opens the switcher, and it is cached until the cart changes. Nothing extra loads for products nobody switches.

A short wizard on activation asks for your license, where the switcher shows and what the preview includes. The defaults work for most stores.

Yes. Rename the button, popup title and update button, and pick an accent color for the button text, the selected option and the update button.

Yes. On small screens the popup opens as a bottom sheet with large tap targets. It also works with a keyboard and screen readers.

No. Cart Variation Switcher is a premium plugin with one edition. Try every screen on the live demo, read the setup docs, or compare the best WooCommerce update variations in cart plugins.

Yes. Anyone who can manage WooCommerce, including shop managers, can open the dashboard, change and save the settings, and export switches.

Let shoppers fix the wrong size before they leave

Add a WooCommerce cart variation switcher that works in the cart, at checkout and in the mini cart, on blocks and classic pages. Try the live demo and then pick a plan.

Support within hours A real person replies
14-day money back Fair terms
Always compatible Latest WP and Woo
Custom builds Made for your store

Why store owners pick this plugin

What you get the day you turn it on.

  • Change options in cart, checkout and mini cart
  • Cart and Checkout blocks supported
  • Price difference and stock checks
  • Dashboard with switches and upgrades
  • 500+ five-star reviews and Elite Author status
Pedro Lima, DevDiggers customer Kareem Al Samman, DevDiggers customer Valentina Dancheva, DevDiggers customer Diego Lopes, DevDiggers customer 5 star rating from 500+ reviews

Trusted worldwide

Store owners in 158+ countries run on DevDiggers.

Alan, DevDiggers customer Shiyanthan M, DevDiggers customer Pawel Pytasz, DevDiggers customer Marius, DevDiggers customer

Proven on Envato

Elite Author with $125,000+ in sales.