Title: Sticky WooCommerce Header Cart
Author: Xpert Developerz
Published: <strong>December 7, 2019</strong>
Last modified: September 9, 2026

---

Search plugins

![](https://ps.w.org/woo-header-sticky-cart/assets/banner-772x250.png?rev=3688827)

![](https://ps.w.org/woo-header-sticky-cart/assets/icon-256x256.png?rev=3688827)

# Sticky WooCommerce Header Cart

 By [Xpert Developerz](https://profiles.wordpress.org/xpertdeveloperz/)

[Download](https://downloads.wordpress.org/plugin/woo-header-sticky-cart.2.0.0.zip)

 * [Details](https://wordpress.org/plugins/woo-header-sticky-cart/#description)
 * [Reviews](https://wordpress.org/plugins/woo-header-sticky-cart/#reviews)
 *  [Installation](https://wordpress.org/plugins/woo-header-sticky-cart/#installation)
 * [Development](https://wordpress.org/plugins/woo-header-sticky-cart/#developers)

 [Support](https://wordpress.org/support/plugin/woo-header-sticky-cart/)

## Description

**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.⌉⌊
Version 2.0 settings screen with display, behavior, mobile, and appearance controls
.⌉[

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.⌉⌊Sticky purchase bar on a simple WooCommerce product with price, quantity,
and Add to Cart.⌉[

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

[⌊Variable product before a variation is selected.⌉⌊Variable product before a variation
is selected.⌉[

Variable product before a variation is selected.

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

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

[⌊Responsive sticky purchase bar on a smaller screen.⌉⌊Responsive sticky purchase
bar on a smaller screen.⌉[

Responsive sticky purchase bar on a smaller screen.

## Installation

 1. Install and activate WooCommerce.
 2. Install and activate **Sticky WooCommerce Header Cart**.
 3. Go to **Settings > Sticky WooCommerce Header Cart**.
 4. Configure the information you want to display.
 5. Choose the visibility trigger and top or bottom position.
 6. Configure mobile and appearance options.
 7. Save the settings.
 8. Open a WooCommerce single-product page and scroll beyond the main purchase area.

## FAQ

### Does this plugin require WooCommerce?

Yes. The sticky purchase bar is designed specifically for WooCommerce single-product
pages.

If WooCommerce is unavailable, the plugin remains safe and displays an administrator
notice rather than causing a frontend error.

### Does the sticky cart appear on the Shop page or product category pages?

No. Version 2.0 is intentionally focused on WooCommerce single-product pages, where
the complete product and purchasing context is available.

### Do I need to edit my theme files?

No. The sticky purchase bar is added automatically on supported WooCommerce product
pages.

### What does “After main cart leaves view” mean?

The sticky bar remains hidden while WooCommerce’s normal purchase form is visible.
When the visitor scrolls far enough that the normal Add to Cart area is no longer
visible, the sticky bar appears.

### What does “After scroll distance” mean?

The sticky bar appears after the visitor scrolls the configured number of pixels.

### Does it support simple products?

Yes. Purchasable simple products can display quantity and Add to Cart controls directly
in the sticky bar.

### Does it support variable products?

Yes. The sticky bar can respond to WooCommerce’s selected variation state and update
the displayed price. Required variation choices and WooCommerce validation remain
handled by WooCommerce’s main product form.

### What about grouped and external products?

The sticky bar respects their WooCommerce-specific purchase flow and guides the 
shopper to the main purchase area rather than bypassing required behavior.

### Can the sticky bar appear at the bottom of the screen?

Yes. Choose Top or Bottom in the plugin settings.

### Can I disable the sticky cart on mobile?

Yes. Mobile display can be disabled independently. You can also keep it enabled 
while hiding the product image on smaller screens.

### Can visitors close the sticky bar?

Yes. Enable the optional dismiss control in the plugin settings.

### Does the plugin send data to an external service?

No. The plugin does not add telemetry, analytics, external APIs, or remote tracking.

### Will my old version 1.0 settings cause problems?

Version 2.0 replaces the obsolete version 1.0 settings interface with a new focused
configuration. Legacy options are not used by the new sticky purchase bar and are
removed only when the plugin is uninstalled.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Sticky WooCommerce Header Cart” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Xpert Developerz ](https://profiles.wordpress.org/xpertdeveloperz/)

[Translate “Sticky WooCommerce Header Cart” into your language.](https://translate.wordpress.org/projects/wp-plugins/woo-header-sticky-cart)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/woo-header-sticky-cart/),
check out the [SVN repository](https://plugins.svn.wordpress.org/woo-header-sticky-cart/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/woo-header-sticky-cart/)
by [RSS](https://plugins.trac.wordpress.org/log/woo-header-sticky-cart/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.0

 * Complete modernization of the original plugin.
 * Rebuilt using current WooCommerce product APIs.
 * Added smart visibility after the main purchase form leaves the viewport.
 * Added configurable scroll-distance trigger.
 * Added top and bottom sticky positions.
 * Added configurable product image, title, price, stock status, and quantity.
 * Added direct Add to Cart support for simple products.
 * Added product-aware handling for variable, grouped, external, and other product
   types.
 * Added selected-variation price feedback.
 * Added responsive mobile controls.
 * Added optional image hiding on small screens.
 * Added slide, fade, and no-animation modes.
 * Added reduced-motion support.
 * Added contained and full-width layouts.
 * Added configurable background, text, and button accent colors.
 * Added optional dismiss control.
 * Added modern Settings API registration and sanitization.
 * Removed obsolete Load More settings/code and legacy inline frontend scripts.
 * Added graceful WooCommerce dependency handling.
 * Added HPOS compatibility declaration.
 * Corrected plugin metadata and text domain.
 * Reworked WordPress.org documentation.

#### 1.0

 * Initial release.

## Meta

 *  Version **2.0.0**
 *  Last updated **1 month ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [add to cart](https://wordpress.org/plugins/tags/add-to-cart/)[product page](https://wordpress.org/plugins/tags/product-page/)
   [sticky add to cart](https://wordpress.org/plugins/tags/sticky-add-to-cart/)[sticky cart](https://wordpress.org/plugins/tags/sticky-cart/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/woo-header-sticky-cart/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/woo-header-sticky-cart/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/woo-header-sticky-cart/reviews/)

## Contributors

 *   [ Xpert Developerz ](https://profiles.wordpress.org/xpertdeveloperz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/woo-header-sticky-cart/)