[WordPress] 外掛分享: Cartdock – Sticky Add to Cart for WooCommerce

首頁 › 外掛目錄 › Cartdock – Sticky Add to Cart for WooCommerce
WordPress 外掛 Cartdock – Sticky Add to Cart for WooCommerce 的封面圖片
全新外掛
安裝啟用
—
尚無評分
13 天前
最後更新
—
問題解決
WordPress 6.5+ PHP 8.1+ v1.1.5 上架:2026-09-28

內容簡介

Cartdock 是一款為 WooCommerce 設計的外掛,能在單一產品頁面底部新增一個固定的「加入購物車」條,當使用者滾動過主按鈕後會顯示,方便在長頁面上快速進行購物。

【主要功能】
• 固定的「加入購物車」條在單一產品頁面顯示
• 可設定滾動閾值,決定顯示時機
• 顯示產品標題、價格及購買按鈕
• 變數產品的價格及按鈕會隨選擇變化
• 支援 ARIA 區域標記及可見焦點狀態
• 完全可翻譯,附帶翻譯模板

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Cartdock – Sticky Add to Cart for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

Documentation: plogins.com/plogins-anchor/docs/
Plugin page: plogins.com/plogins-anchor/
Source code: github.com/wppoland/plogins-anchor
Bug reports and feature requests: 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.

延伸相關外掛

文章
Filter
Mastodon