Title: Cartdock &#8211; Sticky Add to Cart for WooCommerce
Author: Mariusz Szatkowski
Published: <strong>September 29, 2026</strong>
Last modified: September 29, 2026

---

Search plugins

![](https://ps.w.org/cartdock/assets/banner-772x250.png?rev=3718590)

![](https://ps.w.org/cartdock/assets/icon-256x256.png?rev=3718590)

# Cartdock – Sticky Add to Cart for WooCommerce

 By [Mariusz Szatkowski](https://profiles.wordpress.org/motylanogha/)

[Download](https://downloads.wordpress.org/plugin/cartdock.1.1.4.zip)

 * [Details](https://wordpress.org/plugins/cartdock/#description)
 * [Reviews](https://wordpress.org/plugins/cartdock/#reviews)
 *  [Installation](https://wordpress.org/plugins/cartdock/#installation)
 * [Development](https://wordpress.org/plugins/cartdock/#developers)

 [Support](https://wordpress.org/support/plugin/cartdock/)

## Description

Cartdock adds a slim sticky add-to-cart bar to the bottom of your WooCommerce
 single
product pages. It stays hidden until the shopper scrolls past the main add-to-cart
button, then slides into view showing the product title, price and a buy button,
so the add-to-cart control is still reachable on long pages.

On variable products the bar follows the native variations form. As the shopper

picks options, the price and the buy button update to match the selected variation,
and the button disables itself when the chosen variation is out of stock. Cartdock
does not load its own copy of jQuery; it listens to the variation events WooCommerce
already fires.

The bar is positioned with CSS `position: fixed` and starts hidden, so it sits
 
outside the document flow and does not push other content around or cause layout
shift when it appears.

Cartdock is not on the WordPress.org directory yet, so if you want to read the
 
code, report a bug or suggest a change, the repository is at [github.com/wppoland/plogins-anchor](https://github.com/wppoland/plogins-anchor).

#### Documentation and links

 * **Documentation**: [plogins.com/plogins-anchor/docs/](https://plogins.com/plogins-anchor/docs/)
 * **Plugin page**: [plogins.com/plogins-anchor/](https://plogins.com/plogins-anchor/)
 * **Source code**: [github.com/wppoland/plogins-anchor](https://github.com/wppoland/plogins-anchor)
 * **Bug reports and feature requests**: [github.com/wppoland/plogins-anchor/issues](https://github.com/wppoland/plogins-anchor/issues)

#### Features

 * Sticky add-to-cart bar on single product pages, revealed once the shopper scrolls
   past the main button.
 * Scroll threshold you set in pixels (0 to 5000), so you decide how far down the
   bar kicks in.
 * Shows the product title, price and a buy button.
 * On variable products the price tracks the variation the shopper has selected,
   and the button disables itself if that variation is out of stock.
 * Marked up as an ARIA region with a visible focus state and screen-reader label.
 * Honours prefers-reduced-motion and has a dark-mode style.
 * The bar is fixed to the viewport and starts hidden, so it does not cause layout
   shift.
 * Ships with a POT file for translation, and deleting the plugin removes the two
   options it stores.
 * Declares HPOS and cart/checkout blocks compatibility.

### External Services

Cartdock does not connect to any external services. It sends no data off your site

and loads nothing from a third-party CDN; its stylesheet and script (`assets/css/
anchor.css` and `assets/js/anchor.js`) are served from your own install, and the
front-end script reads only a small `anchorConfig` object (the scroll threshold)
that WordPress prints inline.

All of Cartdock’s data stays in your database: it stores two autoloaded-off options,

anchor_settings (the enable toggle and scroll threshold) and `anchor_db_version`,
and keeps no per-product data. Both options are removed when you delete the plugin.
Cartdock sends no email and makes no HTTP requests of its own.

### Translations

Cartdock is fully translatable and ships the `cartdock.pot` template. Translations
are delivered by WordPress.org language packs from translate.wordpress.org, which
is where Polish, German and Spanish are being contributed; the package itself carries
no compiled translation files.

## Screenshots

[⌊The sticky add-to-cart bar on a product page.⌉⌊The sticky add-to-cart bar on a
product page.⌉[

The sticky add-to-cart bar on a product page.

[⌊The Cartdock settings screen under WooCommerce.⌉⌊The Cartdock settings screen 
under WooCommerce.⌉[

The Cartdock settings screen under WooCommerce.

[⌊The same bar on a phone, pinned to the bottom of the screen.⌉⌊The same bar on 
a phone, pinned to the bottom of the screen.⌉[

The same bar on a phone, pinned to the bottom of the screen.

## Installation

 1. Upload the plugin to `/wp-content/plugins/cartdock`, or install via Plugins > Add
    New.
 2. Activate it. WooCommerce must be active.
 3. Go to **WooCommerce > Cartdock** to enable the bar and set the scroll threshold.

## FAQ

### Does it require WooCommerce?

Yes. Cartdock only runs when WooCommerce is active.

### Does it work with variable products?

Yes. The bar mirrors WooCommerce’s native variations form: pick options on the
 
page and the bar’s price and buy button update to match; the button disables itself
if the selected variation is out of stock.

### Will it slow my product pages down or shift the layout?

No. The stylesheet and script load only on single product pages, the script is
 
deferred, and the bar is fixed to the viewport and hidden until it is needed. Because
it starts outside the document flow, showing it does not shift the page.

### Can I change when the bar appears?

Yes. Set the scroll threshold in pixels under **WooCommerce > Cartdock** (0-5000).

### Does it work on simple products?

Yes. On simple products the bar shows the title, price and add-to-cart button. On
variable products it tracks the selected variation.

### Does this plugin work on WordPress Multisite?

Yes. This plugin is compatible with WordPress Multisite. Network activate it or 
activate it on individual sites; each site keeps its own settings and data.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Cartdock – Sticky Add to Cart for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Mariusz Szatkowski ](https://profiles.wordpress.org/motylanogha/)

[Translate “Cartdock – Sticky Add to Cart for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/cartdock)

### Interested in development?

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

## Changelog

#### 1.1.4

 * The upgrade notice’s “Coming soon” and “Get notified” labels are English source
   strings for every language; Polish sites used to get their own Polish source 
   text, which translators in other languages then saw untranslated.

#### 1.1.3

 * The bar template is included directly instead of through an output buffer and
   extract(); nothing visible changes.

#### 1.1.2

 * Renamed to Cartdock, a plain English name in place of the Esperanto one. The 
   text domain and the plugin folder follow the name; the stored settings, the anchor_settings
   option and every hook are unchanged.

#### 1.1.1

 * The sidebar upgrade promo now follows the same dismissal as the banner. Dismissing
   the banner used to leave a full-height advert on the settings screen for good,
   which is not what the WordPress.org guideline on upgrade prompts means by used
   with moderation.

#### 1.1.0

 * Renamed to Ankro. The WordPress.org review team asks a plugin name to lead with
   a distinctive, coined identifier rather than a generic descriptive word. Ankro
   is Esperanto for anchor. The text domain follows the name; the stored settings,
   the anchor_settings option and every hook are unchanged.

#### 1.0.12

 * Fixed: the PRO upgrade promo kept selling to people who had already bought the
   paid edition. Only the banner could be dismissed, so the sidebar promo and the
   locked feature cards followed a paying customer around for good. The promo now
   checks whether the paid edition is active and steps aside when it is.
 * Fixed: arrow glyphs in the admin menu paths, and in the strings handed to translators.
   An arrow inside a translatable string makes the glyph every translator’s problem
   and changes the layout in any locale that drops it.

#### 1.0.11

 * Fixed: deleting the plugin left the per-user “dismiss” flag from the PRO notice
   in the database. Uninstall now removes it for every user, not just the one who
   dismissed it.

#### 1.0.10

 * The translation template was regenerated. It still named an older version of 
   the plugin and pointed at source lines that had since moved, which is what translation
   tools read to show a string in context.

#### 1.0.9

 * Renamed to Plogins Anchor – Sticky Add to Cart for WooCommerce so the name leads
   with the brand rather than a generic word, which is what the WordPress.org plugin
   review team asks for. The plugin slug is unchanged.

#### 1.0.8

 * Tested against WordPress 7.1. Verified by activating this build on a clean 7.1
   install with WooCommerce 11.1, not by editing the header.

#### 1.0.7

 * Fixed the PRO promo on the settings screen quoting a price in PLN. PRO is priced
   and charged in EUR, so an admin on a Polish site was shown a zloty amount and
   then billed in euro, and the zloty figure was a fixed conversion that drifted
   from the real charge as the rate moved. The promo now shows the euro price that
   is actually taken.

#### 1.0.6

 * The scroll threshold now works the way the settings screen describes it: a higher
   number keeps the bar hidden longer, a lower number brings it in sooner. Until
   now raising it made the bar appear earlier, not later.

#### 1.0.4

 * Translations: completed Polish, German and Spanish for the PRO upgrade panel.

#### 1.0.3

 * Fixed low-contrast admin headings under an OS dark-mode preference.

#### 1.0.2

 * Added bundled Polish, German and Spanish translations for the plugin interface.

#### 1.0.1

 * First stable release.

#### 0.1.3

 * Renamed to Plogins Anchor for WooCommerce for a more distinctive plugin name.

#### 0.1.2

 * Add `anchor/bar_rendered` action and `anchor:bar-visible` front-end event for
   PRO analytics.

#### 0.1.1

 * `anchor/bar_visible` filter so PRO and custom code can hide the bar per product
   without loading assets.

#### 0.1.0

 * Initial release: a sticky add-to-cart bar on single product pages, revealed on
   scroll, with a configurable scroll threshold and variation-aware price/availability
   sync.

## Meta

 *  Version **1.1.4**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 8.1 or higher **
 * Tags
 * [add to cart](https://wordpress.org/plugins/tags/add-to-cart/)[conversion](https://wordpress.org/plugins/tags/conversion/)
   [product page](https://wordpress.org/plugins/tags/product-page/)[sticky](https://wordpress.org/plugins/tags/sticky/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/cartdock/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cartdock/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cartdock/reviews/)

## Contributors

 *   [ Mariusz Szatkowski ](https://profiles.wordpress.org/motylanogha/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cartdock/)