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.
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.
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.