php Woocommerce Shop 显示类别
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12214845/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Woocommerce Shop show categories
提问by Civ Indus
I am new to wordpress so please still help with me if I get the language wrong.
我是 wordpress 的新手,所以如果我的语言有误,请仍然帮助我。
Using woocommerce to display a shop with variable products, I would like the shop link landing page to display the shop categories with the featured image of that category.
使用 woocommerce 显示具有可变产品的商店,我希望商店链接登录页面显示具有该类别特色图像的商店类别。
My current shop page displays all products, with a pagination to other product pages and I cannot find the template for all products.
我当前的商店页面显示所有产品,并带有其他产品页面的分页,但我找不到所有产品的模板。
When I go to shop page in wp-admin and click on the edit page it is empty, so am not sure how they are getting there in the frst place and I have looked at the HTML not just the visual editor.
当我在 wp-admin 中进入商店页面并单击编辑页面时,它是空的,所以我不确定他们是如何到达那里的,而且我不仅查看了可视化编辑器,还查看了 HTML。
Many Thanks Asa.
非常感谢阿萨。
回答by Ratnakar - StoreApps
It's easy, just go to 'WooCommerce -> Settings'link from side bar admin menu & select 'Catalog'tab & then tick 2 check boxes "Show subcategories on the shop page"& "When showing subcategories, hide product" -> click 'Save Changes'button at bottom. That's it! You are Done!
这很简单,只需'WooCommerce -> Settings'从侧栏管理菜单转到链接并选择'Catalog'选项卡,然后勾选底部的2 个复选框"Show subcategories on the shop page"和"When showing subcategories, hide product" -> click 'Save Changes'按钮。就是这样!你完成了!
Now visit 'Shop' page you'll be able to see categories.
现在访问“商店”页面,您将能够看到类别。
Hope this helps.
希望这可以帮助。
回答by montrealist
This is now in Woocommerce -> Settings -> Products -> Display, 'Shop Page Display' drop-down.
现在在Woocommerce -> Settings -> Products -> Display“商店页面显示”下拉菜单中。
回答by Bikash Waiba
In current version 3.4.5 there is no display option under Woocommerce -> Settings -> Products -> Display. It has been moved to customizer under Woocommerce->Product Catalog
在当前版本 3.4.5 下没有显示选项Woocommerce -> Settings -> Products -> Display。它已移至定制器下Woocommerce->Product Catalog

