Linux 软件免费装
Banner图

Cartdock - Sticky Add to Cart for WooCommerce

开发者 motylanogha
更新时间 2026年10月2日 19:59
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce conversion add to cart sticky product page

下载

1.1.4 1.1.5

详情介绍:

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. Documentation and links Features

安装:

  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.

屏幕截图:

  • The Cartdock settings screen under WooCommerce.
  • The same bar on a phone, pinned to the bottom of the screen.

常见问题:

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.

更新日志:

1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.12 1.0.11 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.4 1.0.3 1.0.2 1.0.1 0.1.3 0.1.2 0.1.1 0.1.0