官术网_书友最值得收藏!

  • WooCommerce Cookbook
  • Patrick Rauland
  • 222字
  • 2021-07-23 19:35:10

Changing the number of products per page

WooCommerce assumes you have dozens of products in your store. For that reason, the layout is four products across and 10 products per page. That's a really nice format for most stores. But for some stores that have very few products or stores that have thousands and thousands, you may want to change that format.

Getting ready

You need to have a few products on your site, otherwise you won't be able to see any of the changes.

How to do it…

In order to change the number of products per page, go through the following steps:

  1. In the WordPress admin, click on the Plugins menu and then on Add New.
  2. Run a search for WooCommerce Product Archive Customiser.
  3. Install and activate the plugin.
  4. Once we have the plugin installed, it's time to configure it. Under WooCommerce | Settings | Products | Display, you'll find a new Product Archives settings section. Change the Products per page setting to 20.
  5. Scroll down to the bottom of the page and click on the Save changes button.

There's more…

There are plenty more settings included in the WooCommerce Product Archive Customizer that you can play with. It's incredibly easy, for example, to change the number of columns, add a badge to new products, or hide reviews.

主站蜘蛛池模板: 泸水县| 新巴尔虎右旗| 阿尔山市| 西乌| 永善县| 祥云县| 云南省| 海宁市| 盐津县| 磐安县| 灌云县| 余江县| 峡江县| 凌海市| 苍梧县| 灵台县| 龙门县| 二手房| 当阳市| 台北市| 涿鹿县| 屏东县| 临澧县| 蕉岭县| 富阳市| 子洲县| 杭锦旗| 台前县| 揭西县| 略阳县| 铜陵市| 宜兰市| 邵东县| 台南县| 崇明县| 茂名市| 迭部县| 九江县| 朝阳市| 石城县| 四子王旗|