Skip to content
Taking custom projects FR

Side cart

The cart opens in a panel instead of loading a page. It never buys on its own.

Harmony Sound → Settings → Shop → Side cart.

Adding a product from a list opens a panel on the right: the line, the subtotal, and the two buttons that matter — View cart and Checkout.

What it does not do

It does not reimplement adding to the cart, nor the totals. Both belong to WooCommerce, and doubling them would be the surest way to drift from it at its next update. The panel’s content is a WooCommerce fragment — the same mechanism that refreshes the counter in the header.

It never opens by itself

Only after an add, which is an action you took. A panel that appears unrequested gets closed without being read.

Without JavaScript

The Cart link in the header stays a real link: it leads to the cart page, as it always did. Opening it in a new tab does the same.

Accessibility

Focus moves into the panel when it opens and returns where it was when it closes; Escape closes it; tabbing stays inside while it is open. If the visitor’s system asks for reduced motion, the panel appears without sliding.

Did this article help? Write to us.