(Untitled)

Jul 10, 2024

In order to effectively display your products on the internet, you'll require product pages that look appealing and easy to navigate. The default template provides all the basics, however you could be searching for extra features that meet your unique requirements for your store online and complement the style of your store.

Utilizing built-in tools for customization, such as the block editor or site Editor, WordPress enables you to create significant modifications to your pages for products with no knowledge of development. Plus, you can get specific design features and added functionality with different extensions. Or, if you're a more experienced WordPress user, you are able to edit your website's pages with customized code.

In this post, we'll look at the default homepage for your product and discuss the reasons it's possible to modify it. In the next post, we'll demonstrate three ways to begin to customize templates for your product pages.

What is a Product Page?

Once you have installed it on your WordPress website, the plugin instantly creates an online shop page on which you'll be able to list your products. When a user clicks an item from your catalogue it will take them to the corresponding product page. The design of the webpage will depend upon your design, however it will contain some essential details about the item.

It is possible to edit or add the information you want to edit by going to the Product tab of your WordPress dashboard, selecting the item you want to edit, then selecting Edit Product. Alternatively, you can choose "Add New" to create a new product.

product page in the Woo dashboard
adding a simple product

In this section, you are able to select the category of your item as well as add tags. This lets customers navigate your product catalog more easily.

Once you've completed configuring your product, press the update button. Here's how a default web page could look like on the front-end:

product listing for a WordPress pennant

As you can see, this page for products comes with everything you need to market your items on the internet. It is important to note that the layout displayed on the front end of your website will be identical for every product.

The reason you should personalize the product's page

Then, why would you customize the product page if it works just fine?

Well, perhaps there's no need at all.

If you're looking for a minimal style and want only the most the most essential elements to market your goods, you may not have to make any adjustments. It's not a requirement that you mustcustomize your product's pages. The basic options have served perfectly for thousands of business owners.

The default product page design isn't always the best. There's for instance, no possibility to include other kinds of media, like videos, or variations of colors.

This simplicity might work in some shops. Others will require more tools to boost sales.

With this in mind, you should customize your product page to include the following features:

  • Offer more information on the product you offer. If you provide customers with all the information 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 pictures, 360 swatches videos, etc.

Three options to personalize the page of your product

Let's take a examine three ways that you can customize your product web page!

1. By using the Site Editor

The best thing that is great about WordPress is that its built-in functions are extremely user-friendly. Thanks to its Site Editor You don't have to know how to code in order to create beautiful custom product pages .

The Site Editor operates exactly the same way to it's blocks editor. But while the latter is used for pages and blog posts, the Site Editor enables the user to alter global elements like the header, footer and even the design of your page.

You can only utilize the Site Editor only with an unblocking theme. If you're using a standard theme you'll need to refer to the third method in this tutorial.

Also, the content for each individual product page can only be modified by accessing the Products tab, and then accessing the page within the back-end editor (as shown earlier). What we're about to do is customize the page components as well as the design of your product page.

For a start for a start, head to the Appearance Editor and click on Templates.

Appearance --> Editor --> Templates screen

Scroll down to the section where you can select the Single Product template.

selecting the single product template

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

editing the single product template

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

default single product template

Simply click on the template and you'll be asked to convert the template into blocks. Click the Transform into blocks button to continue.

classic template placeholder

Now you can edit your product page using blocks.

editing the product page with blocks

In case you're not acquainted with WordPress blocks or the Site Editor, here's a few ways that you can tweak the page's layout:

Modify the layout of your page

To alter the layout of your page, click on a larger block and select the parent block.

selecting columns on the product page

Your horizontal menu should then display arrows that enable users to shift that portion of the page to either left or to the right.

option to move a block left or right

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

moving description block up

If you'd like to insert a block, simply hover over the place in which you'd like to place the block, then click the plus symbol.

adding a block to the product page

If you're looking to alter the layout, incorporating blocks to columns or groups make the best sense.

It is also possible to make global changes to the template layout by clicking it and then opening the block's settings.

setting layout options for the product page

When you select Layout, you'll have the choice of changing the purpose and positioning of the layout. It can also be transformed into something that's "sticky" component -- meaning it will not disappear when visitors scroll down the page.

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

Alter the colors, fonts and color

To change colors within The Site Editor select the element you'd like to edit and open the block's settings on the right.

block settings screen

The parts you can alter are contingent upon the block. But generally, you are able to alter the text, background and link colors.

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

options for block text, background, and links

If you select the box that says "No color" You'll be presented with a color picker.

color picker for blocks

Here, you can drag your mouse over to choose the colour. The Site Editor will even let you know if you've selected a bad color contrast.

adding a custom color to a block

Additionally, you can input HEX, HSL, or RGB colors. This is great because it allows you to make sure that your company colors are exactly the same.

In the Typography section, click on the Typography tab. You have the option to modify the text's size to medium, small and large.

For more settings for fonts Click on the three dots next to Typography.

font size options dropdown

There are many options there. Simply click on these and then save them in the Typeography menu.

choosing more typography options

It is possible to deactivate these settings if you decide that you do not need them.

Make new blocks

Do you want to include additional elements to the website's product pages? The Site Editor makes that possible.

For instance, when you're conducting a sale across the entire site You could include a banner block to the at the top of your template.

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

It's an excellent idea to be familiar with available WordPress block and, so that you know what alternatives you can choose from.

Create different types of pages for products

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

However, in some cases, you might want an exclusive template to promote a particular type of product or even a specific category. In this case, for instance, you may require a unique product page for a new item you're about to launch. You might also want to develop a sale page specifically for a specific item category during the holiday season.

For multiple templates that can be used for various purposes, visit Appearance - Editor – Templates. Then, click on the plus sign to add an additional template. Select one item to add: Product.

template options

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

assigning products to a template

In the default setting it will prompt you to choose a template that already exists. Your first choice should be the general template for your product page.

choosing a pattern

Using a pre-existing pattern can aid in speeding up the process of designing. However, you are able to skip this step if you want to begin from scratch.

When you go back to the templates screen, and click the plus icon for a second time to make a fresh template, you'll see the option of selecting Categories (product_cat).

adding a new template

This template can be used specifically designed for one specific area that includes clothes, accessories or even decor.

Simply choose your category and begin building your template. These steps are exactly the same as with the Single item: Product option.

2. Extensions can be used to enhance your experience.

Like you've noticed, when you're using a block template, the Site Editor enables the user to alter your page template in different ways, without touching one line of code.

But it's not giving you the capability to expand the capabilities of your page. Fortunately, there's a lot of extensions to help you do this, even if you're not a professional with technical skills.

In this part, we'll look at some tools that enable you to modify your product page to include the latest features. To simplify things We've put these extensions into three use examples: creating sophisticated products, enhancing product pages as well as increasing the number of sales.

Design and create advanced products

If your online store offers customized products or more advanced variants, it might be worth an extension that will facilitate selling these products. Here, we'll discuss a few top-notch options.

Advanced Product Variation
advanced product variation extension

You can create different products in the default way However, the configurations are somewhat restricted.

Additionally, the extension allows you to customize your variation galleries and create tables to clearly show the available options.

Product Designer for
product designer for

Your customers will be able to include pictures, clip art forms, templates, and shapes to your items. And they'll even be able to add them to their carts right through the design pages. It also creates print-ready files which will facilitate the creation of customized products.

Composite Products
composite products with extras

In the case of a shop selling skates may permit customers to construct their own boards in four steps, customizing the entire process to suit their individual needs. Advanced sorting, filtering, and conditional logic make it easy for shoppers to find what they're looking for.

The best thing about Composite Products is that it has integrated support for bundles of products. This means that when customers design their own product, they'll have the ability to pull from all the products within your catalog.

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

Customized products may require additional sources, for example, additional fabrics or wood. If you don't have the appropriate equipment, creating a site for these items could be a challenge in terms of logistics.

The traditional way to sell the product of this kind is to contact clients with a quotation. But this can drastically reduce the speed of sales. One of the primary reasons people abandon shopping carts is the inability to calculate the total cost of their purchase upfront.

Wholesale For

tIQXNrsAlRrBIgLqvPZH

It is possible to create and manage multiple wholesale user roles and create pricing based on role. The software also includes the ability to drag and drop 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, offering a 360o image can help bring your products to life.

It also comes with navigation controls and offers full screen modes, which means that your customers can get an overview of the product.

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

Like the name suggests it allows you to build a custom product page which guides customers straight to buy. They can add or remove items from their carts and complete payment without ever needing to wait for a different website to be loaded.

This program is perfect for websites with less products or landing pages specifically designed to be associated with marketing campaigns.

Tab Manager
Tab manager extension

If you offer your clients too much information it can be overwhelming. Therefore, you might want to utilize product tabs to display product details in a a more organized way.

Increase product sales

Here are a few instruments that can assist you to boost sales by using traditional and more subtle marketing methods.

Sale Flash Pro
Sale Flash Pro extension
Wishlists

About 40% of online buyers say that their user experience would be better if the retailers had wishlists. Given the number of people who say this each online retailer ought to have included this feature as a top priority on their checklist.

Product Recommendations
recommended products featuring shoes

It can even generate automatic recommendations based on the shoppers' recently viewed history. These reports will help you identify your most efficient recommendation methods.

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

This tool enables you to bundle both simple and variable items. It also lets you recommend additional products and provide bulk discounts. Additionally, you can modify the design of your bundles as well as bundled items.

3. Using custom code

You can also edit your website's product pages by using a custom code. This method is particularly useful for those who are using a standard theme, and don't possess access to Site Editor.

Note that tinkering directly with your website's theme files is an extremely risky process. If you're not equipped skills to do it, you may be causing damage to your website or causing downtime.

When you're ready to make your changes live, make sure to utilize your WordPress child theme. In this way, your personalizations won't be lost with any updates to the parent theme.

Now, here are some ways to alter your page's content by using a custom code.

Using custom CSS

If you're looking to alter the look of your site using code CSS is your best option. It enables you to modify items like fonts, colors as well as links.

There are a few options to do this. Let's take a look.

In the Site Editor

To include CSS on your page for products using Site Editor, click Appearance - Editor - Styles Other CSS.

adding CSS to the Site Editor

The code can be placed inside the Additional CSS box.

For instance, if you want to modify the hue of a name, you can use an snippet of code like 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 your preferred color code.

Or, if you'd like to change the font's size, it is possible to do so using this CSS snippet:

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

Be sure to publish the changes.

It's true that these are just a few basic examples, however there are many possibilities. If you're looking to learn more about CSS, look up the WordPress guide for more information on CSS.

Within the Customizer

If your theme doesn't support full site editing, you'll need to include your CSS code in the Customizer. To add it you need to go to Appearance - Customize Other CSS.

Advanced product variation extension

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

In your child theme's style.css file

The final place where you could add CSS to WordPress can be found in the theme's style.css file. You'll need to work with the child theme in order in order to ensure that any changes aren't lost in update.

Go to Appearance > Theme File Editor.

editing CSS in theme files

As a default, your style.css file should be selected. If it's not, choose it from the left edge of the screen, under the Theme Files menu.

After that, you'll be able to include any CSS at the bottom on the page. You'll just need to update it when you're finished.

Utilizing PHP

CSS is great at changing the look of WordPress However, it won't assist you in adding functionality to your pages for selling products.

For this to be done manually by using codes, you'll have to use PHP. The easiest way to do this is by adding PHP code into the children theme's functions.php file or using a plugin like Code Snippets.

code snippets plugin

Here are a few options you might want to test if you're a seasoned WordPress user or developer:

Hooks (actions and filters)

Here's an example of a useful action:

/**  * 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 = wp_get_post_terms( $post->ID attribute_name, $post->ID ); $terms_array = array() // If ( ! empty( $terms ) ) is_wp_error( $terms ) foreach ( $terms as $term ) =$archive_link = Get_Term_Link( $term->slug and $attribute_name ) //$full_line = to"' . $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; 

Or, you could 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.'; 

To learn more about how to use these functions, refer to this complete listing of hooks.

A template for global pages

If you're using PHP code, another alternative is to create a global custom product page template by starting from the ground up. 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 scenario, it might be beneficial to change "Example Template" with "Global Personalized Template for Product Pages" or something similar.

The template is modeled after the default product page. You can then modify it as you wish with web hooks.

Boost sales with a custom product webpage

The design of your page for products can assist you in showcasing your offerings. This also lets you provide more choices to your customers and provide a distinctive customer experience that draws in your target audience. Like we've already seen, you can use a variety of methods to modify the page.

If you're using blocks in your theme, you can utilize the Site Editor to modify the design of the global template. For more features it is possible to install extensions. If you're an experienced WordPress use, you could want to use CSS or PHP, but this can be a risky process.