---
title: "WooCommerce Popups: Quick View and Cart Offers – Modal Kit"
description: "WooCommerce modals with Modal Kit Pro: product quick view, added-to-cart offers, bundles, cart triggers and exit coupons, built from blocks."
language: "en-US"
canonical_url: "https://modalkitwp.com/woocommerce/"
source_url: "https://modalkitwp.com/woocommerce/"
content_type: "text/markdown"
---

WooCommerce · Pro

# Modals that know the *cart*.

Modal Kit Pro adds product quick view, an added-to-cart drawer, cart offers and shop triggers to WooCommerce. Modals hold WooCommerce’s own product blocks and talk to the cart through its Store API, so adding to the cart from a modal doesn’t reload the page. Needs WordPress 7.0 or later, as WooCommerce does.

[Get Pro](https://modalkitwp.com/pricing/)

[See what it adds](#quick-view)

5

**Shop templates**

Quick view, an added-to-cart drawer, two offers and a cart exit coupon.

4

**Cart triggers**

Added to cart, removed from cart, a cart total, or a product or category in the cart.

2

**Offer button actions**

Add to cart, and apply a coupon on the way to checkout.

0

**Reloads to add to cart**

From a modal, the Store API adds it and WooCommerce’s Mini-Cart updates.

Quick view

## The product, without leaving the shop

A Quick view button on each product card opens a modal filled with that product. Visitors pick options and add to the cart, then carry on browsing.

**A button on every card**

Add the **Quick view button** trigger and it appears on Product Collection cards, with your **Button text**. **Show** it **On hover and focus** or **Always**.

**WooCommerce’s own blocks**

The starter holds a Single Product block with WooCommerce’s gallery, price and add-to-cart form, so prices, variations and stock stay in sync.

**Which product it shows**

**Product source** sets the **Product shown**: **Product that opened it**, **Last item added to cart** or **A specific product**.

**After add to cart**

The modal can **Close**, and your Added to cart modal opens if you have one, or **Stay open**.

Shop templates

## Five starters for a shop

They sit in the **Shop** collection of the template picker when WooCommerce is active. Each is ordinary blocks you edit in the block editor.

**Product quick view**

Centered · Sheet on phones

Gallery, price, options and Add to cart from a product card. Add the **Quick view button** trigger.

**Added to cart drawer**

Drawer

Free-shipping progress, pairs-well-with and checkout. Add the **Added to cart** trigger.

**Complete the set**

Corner

A companion product at a set price after something is added. Choose the product and coupon on the button.

**Bundle & save**

Centered

Three products, one button, a bundle coupon. Choose the products and coupon on the button.

**Cart exit coupon**

Centered

For someone leaving the page with items in the cart: a coupon and straight to checkout. Set **Shop rules → Cart** to **Only when the cart has items**.

[See every template →](https://modalkitwp.com/templates/)

Triggers and rules

## Open on what happens in the cart

Cart triggers sit in the **Shop** group of **Add trigger**, next to the free ones. **Shop rules** is a panel in the Modal tab that limits where a modal shows.

Add trigger → Shop

**Cart triggers**

**Added to cart**

Right after a product is added. It can replace WooCommerce’s “added to cart” notice.

**Removed from cart**

When a product is removed.

**Cart total over…**

When the cart passes the **Amount** you set.

**Product or category in cart**

When the cart holds one of the **Products** or **Categories** you pick.

Modal tab

**Shop rules**

**Show on**

**Any page**, **Any store page**, **Shop page**, **Product category pages** (all, or the categories you pick) or **Product pages**.

**Hide on out-of-stock products**

Keeps a modal off the page of a product nobody can buy.

**Cart**

**Any cart**, **Only when the cart is empty** or **Only when the cart has items**.

![The Cart exit coupon starter in the editor: a centred modal reading “Still deciding?”, a cart line of 2 items · $46.00 and an Apply & check out button, with the Shop rules panel open in the sidebar showing Show on, Hide on out-of-stock products and Cart.](https://modalkitwp.com/content/modules/modalkitwp-blocks/assets/docs/woocommerce.webp)




		Shop rules in the Modal tab, here on the Cart exit coupon starter.

Offers

## The offer adds itself to the cart

Any button in a modal can work with the cart: choose its **Action**, then what happens **Then**. The **Cart summary** block shows what’s in the cart, kept current from the Store API.

**Add to cart**

Pick one product, or several for a bundle: the button adds them all in one click. Add a **Coupon code** when the offer has a price of its own.

**Apply coupon / go to checkout**

Applies the coupon and takes the visitor on. A coupon that doesn’t apply never blocks the way to checkout.

**Then**

**Stay on the page**, **Go to the cart** or **Go to checkout**.

**Prices come from coupons**

WooCommerce has no price per modal, so “Add a refill pack for $6” is the product plus a coupon you create in **Marketing → Coupons**.

**Cart summary**

The item just added, progress to free shipping, **Pairs well with** cross-sells with **+ Add**, and the subtotal. Or one line: items and total.

**Free shipping progress**

**Free shipping from** sets the amount. Leave it at 0 to use your Free shipping method’s minimum order amount.

Each offer button is also a real link, so it still works without JavaScript. After adding, Modal Kit fires WooCommerce’s own cart events, so the Mini-Cart updates. Works with order storage (HPOS) and the Cart and Checkout blocks.

Games and Results

## A coupon for every winner

A game’s prize can be a **Unique WooCommerce coupon**: a percentage, a fixed amount or free shipping.

Each coupon works once and expires after the hours you set in **Valid for (hours)**: 48 by default, up to a year.

When the game asks for an email, the coupon only works for that address, and it’s emailed there rather than shown.

These games are drawn on your site, so the codes are never in the page. In a game with one play per visitor, winners can press **Apply to my cart**.

A game makes up to 100 coupons a day, or the number you set. Only store managers and administrators can add or change coupon prizes.

For a game, **Results** shows **Coupons used** and **Revenue from those orders**: paid orders that used its coupons, less refunds, each order counted once.

[See the games →](https://modalkitwp.com/games/)

![A prize wheel in a modal in the editor, with the Prizes panel in the sidebar: 10% off, Free shipping, 5% off and 15% off, each a unique Woo coupon valid for 48 hours, with chances of 25, 20, 20 and 10, and the total reading 100%.](https://modalkitwp.com/content/modules/modalkitwp-blocks/assets/docs/games.webp)




		Prizes on the Spin to win starter. With WooCommerce, the discounts are unique coupons.

On a static export

## A cart needs a live store

Modal Kit keeps working on a static copy of your site, but a cart can’t. When the Store API isn’t there, the shop features step aside instead of breaking.

**Offer buttons**

Add-to-cart, coupon and checkout buttons follow their plain links to the live store.

**Quick view**

The button is a link to the product page.

**Cart triggers**

They stay off, as there’s no cart to watch.

**Prize coupons**

Games with unique coupons need your site to make them. Games with fixed codes still play on the export.

[How Modal Kit works on static sites →](https://modalkitwp.com/static-sites/)

In the docs

[WooCommerce →](https://modalkitwp.com/docs/woocommerce/)

[Games and prizes →](https://modalkitwp.com/docs/games/)

[Results and analytics →](https://modalkitwp.com/docs/results/)

## Put the offer where the cart is.

[Get Pro](https://modalkitwp.com/pricing/)

[Compare Free and Pro](https://modalkitwp.com/free-vs-pro/)
