Jul 11, 2024

In order to effectively display your merchandise on the internet, you'll require product pages that look appealing and user-friendly. The default template offers all the basic features, however, you may be looking for additional features that will satisfy your specific requirements for your store online and complement the style of your store.

By using built-in tools to customize including the block editor and website Editor, WordPress enables you to create significant modifications to the pages of your products that require no prior experience in development. Plus, you can get specific design features and added functionality with different extensions. Or, if you're a more experienced WordPress user, you'll be in a position to modify your website's pages by using a custom-coded.

In this post we'll take a look at the default homepage for your company and explain the ways you could alter the template. In the following post we'll show three methods to begin to customize templates for your product webpages.

What is a Product page?

When you've added it on your WordPress website it will instantly generate an online shop website that allows you to list your products. When a user clicks one of your items from your catalogue, it will take them to the appropriate product page. The design of the webpage depends on your style but it will include important information regarding the product.

You can modify or edit the data you want to edit through the Product section of your WordPress dashboard, then selecting the product you wish to change, and then choosing Edit Product. Alternatively, you can choose "Add to Cart" to create a brand new product.

product page in the Woo dashboard
adding a simple product

In this area it is possible to select the category of your item as well as create tags. It allows customers to navigate through your product catalog more easily.

When you've finished configuring your software, click on the upgrade button. Here's how a default web page might look on the front-end:

product listing for a WordPress pennant

You can see that the page on products is loaded with everything you need to promote your product on the internet. It's important to keep in mind that the layout shown at the top of your website is identical for every product.

The reason you should personalize the web page for your product

So, why should you alter the page of your product if it works just fine?

Perhaps there's no need at all.

If you're searching for a minimal style and want just the important elements for marketing your products, you will not require any modifications. There is no requirement for you shouldcustomize your product's pages. Basic options have been used well for a lot of business owners.

The default product page design can be a bit sloppy. There's for instance, no chance to incorporate other kinds of media, like videos or different colors.

The simplicity of this approach could work for some shops. Other shops will need more equipment to boost the sales.

With this in mind it is important to customize your product page to include the following features:

  • Offer more information on your product. If you give customers all of the info they need, it may be simpler for them to come to an informed purchase (and make a purchase). It is possible to include a FAQ section, variations images, 360 swatches videos, etc.

Three options to personalize the page of your product

Let's look at three options to personalize your website for your business!

1. By using the Site Editor

The most appealing thing about amazing about WordPress is that the built-in functions are very easy to use. Thanks to it's Site Editor You don't have to be a programmer for creating beautiful personalized page for your products .

The Site Editor operates exactly the same way to it's blocks editor. While the former is used for pages and blog posts, the Site Editor enables users to change fundamental elements such as the header, footer, or even the layout of your website.

It is possible to use the Site Editor only with an unblocking theme. If you're using a conventional theme, you'll have to refer to the 3rd method described in this tutorial.

Also, the content for every product page may only be changed by navigating to from the Products Tab before accessing your page in the editor in the backend (as shown earlier). The thing we're going to modify is the page's elements as also the style of the product page.

To get a head start on a start, head to the Appearance Editor and then click Templates.

Appearance --> Editor --> Templates screen

Click down until you reach the section that allows you to choose the One Product template.

selecting the single product template

Then, click upon the icon for pencil to launch the template editor.

editing the single product template

First, you'll be able to see that the template has been shaded gray.

default single product template

Just click the template and you'll be asked to change it into block templates. Select the transform into blocks button to continue.

classic template placeholder

Then you are able to modify your page's content with blocks.

editing the product page with blocks

If you're unfamiliar with WordPress blocks, or The Site Editor here are some ways you can tweak the page's layout:

Modify the layout of your web page

If you want to alter the layout of your page, click on the larger block and then choose the block that is parent.

selecting columns on the product page

Your horizontal menu will include arrows that permit users to change the position of the menu towards the left or the right.

option to move a block left or right

Also, it is feasible to shift blocks or blocks downwards or upwards.

moving description block up

If you'd like to add a block, simply look over the area where you'd like to place the block, then select the plus sign.

adding a block to the product page

If you're trying to modify the layout, incorporating blocks to columns or groups makes the most idea.

It is also possible to modify the layout of the template by pressing it before opening the block's setting.

setting layout options for the product page

Once you've selected Layout, you'll have the option of altering the purpose and positioning that the layout will take. It can also be transformed into a "sticky" element -- meaning it will never disappear as users navigate down the page.

If you are satisfied with your changes, press your Save button that is located near the top of your screen.

Alter the colors, fonts and color

To change colors within the Site Editor, simply select the component that you wish to modify and then open the block's setting on the right.

block settings screen

The components you can change are contingent on the blocks you can alter are contingent upon the. But generally, you are capable of changing the font as well as background and link color.

As default, you'll able to pick one of the themes colours.

options for block text, background, and links

If you choose the option which says "No Color" You'll be presented with a color picker.

color picker for blocks

You can move your mouse over to choose the hue. The Site Editor will even inform you if you've chosen a color with a poor contrast.

adding a custom color to a block

You can also input HEX, HSL, or RGB color codes. This is beneficial because it makes sure that your company colors match exactly.

Within the Typography section Click on the Typography tab. You have the option to alter the size of your text to small, medium and large.

For more settings for fonts You can click the three dots that are next to Typography..

font size options dropdown

There are a variety of options available. Click on them, and then save them in the Typeography menu.

choosing more typography options

It is possible to disable these settings if you think they are not necessary.

Create new blocks

Do you wish to add other elements on your website's product pages? The Site Editor can make that possible.

If, for instance, you're selling across your entire site You could include one of the banner blocks at the top of your template.

adding a banner block
adding a search bar to the product page

It's an excellent idea to know the available WordPress blocks, and also that you know what alternatives are available to you.

Design pages of different kinds for products

As you've learned the options to customize the product template of your website are available in the Site Editor. Any changes you make are reflected across all your product pages.

In some instances you may require an individual template for promoting specific types of products or even a specific segment. This is the case for instance, you could require an individual product page to promote the new product you're planning to release. Also, you may want to design a sale page specifically for a specific product category in the holiday time.

For multiple templates that can be utilized to serve a range of functions Visit Appearance - Editor Templates. After that, you can click the plus sign to add an additional template. Pick one item to add to the list: The product.

template options

This lets you create an entirely new template for your product's page, but for one item. Select the item you wish to create from the menu to open The Site Editor.

assigning products to a template

The default settings will prompt you to select the template already in use. The first option you should select is the general template to create your page.

choosing a pattern

Utilizing a pattern that is already in use can aid in speeding up the process of creating. However, you are able to bypass this step if you want to begin with a blank slate.

When you go back to the templates screen and hit the plus icon the second time in order to create your own template, you'll see the possibility of choosing the categories (product_cat).

adding a new template

This template can be used especially designed to suit a particular zone that encompasses clothes, accessories or even decor.

Choose your category to begin to build your template. The steps below are similar to the Single product option.

2. Extensions can be used to enhance the experience.

You've probably noticed that when you're using a block template Site Editor allows users to change their page's template in various ways, without touching one page of the code.

However, it doesn't give you an opportunity to increase the functionality of your site. Luckily, there are lots of extensions available to achieve this even when you're not an expert who has technical expertise.

In this section we'll examine the tools you can use to alter your page with the latest technology. In order to simplify the process, we've put these extensions into three usage examples: constructing sophisticated products, improving the pages of your product in addition to increasing the number of sales.

Develop and develop innovative products

If your online store offers personalized products, or even more sophisticated versions, it could be worth an extension that can make it easier to sell these items. Here, we'll discuss some top options.

Advanced Product Variation
advanced product variation extension

You can create different items using the default method. However, the configurations are a bit limited.

In addition, the extension permits you to customize your variation galleries as well as create tables to clearly display the options available.

Product Designer for
product designer for

Your customers will be able to include pictures, clip art forms, templates, as well as shapes, to your merchandise. And they'll even be able to include them to their carts right through the designs pages. The program also produces print-ready documents that allow for the production of personalized products.

Composite Products
composite products with extras

For instance, a shop selling skates may permit customers to construct their own skates in four steps, customizing the entire process to suit their specific needs. Filtering and sorting techniques that are sophisticated, and conditional logic make it simple for customers to locate what they're looking for.

The most appealing thing about Composite Products is that it comes with integrated assistance for bundles of product. So, when you design their own product, they'll be able to take advantage of all the items within the catalogue.

Price Calculator based on Formula Calculator for
Product Price by Custom Formula extension

Customized products may need additional resources such as additional fabrics or wood. If you don't have the required equipment, establishing a site for these items could be a challenge regarding logistics.

The usual method to market the item of this type is to send clients a quotation. However, this could drastically slow down the speed of sales. One of the most common reasons why people drop the shopping cart is their inability to calculate the total cost of their purchase in advance.

Wholesale for


It is possible to create and manage multiple wholesale customer role and set prices based on roles. This software includes the capability to add and drag registration forms which allows you to create a wholesale application.

Optimize product pages

Here are some extensions that could help enhance your product pages.

360o Image for
mixer product

While comprehensive product specifications images, static pictures, and videos can help by providing a 360o view could help bring your items to life.

The product also has navigation controls and offers the option of full-screen mode, which allows your clients to have a clear view of the item.

One Page Checkout
landing page that says "enable seamless purchases"

Like the name suggests it permits you to create a custom product page which will direct customers directly to the purchase. They can add or remove items from their shopping carts and pay for them without waiting for a different website to load.

This software is ideal for websites that have fewer items or landing pages that are specifically created for use in marketing campaigns.

Tab Manager
Tab manager extension

If you give your customers overly detailed information, it may become overloaded. Therefore, you might want make use of tabs on products in order for displaying product info in a neater way.

Product sales increase

Here are a few instruments that can assist you to improve sales through traditional and more subtle marketing methods.

Sale Flash Pro
Sale Flash Pro extension

About 40% of online buyers claim that their customer experience will be improved with wish lists for retailers. Given the number of people that say this, each retailer ought to have included the feature as a high priority on their checklist.

Product Recommendations
recommended products featuring shoes

The program can also generate automated recommendations based upon the customers' recently viewed history. The reports can help you find the most effective recommendations methods.

Product Add-Ons
product add-on options
Product Bundles
product bundles with instruments

This tool enables you to combine simple and flexible products. It also lets you recommend more products, and offer discount coupons for bulk purchases. You can also alter the design of the bundles and the items you bundle.

3. Using custom code

You can also alter the product pages on your website with a customized code. This method is particularly useful in the case of users who use a standard theme, and don't possess access to Site Editor.

Be aware that directly altering your website's theme files is an extremely risky process. If you're not equipped skills to perform this task and you're not careful, you could cause damage to your website or cause interruptions to the website.

Once you're all set to bring your changes live, make sure to utilize the WordPress kid theme. This way the personalizations you've made won't get lost with any updates to the theme that you're using as a parent.

Below are ways to alter your page's information using a custom code.

Using custom CSS

If you're looking to alter the appearance of your website using code CSS is the best choice. It enables you to modify things like colors, fonts as well as links.

There are several options to do this. Take a look.

In the Site Editor

To include CSS on your website for products, with Site Editor, go to "Appearance" - Editor - Styles Other CSS.

adding CSS to the Site Editor

The code can be placed in the Additional CSS box.

If, for instance, you wish to alter the shade of a name, you can make use of an snippet of code such as:

h2.-loop-product__title, . div.product .product_title color: #ffffff; letter-spacing: 1px; margin-bottom: 10px !important;

It's as simple as replacing "ffffff" with the desired color code.

If you'd like to alter the size of your font It is feasible to accomplish this by with this CSS code:

. div.product .product_title font-size: 25px;

Be sure to announce any modifications.

There's no doubt that these aren't the only basic examples, however there are many possibilities. If you're seeking to know more about CSS take a look at the WordPress guide to find more information on CSS.

Inside the Customizer

If your theme does not support editing of the entire site, you'll have to add the CSS code into the Customizer. For this, you'll have to go to Appearance > Customize Other CSS.

Advanced product variation extension

CSS works in the same method here the same way it does with the Site Editor.

In your child theme's style.css file

The final place where you may incorporate CSS to WordPress is within the theme's style.css file. The theme must be re-worked with the theme's child theme so the changes won't be lost in updates.

Go to Appearance > the Theme Editor.

editing CSS in theme files

By default, the style.css file should be picked. If it's not, choose it on the left side of the screen. This is under the Theme Files menu.

Once you've done that, you'll be able to include the CSS at the bottom on the page. You'll just need to update it after you've finished.

Utilizing PHP

CSS is a great tool for changing the look of WordPress It can't assist you in adding functions to your website pages to sell products.

For this to be done with code manually then you'll need to make use of PHP. The most efficient method to accomplish this is by adding PHP code into the children theme's functions.php file or using a plugin like Code Snippets.

code snippets plugin

There are several alternatives you could try if you're an experienced WordPress user or developer:

Hooks (actions and filters)

Here's an example of a useful step:

/** * Allow shortcodes in product excerpts */ if (!function_exists('_template_single_excerpt')) function _template_single_excerpt( $post ) global $post; if ($post->post_excerpt) echo '' . do_shortcode(wpautop(wptexturize($post->post_excerpt))) . '';
/** * Display product attribute archive links */ add_action( '_product_meta_end', 'wc_show_attribute_links' ); // if you'd like to show it on archive page, replace "_product_meta_end" with "_shop_loop_item_title" function wc_show_attribute_links() global $post; $attribute_names = array( '', '' ); // Add attribute names here and remember to add the pa_ prefix to the attribute name foreach ( $attribute_names as $attribute_name ) $taxonomy = get_taxonomy( $attribute_name ); if ( $taxonomy && ! is_wp_error( $taxonomy ) ) $terms = $terms = the wp_get_post_terms function( $post->ID attribute_name; $post->ID ) $terms_array = array() /If ( ! empty( $terms ) ) is_wp_error( $terms ) foreach ( term $terms) ) =$archive_link = Get_Term_Link( $term->slug and $attribute_name ) //$full_line equals"' . $archive_link . '">'. $term->name . ''; array_push( $terms_array, $full_line ); echo $taxonomy->labels->name . ': ' . implode( ', ' . $terms_array );
/** * Reorder product data tabs */ add_filter( '_product_tabs', 'woo_reorder_tabs', 98 ); function woo_reorder_tabs( $tabs ) $tabs['reviews']['priority'] = 5; // Reviews first $tabs['description']['priority'] = 10; // Description second $tabs['additional_information']['priority'] = 15; // Additional information third return $tabs; 

Then, you can create a customized tab

/** * Add a custom product data tab */ add_filter( '_product_tabs', 'woo_new_product_tab' ); function woo_new_product_tab( $tabs ) // Adds the new tab $tabs['test_tab'] = array( 'title' => __( 'New Product Tab', '' ), 'priority' => 50, 'callback' => 'woo_new_product_tab_content' ); return $tabs; function woo_new_product_tab_content() // The new tab content echo 'New Product Tab'; echo 'Here\'s your new product tab. ';

For further information about how to use these functions check out this full list of hooks.

Templates for the global web pages

If you're using PHP code, another alternative is to create a global custom template for your product beginning at the beginning. Be aware that this approach will not work with block themes.

To begin, you'll need to name your new file template-custom-product.php and write an opening PHP comment at the top, stating the template's name:

In this situation in this case, it may be beneficial to change "Example Template" with "Global Personalized Template for Pages for Products" Pages" or a similar one.

The template has been modeled following the standard product page. It is then possible to modify it as you wish with web hooks.

Boost sales with a custom web page for the product

The design of your page for products can assist you to showcase your services. Also, it allows you to provide the customers with more options as well as provide an exceptional user experience that attracts the right customers. We've discussed this before that you have the option of using several ways to alter the content.

If you're using blocks in your theme, then you'll be able to make use of the Site Editor to alter the appearance of the global template. For more features it is possible to add extensions. If you're experienced with WordPress user, you may prefer to utilize CSS or PHP however this could be risky.

This post was first seen on here