Do you want to create a woocommerce product list view on the website? They are very popular and show customers more information about products on the store page itself. Therefore, this guide provides a step-by-step guide to switching to the product list view. However, before continuing the process, let’s take a look at what we need to create a product list view. Why create a product list view in woocommerce? By default, products on the shopping page are displayed in a grid style. Yes, it depends entirely on the theme of the event on the website. However, for most themes, products are displayed as grids one by one, such as tiles.
However, in the list view, the display of products is more detailed. Each product will be displayed in the vertical list in turn, and other information will be displayed, such as delivery details, product description, etc. For example, we will compare the grid view and list view of the online store best buy. The default grid view of products on the website is as follows: However, you cannot directly switch to the list view of the website. However, to see more products, the products are displayed in the list view with the following layout: The list view shows more product details than the grid view. Customers can easily view delivery details, product model and SKU number, comparison and expectation list options, etc. in the list view. Instead, you cannot add this information because the site looks crowded in the grid view.
In fact, if your online store has a wholesale product, catalog or restaurant order system, it will be more convenient for customers to view the list. All necessary details can be provided to customers on a single page. Therefore, you can view additional information without clicking on a single product page. How do I create a woocommerce product list view? The easiest way to create a woocommerce product list view is to use plug-ins. The WordPress plug-in helps to improve the functionality and flexibility of the website. Similarly, it can also be used to view products in the list.
There are many plug-ins that can generate product list views, but the following are the best plug-ins: Woocommerce grid \/ list view androg woocommerce grid \/ list view is one of the best free plug-ins for generating product list view. It’s very simple to use. Just add the switch to enable list or grid view on the woocommerce shopping page. The plug-in also provides various customization options for list and grid product styles. Provides advanced options to modify the grid \/ list swap button to change the position. Similarly, the products of each page can also be changed as needed using this plug-in.
Main features: list and grid switching buttons product options for each advanced custom page of the switching button quick code friendly compatibility with the main woocomer plug-ins price: woocomer’s grid \/ list view is a free plug-in. Available in the official word press plug-in repository. Woocommerce product table androg woocommerce product table is an advanced plug-in that helps generate a view of the product list. It was originally one of the woocomer plug-ins that designed tables on the web site. However, you can easily modify the product and display it in tabular form in the list view.
The plug-in is very easy to set up, and users can order multiple products at one time. It also provides built-in search and sorting options for list views. This is a very convenient feature because you can easily find the product you want. Main features: tabular format list of products
You can also disable the awesome CSS file or select the font awesome version. After adding the required custom CSS or JavaScript, don’t forget to save the changes. Switch between grid view and shopping list view. The product quantity is also shown here, and the product description is also included in the product. Then, you can click the list view button to switch to the product list view, as shown below. The customer can switch back to the grid view as needed. Just click the grid view button. That’s all! This is how to create a list view of woocommerce products and allow customers to switch between grid and list views. Bonus: activate the catalog mode in woocomer. We have proposed one of the easiest ways to create a view of woocomer’s product list. It is very useful when displaying products on catalog websites. However, in order to help woocommerce activate the directory mode, we also provide a simple guide as a reward. To do this, the function of the website is one of the core documents of the theme. You need to add some code snippets to the PHP file. Therefore, create a sub theme for the next step and back up the website so that you can save your changes when you update the WordPress theme. If you need help, you can also create a sub theme using one of WordPress’s sub theme plug-ins. After activating the sub theme, navigate to shapes > theme file editor to view the functions of the theme. Open the PHP file. You can then add code snippets at the end of the editor and start updating the file. The theme file varies according to the activity theme of the website. We used the divi theme here so that the editor looks slightly different. You must first delete the Add button on the shopping cart and then hide the product price. Therefore, you must add the following code snippet to the editor: 1. Delete the \
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30 ); This function removes the additional pages of the shopping cart from the woocommerce product page and the shopping page. If you don’t want to buy a product, you can also add the following code snippet: add_filter( ‘woocommerce_is_purchasable’, ‘__return_false’); In addition, the learn more button is replaced by the add to cart button.
2. Hiding product prices woocomerce provides a variety of ways to hide product prices. It can be hidden from anyone except all users or administrators. To hide product prices for all users, use the following script: add_filter( ‘woocommerce_get_price_html’, ‘QuadLayers_remove_price’);
Function quadlayers_remove_price ($price){
return goods
}Or, to hide the price of everyone except admin, use the following snipt: add_filter( ‘woocommerce_get_price_html’, ‘QuadLayers_remove_price’);
Function quadlayers_remove_price ($price){
If (is_admin()) returns $price;
return goods
}Male, if necessary, on the store page