(Untitled)

Jul 10, 2024

In order to effectively display your products online, you'll require pages that are visually appealing and easy to navigate. The template that comes with default features basic features, but you could be searching for extra features that meet the specific requirements of your online store and match your personal style.

Through built-in customizing tools such as the block editor or the Site Editor, WordPress enables you to make significant changes to your product pages without extensive technical knowledge. Plus, you can receive specific features for design and added functionality with different extensions. Or, if you're a more experienced WordPress use, you may modify your product pages using the custom codes.

In this blog, we'll look at the default homepage for your product and discuss the reasons it's possible to modify it. Then, we'll show you three ways to start customizing product page templates.

What is a product page?

If you add it to your WordPress site it instantly generates an online shop page on which you'll be able to list the products you sell. When a user clicks an item from your catalogue it will take them to the appropriate product page. The design of the page will largely depend on your theme, but it'll contain vital details about the item.

It is possible to edit or add this information by navigating to your Products tab on the menu bar on your WordPress dashboard, finding the item you want to edit, then selecting Edit Products. Alternately, select Add New to add a new product.

product page in the Woo dashboard
adding a simple product

On this page, you can also choose an appropriate category for your product and add tags. This lets customers explore your catalogue of items with greater ease.

Once you've completed configuring a product, hit the update button. Here's what a default product webpage might look like from the front end:

product listing for a WordPress pennant

You can see that this product page comes with everything you need to market your goods online. It is important to note that the layout you see on the front of your site is the same for all products.

Why you should customize your page for sale

Then, why would you customize the product page even if the page is working perfectly?

Well, perhaps there's no need in the first place.

If you prefer a minimalist style and want only the most the most essential elements to market your products, you might not require any changes. There's certainly nothing that says you have tocustomize your product's pages. The default options have worked just perfectly for thousands of business owners.

The standard design of the product pages could be restrictive. In particular, it doesn't offer an choice to incorporate other kinds of media like videos, or variations of Swatches.

The simplicity of this approach could work well for a few online stores. Others will require more options to increase sales.

In this regard, you can customize your products webpage if you'd like:

  • Provide more information about the product you offer. If you provide customers with all the necessary information, it will be much easier for them to make a purchase (and to purchase). Add a product FAQ section, variations pictures, 360 swatches videos, etc.

Three ways to customize the page of your product

Now, let's look at three ways you can personalize your product page!

1. Using the Site Editor

The best thing about WordPress is that its built-in features are very beginner-friendly. Thanks to its Site Editor, you don't need to know how to code to design beautiful custom product pages .

The Site Editor works similarly as the blocks editor. However, while it can be used to create pages as well as blog posts The Site Editor allows the user to alter the elements of your website, including your header, footer, and the product page template.

It is important to note that you are able to utilize the Site Editor only with an unblocking theme. If you're still using a standard theme you'll need to refer to step three of this article.

Also, the content for each individual product page can be changed only by going to the Products tab, and then accessing the page in the back-end editor (as previously mentioned). What we're about to modify is the components as well as the design of the product page.

To get started To begin, visit Appearance - Editor and select the Templates tab..

Appearance --> Editor --> Templates screen

Scroll down to the section and then select Single Product. Scroll down to the section and select Single Product template.

selecting the single product template

After that, you can click upon the icon for pencil in order to launch the template editor.

editing the single product template

At first, you'll see that the template's colored gray.

default single product template

Select the template then you'll get a prompt to convert the template into blocks. Hit the Transform into blocks button to begin.

classic template placeholder

You can now make changes to your website with blocks.

editing the product page with blocks

In case you're not familiar with WordPress blocks or the Site Editor, here are a few useful ways to tweak the look of the page's layout:

Modify the layout of your page

To change the layout to change the layout, select a bigger block, then select the block that is its parent.

selecting columns on the product page

Your horizontal menu should then show arrows that allow you to navigate that section of the screen left or right.

option to move a block left or right

It is also possible to move blocks or groups of blocks upwards and downwards.

moving description block up

If you'd like to insert a block, simply hover your cursor over the space in which you'd like to place it, and click on the plus icon.

adding a block to the product page

If you'd like to change the layout of your website, then adding blocks for columns or groups make sense.

It is also possible to change the template layout by clicking it and then opening the block's configurations.

setting layout options for the product page

In Layout under Layout, you'll have an option of altering the justification and position of the layout. You can even transform it into something that's "sticky" element -- that means it doesn't go away as users scroll through the page.

When you're happy with your changes, press your save button that is located on the top of your screen.

Change colors and typography

For changing colors using The Site Editor select the element you'd like to modify and access the block's settings on the right.

block settings screen

The elements you can change will depend upon the block. But generally, you are able to alter the text, background, as well as the link's color.

In default, you'll be able to select from the theme's default colors.

options for block text, background, and links

If you click the section that reads There is no color selection You'll be presented with a color picker.

color picker for blocks

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

adding a custom color to a block

It is also possible to input HEX, HSL, or RGB colors. This is very useful since it lets you ensure that the colors of your business are in line with.

Within the tab for Typography, in the section, click on the Typography tab. You have the option to change the size of text to medium, small or large.

To open more font settings, click on the three dots to the right of Typography.

font size options dropdown

You have tons of options there. Just click to select the ones you like and then add them to the Typeography menu.

choosing more typography options

It is possible to deactivate these options if you decide you don't need them.

Make new blocks

Are you looking to include elements on the page of your product? The Site Editor makes it feasible.

For instance, when you're running a site-wide sale, you could add a banner block to the at the top of the template.

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

It's a good idea to be familiar with various WordPress block and, so that you know what alternatives you can choose from.

Create multiple types of product pages

As you've learned the options to alter the design of your product template of your page in The Site Editor. The changes you make will be reflected on all your product pages.

In certain situations, you might want templates that are only suitable to promote a particular type of product or even a specific category. You might, for example, want a totally unique product page for an item that you're planning to launch. Perhaps, you'd like to design a sales page for a certain segment of products during the Christmas season.

For multiple templates that can be used for diverse purposes, head to the Appearance Editor and click on Templates. Then, click on the plus sign to add the template you want to create and select Single item: Product.

template options

This allows you to design an entirely new template for your product's page with only one option. Choose the product you want to create in the menu, and then start your Site Editor.

assigning products to a template

As a default the system will ask you to use a pre-existing pattern. First, you'll want to choose your general product page template.

choosing a pattern

Using a pre-existing pattern can assist in the speedy design process. But you can always bypass this process if you prefer to start from scratch.

If you go back to the templates screen, then click on the plus button for a second time to make a fresh template, you'll be presented with the option of selecting Categories (product_cat).

adding a new template

This template will be for a specific category that includes accessories, clothing, or home decor.

Select your desired category, then start creating your template. The steps are the same as with the Single item: Product option.

2. Extensions can be used to enhance your experience.

As you've seen, when you're using a block theme Site Editor lets the user to alter your page template in different ways, without touching a line of code.

But it's not giving users the possibility of expanding the functionality of the page. There are plenty of extensions that help you accomplish this, regardless of whether you're a beginner without any technical expertise.

In this article, we'll look at some tools to help you alter your page's content with new features. To simplify things, we've organized the extensions into three usage examples: creating sophisticated products, enhancing product pages as well as increasing sales.

Develop products that are innovative

If you have an online shop that offers bespoke products or advanced product variations, you might want extensions to ease the sale of these items. In this article, we'll look at the top choices.

Advanced Product Variation
advanced product variation extension

enables you to create variable products by default however the options on these products can be somewhat limited.

Furthermore, this extension lets users to modify their variation galleries as well as create tables to clearly show the available options.

Product Designer for
product designer for

Customers will have the ability to add pictures, clip art, shapes, and templates for your designs. In addition, they'll be able to add them into their shopping carts from the design page. The software also produces print-ready documents which will facilitate the production of custom products.

Composite Products
composite products with extras

A shop that sells skates might allow patrons to build their own board with just four steps. They can then customize each step to meet their personal preferences. Advanced sorting, filtering, and conditional logic make it simple for customers to discover what they're searching for.

The great thing about Composite Products is that it has integrated support for bundles of products. That means when customers create their unique product, they'll have the ability to choose from a variety of products in your catalog.

Pricing by Formula Calculator for
Product Price by Custom Formula extension

Some custom products require more sources, for example, additional fabrics or wood. With the wrong tools, creating a site for these items could be difficult logistically.

The usual method to market such a product would be to contact customers with a quote. This can significantly delay the sale process. Actually, one of the most common reasons why customers abandon their carts is the inability to estimate the total price of their purchase upfront.

Wholesale for
Wholesale for  extension

You are able to manage and create multiple wholesale user roles and create pricing based on role. Additionally, it comes with an easy-to-use registration form creator, so you can create a wholesale application.

Optimize product pages

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

360o Image for
mixer product

Although detailed product specifications images, static pictures, and videos can go a long way providing a 360o view helps bring your items to life.

Additionally, it comes with control of navigation and a complete screen modes, which means that your clients can have an overview of the product.

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

As the name suggests it allows you to create a customized product page which guides customers directly to make purchases. They can add or remove items from their carts and pay without having to wait for the new page to load.

This is a great tool for landing pages with less content or landing pages specifically designed to be associated with marketing campaigns.

Tab Manager
Tab manager extension

However, if you offer your clients many details, you can overwhelm them. This is why you may want to utilize product tabs for presenting information about the product in a more organized way.

Product sales increase

Below are tools that will help you increase your sales using both traditional as well as more subtil marketing strategies.

Sale Flash Pro
Sale Flash Pro extension
Wishlists

Around 40% of online shoppers claim that their customer experience is better when the retailers had wishlists. Given the number of people who say this each online retailer could have put this option as a top priority on their checklist.

Product Recommendations
recommended products featuring shoes

The program can also generate automated recommendations based upon the customers' recently viewed history. Useful reports can also assist you in identifying your best recommendation methods.

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

This tool enables you to group simple as well as variable items. You may also suggest optional items and offer bulk quantity discounts. You can also alter the look of the bundles and products.

3. Using custom code

Additionally, you can alter your page's content using custom code. This method is particularly useful if you're using a classic theme and therefore don't get access to the Editor for Sites.

It is important to note that directly altering the themes files on your website is not a simple task. If you're not equipped know-how, you may end up damaging your site or causing delays.

Then, once you're ready to go live with your new changes ensure that you use the WordPress child theme. In this way, your personalizations won't be lost with any changes to the parent theme.

Below are methods to modify your product page using custom codes.

Utilizing custom CSS

If you'd like to modify the style of your product site using code CSS is the best choice. CSS lets you alter things like colors, fonts, links, and more.

There are several ways you can do this. Let's take a look at them.

In the Site Editor

For adding CSS to your website's product pages using Site Editor, go to Appearance - Editor - Styles Additional CSS.

adding CSS to the Site Editor

You can place your code inside the Additional CSS box.

In the case of example, if you wish to alter the hue of a name, you can use the code such as this:

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 color you prefer. color code.

For those who want to alter the size of your font then you could use this CSS snippet:

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

Just make sure to make sure to publish the changes.

It's true that these are only a handful of simple examples, but there are many possibilities. If you're interested in learning more, you can check out the WordPress tutorial for more information on CSS.

Within the Customizer

If your theme doesn't support complete site editing, then you'll have to insert your CSS code into the Customizer. To add it visit the Appearance tab, then Customize and finally Additional CSS.

Advanced product variation extension

CSS will function the same method here as it works when you use the Site Editor.

In the themes for children's style.css file

The last place you are able to make CSS to WordPress is in your theme's style.css file. It is important to collaborate together with your child theme to ensure that your modifications aren't lost in update.

Go to the Appearance tab and then to the Theme Editor.

editing CSS in theme files

By default, your style.css file should be selected. If not, select it on the right hand side of the screen, under the Theme Files menu.

After that, you'll be able to make any CSS in the last line in the document. The only thing you need to do is update the CSS after you're done.

Using PHP

CSS is great for changing the appearance of WordPress, but it can't assist you in adding functionality to the pages of your products.

If you want to do this manually using codes, you'll have to utilize PHP. It is possible to add PHP code into your themes child's functions.php file or by using a plugin such as Code Snippets.

code snippets plugin

Here are a few alternatives you could explore if you're a skilled 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 ) ) Then $terms is $terms = wp_get_post_terms( $post->ID attribute_name, $post->ID ) the $terms_array is an array() // if ( ! empty( $terms ) ) is_wp_error( $terms ) foreach ( $terms as $term ) the$archive_link = Get_Term_Link( $term->slug attribute_name, $term->slug )$full_line = is"' . $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; 

Also, you can include a tab that you have created:

/**  * 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.'; 

To find out more details about using these functions, check out this comprehensive listing of hooks.

Template for a global web page

If you're using PHP code for , another alternative is to create a global custom template for your product completely from the ground up. Keep in mind that this approach won't work for 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 scenario, you might want to substitute "Example Template" with "Global Customer-specific Product Page Template" or something comparable.

This template will be modeled after the default product page. You can then modify it as you wish with web hooks.

Increase sales by creating a customized product webpage

A customized product page will aid in the promotion of your offerings. Additionally, it allows you to offer more options to customers and provide a distinctive experience that engages your audience. As we have seen, there are a myriad of ways to modify this page.

If you have an unblocking theme, you can use the Site Editor tool to change the look of your global template. For more features it is possible to install extensions. If you're an experienced WordPress user, you may want to use CSS or PHP however, this could be an extremely delicate procedure.