內容簡介
這個小工具只能在 Woocommerce 單一商品頁面上使用。當它放置在那裡時,它會解析小工具設置中設定的「類別位置」,以找出其父類別下的任何子類別。然後它會以小工具形式列出子類別中的暢銷品。
以下是一個範例案例:我們有多位作者,每個作者都有大量的商品。商品類別如下:
– 書籍
– 小說
– 非小說
– 作者
– 作者 1
– 作者 2
– 作者 3
在我們的案例中,小工具的「類別位置」是「Authors」(類別)。當你進入在「作者 1」下列出的商品時,在側邊欄中,列出了「作者 1」的其他最暢銷商品。
如果它屬於多個類別,它會列出所有類別。它會忽略當前商品。如果這是子類別中的唯一產品,它也會隱藏自己。
外掛標籤
開發者團隊
② 後台搜尋「Woocommerce Category Best Seller Widget」→ 直接安裝(推薦)
原文外掛簡介
This widget only works on a Woocommerce single product page. When it is placed there, it will parse the Category location (set in the widget’s settings) for the any subcategories of the parent category. It will then list the best sellers, by subcategory, in widget form.
Here is an example case: We have mutliple authors that each have tons of products. Product categories are as follows:
– Books
– fiction
– nonfiction
– Authors
– Author 1
– Author 2
– Author 3
In our case, our widget’s Category location is Authors (the category). When you go to a product filed in Author 1, in the sidebar, all of Author 1’s other products are listed in order of best selling.
If there is more than one category that it falls under, it will list them all. It ignores the current product. It also hide itself if this is the only product in that subcategory.
