內容簡介
這是一個 WooCommerce 的自訂迷你購物車外掛。您可以透過 Ajax 加入商品到購物車,並在購物車內更新數量。同時,您也可以在管理面板中編輯這個購物車的樣式。
影片簡介
範例
http://minicart.inconver.com
關於外掛
http://inconver.com/ajax-mini-cart/
功能
使用 Ajax 新增商品到購物車
點擊「加入購物車」按鈕時自動開啟 或手動按鈕開啟購物車
使用 Ajax 更新商品數量或刪除商品
可在管理面板中完全更改風格
重新指派外掛程式樣板
針對開發者
以下 js 函式可以用來顯示和更新 Ajax 迷你購物車
public_woo_amc_show() – 顯示 Ajax 迷你購物車
public_woo_amc_get_cart() – 更新 Ajax 迷你購物車
例如,以下程式碼將會在 3 秒後顯示和更新 Ajax 迷你購物車:
setTimeout(function(){
public_woo_amc_show();
public_woo_amc_get_cart();
}, 3000);
外掛標籤
開發者團隊
原文外掛簡介
Custom mini cart for WooCommerce. You can add to cart, update quanity in this cart via ajax. Also you can edit the style for this cart in the admin panel.
Video Overview
Demo
http://minicart.inconver.com
About plugin
http://inconver.com/ajax-mini-cart/
Features
Ajax add to cart
Auto open when click Add to cart or manual the button
Ajax change quantity or remove product
Full style change in admin panel
Reassigning plugin templates
For developers
You can use these js functions to show and update Ajax Mini Cart
public_woo_amc_show() – show Ajax Mini Cart
public_woo_amc_get_cart() – update Ajax Mini Cart
f.e. this code shows and updates Ajax Mini Cart in 3 seconds
setTimeout(function(){
public_woo_amc_show();
public_woo_amc_get_cart();
}, 3000);
