- 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 TypeScript 3 by Building Web Applications
- Google Flutter Mobile Development Quick Start Guide
- 編程的修煉
- Mastering JavaScript Object-Oriented Programming
- MySQL數(shù)據(jù)庫應(yīng)用與管理 第2版
- Learning Spring 5.0
- Python自然語言處理(微課版)
- HTML5+CSS3+JavaScript Web開發(fā)案例教程(在線實訓(xùn)版)
- Spring核心技術(shù)和案例實戰(zhàn)
- 微服務(wù)從小白到專家:Spring Cloud和Kubernetes實戰(zhàn)
- Python全棧數(shù)據(jù)工程師養(yǎng)成攻略(視頻講解版)
- Learning Apache Karaf
- Python從入門到精通
- Processing創(chuàng)意編程指南
- RESTful Web Clients:基于超媒體的可復(fù)用客戶端