How To Set Woocommerce Shop Page
Read Fourth dimension: 7 mins Languages:
People who take created WordPress websites know that there are unlike kinds of pages that you can create in WordPress. WooCommerce follows a somewhat similar structure. There are single product pages like unmarried postal service pages, then there are archive blazon pages to show a list of products. The WooCommerce store page falls in the latter category.
In this post, I'll explain why a WooCommerce shop page is of import and how you can customize it. Let'southward get started.
Why Customize the WooCommerce Shop Page?
Every bit I mentioned before, the shop folio allows your visitors to run across all the products that you are selling in one identify. This is very convenient for them if they are just browsing around without a particular product that they want to buy in mind.
A WooCommerce shop page will look pretty bones when everything is gear up to default. The post-obit paradigm shows what the default shop page looks like on my locally set upwards examination website with the Storefront theme installed.
Right now, it just uses Shop equally the page title and presents all the products in a filigree layout. There are a lot of improvements that tin can be made to the page. For instance, nosotros could give users the ability to search for products or we could include a list of featured, best-selling, or top-rated products. The idea is to help the viewers discover what they are looking for or to push them in a specific direction, for case past showing a list of on-sale products.
Customizing the shop page to include top-rated and acknowledged products volition increase your chances of making a sale. You can too edit the shop page to make production browsing easier for visitors.
Customizing the WooCommerce Shop Page
There are a few options for customizing the WooCommerce shop page in WordPress. The easiest fashion to practice that will exist to utilize existing tools and plugins. However, you can also design a fully custom shop folio by creating a kid theme.
Our focus here will be on creating a customized shop page by using built-in WordPress and WooCommerce features, a free third-party plugin called StoreCustomizer, and some custom CSS.
i. Add together Built-in WooCommerce Blocks
Nosotros will begin past editing the shop page using the WordPress Gutenberg editor. You will observe the store page nether Pages > All Pages in the WordPress dashboard navigation card. Click on the Edit link that shows up when y'all hover over the shop page.
The starting time block that nosotros volition add to the shop page is an h2
level heading. Click on the tiny + push button on the page then select a heading cake. I am using Welcome to Our Shop as my heading. Click on the heading and you lot will run across a floating menu or toolbar to gear up the heading level, alignment, etc. Keep the heading level at h2
and ready the alignment to heart. You will also come across some settings for the heading block in the sidebar. Just make certain that you lot are on the Cake tab instead of Page.
I made a few changes to the advent of the heading block like setting its color to black, size to 37px, font-weight in the appearance dropdown to bold, and I too set the letter case to upper-case letter by selecting the kickoff option.
At present, we will add together some other block to create a ii-column layout. Select the option for a 70-30 separate. Our listing of products will be on the left side and the right side will contain a sidebar for additional content similar a product search widget.
Begin by calculation an h3
level heading titled Our Best Selling Products to the left cavalcade. Add a WooCommerce cake named Best Selling Products hither. Yous can find it after typing All-time Selling in the search input of the floating toolbar. Yous can also click on the + icon in the top card to see a list of all available block items. This will open up a sidebar on the left, and you can keep scrolling down to run into WooCommerce blocks. This is another way of adding a block if you lot tin't find it by searching.
By default, the cake will display the acme ix acknowledged products in a 3x3 filigree. We will keep the column slider at 3 and move the row slider to ane to show a single row with three products. I have too toggled the production rating value to hibernate it from the folio.
Repeat the terminal two steps to add another heading titled Our Latest Products and a block to showcase the three latest products.
Let'south start adding content to the sidebar now. First, we will add together a product search cake and and so toggle the Prove search field characterization from within its block settings.
Add an h3
level heading titled Select a Category below the search bar. Set its colour to black, appearance to bold, and letter example to majuscule. Add together another WooCommerce block called Product Categories Listing after the heading and go on all its default block settings. This should give you a shop page that looks like the prototype below.
We will add a Featured Production block to our sidebar to show a featured product. I have set mine to the Emoji Hoodie. There are quite a few block settings available for the featured product. Turn off Show Clarification under Content in the block settings and gear up the background opacity to 70%.
2. Adding Custom CSS for the Blocks
We customized the appearance of many elements on the shop page with the Gutenberg editor itself. Still, making more changes will require yous to write some CSS. Y'all can add your own CSS rules to your website past heading over to Appearance > Customize > Additional CSS. Now place the following CSS within the textbox and hit Publish.
.wc-block-product-categories { margin-bottom: 1em; background: #efefef; padding: 2rem 0 0.5rem 1rem; } .wc-block-product-categories-listing.wc-cake-product-categories-list--depth-0 { font-size: 1.5rem; listing-style: decimal; margin-left: 2rem; margin-bottom: 1rem; } #select-a-category { font-size: 2rem; margin-bottom: 0; margin-top: 3rem; } .woocommerce-ordering { font-size: 1.7rem; } .storefront-sorting select { border: 2px solid black; text-marshal: center; font-variant: small-caps; }
The first three selectors target different elements that we added to the shop page. The applied CSS rules are basically used to make the category list section stand up out.
The last two selectors target the default sorting dropdown on the shop page. Nosotros increase the font size of the dropdown and add a thicker border amidst other things in social club to blend information technology in with the rest of the page.
iii. Removing Unwanted Elements With StoreCustomizer
The StoreCustomizer plugin gives the states a lot of options to alter things on the store page that could not be accomplished by just using the default Gutenberg editor. Information technology allows us to customize many WooCommerce-related pages, the Shop Page existence 1 of them.
Once yous accept installed the plugin, you tin can go to Appearance > Customize > StoreCustomizer > WooCommerce Shop Folio in club to make any changes. In my case, I checked the box to remove the shop title and sorting results. I also fix the products per page to xx and products per row to four. We tin can also add a badge to highlight new products on the shop folio by ticking the checkbox side by side to Add a "New" bluecoat for recently added products. All you have to do is specify the number of days that have passed since adding an item to the website when it should still be considered new.
Final Result
Afterwards post-obit all the steps in the tutorial, your store folio should look like the image beneath.
It should as well have the archetype product listing with newly applied CSS and settings so that it looks similar to the following image.
Final Thoughts
In this post, you learned how to customize a WooCommerce shop page without writing a lot of code. This involved adding built-in WooCommerce blocks to the shop folio and then irresolute their advent past using some CSS. Finally, we used a costless third-party plugin called StoreCustomizer to add together functionality that would otherwise require us to write PHP code.
Did you find this post useful?
How To Set Woocommerce Shop Page,
Source: https://webdesign.tutsplus.com/tutorials/how-to-customize-the-woocommerce-shop-page--cms-39830
Posted by: buckleydowanceares.blogspot.com
0 Response to "How To Set Woocommerce Shop Page"
Post a Comment