前言介紹
- 這款 WordPress 外掛「Easy Cart」是 2021-03-04 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2023-09-27,距離現在已有 584 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.3 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
zeshanb |
外掛標籤
sessions | shortcode | shopping cart | Transient Storage |
內容簡介
使用簡單的短代碼來建立一個購物車。
確保您在 WordPress 設置中開啟了使用別名網址,例如:your-domain.tld/slug。設置好了別名後,創建一個頁面,名稱為 /cart。然後編輯該頁面,添加 [easy_cart/] 和 [empty_cart/] 短代碼。
在您的 WordPress 網站的其他文章或頁面中,使用 [add_to_cart/] 短代碼創建加入購物車的按鈕。
使用以下屬性定義您的 add_to_cart 產品:
itemid
product_name
product_desc
product_qty
price
以下是使用所有屬性的 add_to_cart 短代碼的範例:
[add_to_cart itemid=”your-item-id” product_name=”Your product name” product_desc=”description of your product.” product_qty=1 price=1.00 /]
您可以在文章和頁面中嵌入任意數量的 add_to_cart 短代碼。
購物車可以儲存商品並計算總價,但目前版本(1.2)尚未支援結帳功能。
原文外掛簡介
A simple shopping cart using shortcodes.
Be sure your permalinks in WordPress settings supports slug urls e.g. your-domain.tld/slug. Once you have proper permalink setting, Create a page with slug /cart. Then edit the cart page and add [easy_cart /] and [empty_cart /] shortcodes.
Create add to cart buttons using [add_to_cart /] shortcodes on other posts or pages of your WordPress site.
Use the following attributes to define your add_to_cart products:
itemid
product_name
product_desc
product_qty
price
Here is a example usage of add_to_cart shortcode using all the attributes. Be sure to use single quotes:
[add_to_cart itemid=’your-item-id’ product_name=’Your product name’ product_desc=’description of your product.’ product_qty=1 price=1.00 /]
You can have as many add_to_cart shortcodes as you like, in posts and pages.
Shopping cart allows you to store items and calculate total but doesn’t allow you to checkout. At least not yet as of version 1.2.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Easy Cart」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。