- 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:
- In the WordPress admin, click on the Plugins menu and then on Add New.
- Run a search for WooCommerce Product Archive Customiser.
- Install and activate the plugin.
- 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.
- 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.
推薦閱讀
- Learn ECMAScript(Second Edition)
- 垃圾回收的算法與實現(xiàn)
- 機器人Python青少年編程開發(fā)實例
- AngularJS深度剖析與最佳實踐
- 游戲程序設(shè)計教程
- Bootstrap Essentials
- Getting Started with Hazelcast(Second Edition)
- C#程序設(shè)計教程(第3版)
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計原理(第2版)
- Kotlin極簡教程
- Windows Phone 8 Game Development
- Maven for Eclipse
- Xamarin Cross-Platform Development Cookbook
- 精益軟件開發(fā)管理之道
- Android項目實戰(zhàn):博學谷