
Sticky WooCommerce Header Cart adds a responsive sticky purchase bar to WooCommerce single-product pages.
When the main WooCommerce purchase area scrolls out of view, the plugin can keep important product information and the purchase action visible at the top or bottom of the screen.
Version 2.0 is a complete modernization of the original Sticky WooCommerce Header Cart plugin.
Why use a sticky purchase bar?
Long product pages often contain galleries, descriptions, specifications, reviews, related products, and other content. As shoppers move down the page, the normal Add to Cart area may no longer be visible.
Sticky WooCommerce Header Cart keeps the purchase action accessible without requiring theme template edits.
Highlights
- Smart visibility after the main WooCommerce purchase form leaves the viewport
- Optional fixed scroll-distance trigger
- Top or bottom sticky position
- Show or hide product image
- Show or hide product title
- Show or hide product price
- Optional stock-status display
- Quantity control for simple products
- Direct Add to Cart support for purchasable simple products
- Product-aware handling for variable, grouped, external, and other product types
- Variable-product price updates after a variation is selected
- Responsive mobile layout
- Enable or disable the sticky bar on mobile
- Optionally hide the product image on smaller screens
- Slide, fade, or no animation
- Contained or full-width layout
- Configurable background, text, and button accent colors
- Optional dismiss button
- Keyboard focus styles
- Reduced-motion support
- No external service or API key required
- No telemetry or remote tracking
- No theme template editing required
Smart display modes
Choose how the sticky bar becomes visible:
After main cart leaves view
The sticky bar stays hidden while the normal WooCommerce purchase form is visible. It appears after that purchase area scrolls above the viewport.
After scroll distance
Show the sticky bar after the visitor scrolls a configurable number of pixels.
Product-aware purchasing
Simple products
Purchasable simple products can display quantity and Add to Cart controls directly in the sticky bar.
Variable products
Before a variation is selected, the sticky bar displays a Choose options action.
After WooCommerce detects a valid variation selection, the sticky bar can reflect the selected variation price and product state. The shopper remains connected to WooCommerce’s main variation form so required attributes and WooCommerce validation are not bypassed.
Grouped, external, and other product types
Products that require their own WooCommerce purchase flow are not forced into a simple-product Add to Cart process. The sticky action guides the shopper to the main product purchase area instead.
Lightweight by design
The plugin does not create custom database tables and does not require an external account, API key, analytics service, or remote tracking service.
Its purpose is intentionally focused: improve access to the product purchase action on WooCommerce single-product pages.
Screenshots

Version 2.0 settings screen with display, behavior, mobile, and appearance controls.

Sticky purchase bar on a simple WooCommerce product with price, quantity, and Add to Cart.

Variable product before a variation is selected.

Variable product after a valid variation is selected and the sticky price updates.

Responsive sticky purchase bar on a smaller screen.