內容簡介
WP Bigcommerce是一個外掛,可使Bigcommerce網店的擁有者在WordPress博客上列出其產品。透過使用簡單的短代碼,您可以快速輕鬆地在頁面和文章上列出產品。
安裝外掛後,您可以使用以下短代碼語法在頁面或文章中放置產品清單:
[wpbigcommerce products=72,73,81]
其中,72,73,81是您希望顯示的產品ID列表。您也可以使用以下語法更改要顯示的字段:
[wpbigcommerce products=72,73,81 fields=name,image,sku,description,price]
可用字段
通過更改短代碼中的 fields 屬性,您可以控制產品清單中顯示的字段。目前有以下值可用:
name*
image*
sku*
price*
retail_price
sale_price
warranty*
rating*
categories*
condition*
availability_description
is_free_shipping
upc
weight*
width
height
depth
description_snippet*
description
description_html
link*
*: 預設顯示
即將推出的功能
對話視窗以自動化短代碼創建(從用戶界面中選擇產品而不是提供ID)
更改產品模板中顯示字段的順序
追踪返回您的Bigcommerce店的推薦
外掛標籤
開發者團隊
原文外掛簡介
WP Bigcommerce enables Bigcommerce store owners to list their products on WordPress blogs. By using a simple shortcode you can quickly and easily list products on pages and posts.
Once the plugin is installed, you can place a product listing on a page or post using the following shortcode syntax:
[wpbigcommerce products=72,73,81]
Where 72,73,81 is the list of product IDs you’d like displayed. You can also change which fields will be displayed using the syntax:
[wpbigcommerce products=72,73,81 fields=name,image,sku,description,price]
Available fields
You can control which fields will be displayed in the product listing by changing the fields attribute in the shortcode. The following values are currently available:
name*
image*
sku*
price*
retail_price
sale_price
warranty*
rating*
categories*
condition*
availability_description
is_free_shipping
upc
weight*
width
height
depth
description_snippet*
description
description_html
link*
*: show by default
Upcoming features
Dialog window to automate shortcode creation (select product[s] from a user interface instead of having to supply the ID).
Change the order in which fields are displayed in the product template.
Tracking for referrals back to your Bigcommerce store.
