
內容簡介
透過短碼在任何頁面/文章中以 Ajax 導航、分類和訂單篩選的方式快速輕鬆地顯示 Woocommerce 商品清單。
如果您想在文章內顯示某些商品,這將非常有用。
與 Woocommerce 3.0.x 兼容!
使用者可以透過分類篩選產品,並更改它們的順序(所有這些都可以透過 Ajax 完成)。
在短碼設定中,可以透過分類 ID 或產品 ID 和 SKU 清單篩選產品(例如:2,5,8,24)。
請參閱簡歷/簡歷模板商店中的演示。
要插入產品清單,請使用以下短碼:
[woo_ajax_nav colum ns=”3″ orderby=”title” order=”asc” per_page=”3″ product_cat=”” ids=”” skus= 8221;”]
參數:
columns:列數(1,2,3,4)
orderby 和 order:https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
per_page:每頁顯示多少商品
product_cat:從哪個分類中選擇產品
ids:產品 ID(例如:2,5,8,24),如果需要顯示特定產品,請使用此參數。
注意:Woocommerce 商品塊的設計取決於使用的 WordPress 主題和 Woocommerce 樣式。
外掛標籤
開發者團隊
原文外掛簡介
Easy and fast way show Woocommerce products list with Ajax navigation, category and order filter via shortcode in any page / post.
Useful if you want display some of your products inside article.
Compatible with Woocommerce 3.0.x!
User can filter products by category ang change they order (all this do also Ajax).
In shortcode setting possible filter products by category ID or products IDs and SKUs list (Example: 2,5,8,24).
See demo on resume/cv template shop.
For insert products list use following shortcode:
[woo_ajax_nav columns=”3″ orderby=”title” order=”asc” per_page=”3″ product_cat=”” ids=”” skus=””]
Params:
columns: columns number (1,2,3,4)
orderby and order: https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
per_page: how many product shows in one page
product_cat: from what category select products
ids: products ids (Example: 2,5,8,24), if need shows just specific products
Note: Woocommerce products block design depends on used WordPress theme and Woocommerce styles.
