Skip to content

Anchor

Anchor adds a slim, sticky add-to-cart bar to WooCommerce single product pages. It stays out of the way until the shopper scrolls past the main add-to-cart button, then slides into view with the product thumbnail, title, price, an optional quantity field and a buy button — so the purchase is always one tap away, even on long pages.

Anchor keeps the buy button reachable on long product pages without the bloat of a full conversion suite. The bar is fixed to the edge of the viewport and starts hidden, so it never occupies document flow and causes zero Cumulative Layout Shift. The free edition is the full GPL product.

  • Sticky add-to-cart bar on single product pages, revealed on scroll.
  • Position at the top or bottom of the screen.
  • Per-device control — show or hide on desktop and on mobile independently.
  • Scroll threshold — configure how far past the main button to reveal the bar.
  • Optional elements — product thumbnail, price and a quantity field.
  • Variation-aware — on variable products the bar mirrors WooCommerce’s native variations form, keeping price, availability and the buy button in sync.
  • Accessible — ARIA region, keyboard operable, visible focus and screen-reader text.
  • No layout shift — the bar is fixed and starts hidden.
  • Respects preferences — honours prefers-reduced-motion and is dark-mode aware.

Anchor adds no jQuery of its own — it simply listens to the events WooCommerce already emits. On variable products, when the shopper picks options the bar’s price, availability and buy button update to match the native form. The stylesheet and script load only on single product pages and the script is deferred, so the rest of the store is untouched.

  • Free on WordPress.org — sticky bar with position, device and scroll-threshold controls, optional thumbnail/price/quantity, and variation-aware sync.
  • Pro (planned) for advanced placement rules, campaign scheduling and analytics.
  • Getting started — install, choose position and devices, set the scroll threshold.