Add to cart button

A button on each product tile adds to the cart, in one of four looks, and the photo flies into the Mini-Cart.

For Purplish 1.3.3. Works on block themes.

Docs menu

Where to find it

Add an Escalator block from the Purplish group of the block inserter, on any page, post or template. Select it, then open the Escalator panel in the block sidebar. Pick a look under Add to cart button. It shows while Tiles is Products.

The Escalator panel with Add to cart button set to Filled.

Add to cart button shows for product tiles.

The choices

It starts on None.

ChoiceWhat it does
None DefaultNo button. The tile links to the product.
FilledFills the button with the effect color.
Liquid glassFrosts the photo behind the button.
Light sweepA band of light passes over the button.
Spectrum ringA rainbow runs round the button's edge.

Good to know

  • The button sits on the photo. It shows when a visitor points at a tile or tabs to it, and always on touch screens.
  • It adds through the Store API, so the Mini-Cart updates and the photo flies into it. The button reads Adding, then Added.
  • Products that need a choice first, like variable products, link to their page with WooCommerce's own label.
  • Visitors who ask for reduced motion still get the button, without the flying photo.

Still stuck? Ask in the support forum.