
內容簡介
Simple ParsPal Shopping Cart 可讓您在任何帖子或頁面上添加一個“添加到購物車”按鈕,您的客戶可以使用 ParsPal 服務支付產品價格。它還可以讓您輕鬆地在任何帖子、頁面或側邊欄中添加/顯示購物車。購物車會顯示用戶目前的購物車內容,並允許他們刪除項目。它還可以輕鬆地與 NextGen Photo Gallery 插件集成。
使用方法
要添加“添加到購物車”按鈕,只需在產品旁邊的帖子或頁面中添加觸發文本 [wp_cart:PRODUCT-NAME:price:PRODUCT-PRICE:end]。將 PRODUCT-NAME 和 PRODUCT-PRICE 替換為實際的名稱和價格。
要在側邊欄或其他模板文件中添加“添加到購物車”按鈕,請使用以下函數:
將 PRODUCT-NAME 和 PRODUCT-PRICE 替換為實際的名稱和價格。
要將購物車添加到帖子或頁面(例如結帳頁面),只需將短代碼 [show_wp_shopping_cart] 添加到帖子或頁面,或使用側邊欄小工具將購物車添加到側邊欄。只有當客戶添加產品時,購物車才會在帖子或頁面中可見。
使用運費
1. 要使用運費成本,請使用以下觸發文本
[wp_cart:PRODUCT-NAME:price:PRODUCT-PRICE:shipping:SHIPPING-COST:end]
或者使用以下 php 函數從 WordPress 模板文件中
使用變異控制
1. 要使用變量控制,請使用以下觸發文本
例如 [wp_cart:Demo Product 1:price:15:var1[Size|Small|Medium|Large]:end]
要與運費一起使用變異控制,請使用以下觸發文本:
例如 [wp_cart:Demo Product 1:price:15:shipping:2:var1[Size|Small|Medium|Large]:end]
要使用多個變量選項,請使用以下觸發文本:
例如 [wp_cart:Demo Product 1:price:15:shipping:2:var1[Size|Small|Medium|Large]:var2[Color|Red|Green]:end]
外掛標籤
開發者團隊
② 後台搜尋「Simple ParsPal Shopping Cart」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Simple ParsPal Shopping Cart allows you to add an ‘Add to Cart’ button on any posts or pages and your customers can pay product price with parspal service. It also allows you to add/display the shopping cart on any post or page or sidebar easily. The shopping cart shows the user what they currently have in the cart and allows them to remove the items. It can be easily integrated with the NextGen Photo Gallery plugin too.
Usage
To add the ‘Add to Cart’ button simply add the trigger text [wp_cart:PRODUCT-NAME:price:PRODUCT-PRICE:end] to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-PRICE with the actual name and price.
To add the ‘Add to Cart’ button on the sidebar or from other template files use the following function:
Replace PRODUCT-NAME and PRODUCT-PRICE with the actual name and price.
To add the shopping cart to a post or page (eg. checkout page) simply add the shortcode [show_wp_shopping_cart] to a post or page or use the sidebar widget to add the shopping cart to the sidebar. The shopping cart will only be visible in a post or page when a customer adds a product.
Using Shipping
1. To use shipping cost use the following trigger text
[wp_cart:PRODUCT-NAME:price:PRODUCT-PRICE:shipping:SHIPPING-COST:end]
or use the following php function from your wordpress template files
Using Variation Control
1. To use variation control use the following trigger text
eg. [wp_cart:Demo Product 1:price:15:var1[Size|Small|Medium|Large]:end]
To use variation control with shipping use the following trigger text:
eg. [wp_cart:Demo Product 1:price:15:shipping:2:var1[Size|Small|Medium|Large]:end]
To use multiple variation option use the following trigger text:
eg. [wp_cart:Demo Product 1:price:15:shipping:2:var1[Size|Small|Medium|Large]:var2[Color|Red|Green]:end]
