內容簡介
這是一個輕巧的外掛程式,在產品數量更改時自動更新購物車頁面和迷你購物車。同時移除了預設的「更新購物車」按鈕,並可以選擇關閉購物車頁面提示訊息。
特點
透過 Ajax 自動更新購物車頁面和迷你購物車小工具,無需重新載入頁面。
從購物車頁面中移除了「更新購物車」按鈕。
支援滑鼠和鍵盤更改產品數量。
支援自訂下拉清單,包含「qty」類別。
與外掛程式Qty Increment Buttons for WooCommerce相容。
使用 WooCommerce 預設的購物車更新事件。
購物車更新事件延遲更新時間為毫秒,可以在外掛程式設定中更改,預設為 1000。這表示購物車只會在客戶完成更改時才會更新。
可以選擇將購物車的最小數量從 0 更改為 1,預設已啟用。
可以選擇從購物車頁面中移除所有提示訊息,預設已啟用。
外掛標籤
開發者團隊
② 後台搜尋「Ajax Cart AutoUpdate for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
A light plugin that automatically updates cart page and mini-cart when product quantity is changed. Removes the default “Update cart” button. Optionally turns off cart page notices.
Features
Cart page and mini-cart widget are updated automatically on quantity change through Ajax (no page reloading).
“Update cart” button is removed from the cart page.
Both mouse and keyboard changes are supported.
Works for custom dropdown lists with ‘qty’ class.
Compatible with plugin Qty Increment Buttons for WooCommerce.
Uses the default WooCommerce cart update event.
Cart update is delayed by time in milliseconds since the last action affecting quantity, changeable in plugin settings, default 1000. It means that the update will fire only once when the customer is done with changes.
Optionally change min quantity in the cart from 0 to 1, on by default.
Optionally remove all notices from the cart page, on by default.
