📘 Vesperia documentation

Theme docs

Product page

Add-to-cart animation

Subtle micro-animations on the Add to cart button — small but high-impact for perceived polish.

Animation styles

  • None — no animation.
  • Pulse — the button breathes (subtle scale).
  • Shake — wiggles to draw attention.
  • Ripple — ripple effect from the click point.
  • Glow — soft gold glow around the button.

Triggers

  • Always — animates continuously (every N seconds).
  • On hover — only when the customer hovers.
  • On scroll into view — plays once when the buy box enters the viewport.

Settings

  • Animation — pick from the list above. (Theme settings → Add-to-cart animation.)
  • Trigger — Always / Hover / On scroll.
  • Interval (seconds) — how often the animation replays when Always is on.

Where it applies

The animation runs on every primary Add to cart button (PDP, quick view, sticky bar). It does NOT animate when the variant is sold out or when the button is in pre-order state.

Made with Emergent