WooCommerce is one of the top choices for setting up an online store, packed with features that make it a favorite among store owners and web developers. But let’s be honest: the default product page doesn’t always match your brand’s style or meet your business needs. In this guide, LitExtension will cover everything you need to know to customize your WooCommerce product page, including:
- The basics of WooCommerce product pages
- Method 1: How to edit WooCommerce product page using Site Editor
- Method 2: How to customize product page using WooCommerce extensions
- Method 3: Customize WooCommerce product page using custom code
- Method 4: How to edit WooCommerce product page using drag-and-drop page builders
Let's get in!
The Basics of WooCommerce Product Pages
Simply put, a WooCommerce product page is where all the important details about a product live on your online store. Think of it as a dedicated space that shows off the product with images, descriptions, prices, availability, and customer reviews.
WooCommerec product page is a big deal because it’s where your potential customers decide whether to buy or not. The default setup gets the job done, but it’s pretty basic. By customizing it, you can make the page reflect your brand’s unique style and tailor it to encourage more sales.
So, what are the 4 key elements of a default WooCommerce product page?
1. Product images and gallery
Good images are super important for online shopping. The default WooCommerce setup lets you show multiple pictures from different angles or display product variations in a gallery. Customers can zoom in to get a closer look, which can really help with buying decisions.
2. Product title and description
The product title and description are front and center on your page, which plays a key role in informing shoppers and helping your site get found on search engines. My recommendation for you is to keep the title short and to the point and make the description engaging and detailed. Talk about the product’s features and benefits.
3. Pricing and ‘Add to Cart’ button
The price and the “Add to Cart” button are probably the most important parts of the page. WooCommerce puts them near the top to make them easy to find. You can customize these elements by changing their color, size, or position to match your site’s design better.
4. Reviews and ‘Additional Information’ tab
Reviews have a big impact on whether or not someone decides to buy, and WooCommerce includes a section for them by default. This area builds trust by showing what other customers think. There’s also an “Additional Information” tab where you can list product details.
Method 1: Edit WooCommerce Product Page Using WooCommerce Site Editor
The WooCommerce Site Editor is a powerful, built-in tool that lets you personalize your product pages directly from the WordPress dashboard. Follow these steps to make changes easily:
1. Change the page layout
- Navigate to Appearance > Editor.
- Find and click on the “Product Page” template to start editing.
- Click on any section, like the product image, description, or reviews.
- Drag and drop the elements to rearrange them in the desired order.
- Select between Grid or Full-Width layout options, depending on how you want your products displayed.
- Click on any block and modify the margin and padding settings to give your page a clean and professional look.
2. Adjust colors and typography
- In the editor, click on the Styles icon in the upper right corner.
- Adjust the colors of headings, buttons, and backgrounds to match your brand’s theme.
- Use contrasting colors to make important elements, like the “Add to Cart” button, stand out.
- Select the text you want to change and choose a readable font from the options provided.
- Adjust font size, weight, and line height for better readability.
- Click Preview to see how your color and typography adjustments look on your live site.
3. Add custom blocks
- Click on the “+” button to insert custom blocks.
- Add blocks for customer reviews, product FAQs, or related product recommendations.
- Place CTA buttons strategically, like near the product description, to encourage purchases.
- Include promotional banners for special offers or discounts.
- Add blocks to display shipping details, product specifications, or warranty information.
4. Create different types of product pages
For a simple product page, you should focus on essential elements: product image, short description, price, and an “Add to Cart” button.
For a variable product page, you can customize the layout to clearly display product variations (e.g., sizes and colors). My tip for you is to use dropdown menus or swatches to make selection options user-friendly.
For a grouped product page, you can create pages for grouped products, like sets or bundles, by listing related products together. Let’s also consider adding a “Buy Together” feature to encourage upsells and cross-sells.
Method 2: Customize Product Page Using WooCommerce Extensions
1. Add advanced product features
If you’re about to create advanced product variations:
- Go to Plugins > Add New and search for “Variation Swatches for WooCommerce.”
- Once installed, go to WooCommerce > Settings > Variation Swatches.
- Customize how product variations are displayed (e.g., color swatches, image swatches, or buttons).
- Edit your product in WooCommerce.
- Under the “Product Data” section, select Variations and apply your custom swatches for an enhanced user experience.
If you’re about to create composite products:
- Search for “WooCommerce Composite Products” in the Plugins section.
- Create a new product and select Composite Product under the “Product Data” dropdown.
- Add components (like customizable product bundles) and configure each component’s options.
- Adjust how components are displayed on the product page to guide your customers through the selection process.
If you’re about to create wholesale pricing for WooCommerce:
- Look for a plugin like “Wholesale Suite” or “WooCommerce Wholesale Prices.”
- Go to WooCommerce > Wholesale Settings.
- Define different user roles (e.g., wholesale customers) and set tiered pricing structures.
- Customize how wholesale prices are shown on the product page, ensuring clarity for both retail and wholesale buyers.
2. Enhance product page optimization
If you’re about to create 360º product images:
- Search for “WooCommerce 360 Image” and install it.
- Edit the product where you want to add 360º images.
- Upload your 360º image files and configure the settings to enable rotation and zoom.
- Preview the product page to ensure the 360º images load smoothly and improve the product viewing experience.
If you’re about to create a one-page checkout:
- Find “WooCommerce One Page Checkout” and activate it.
- Edit a product page and scroll to the One Page Checkout section.
- Enable the feature to allow customers to view product details and complete the purchase on a single page.
- Adjust fields and payment options to streamline the checkout experience.
If you’re about to create custom tab management:
- Use a plugin like “Custom Product Tabs for WooCommerce.”
- Go to Products > Custom Tabs and create new tabs to display additional information, such as product specifications, usage instructions, or FAQs.
- Drag and drop to reorder tabs and make sure important details are easily accessible.
3. Increase product sales and engagement
If you’re about to create wishlists and recommendations:
- Search for “YITH WooCommerce Wishlist” and activate it.
- Go to YITH Plugins > Wishlist Settings.
- Customize the appearance and location of the “Add to Wishlist” button.
- Use related product extensions to suggest similar items or frequently bought together products.
If you’re about to create upsell and cross-sell plugins:
- Use a plugin like “WooCommerce Boost Sales” or “Upsell Order Bump Offer.”
- Edit your product and scroll to the Linked Products section.
- Add products to the Upsells or Cross-Sells fields to recommend complementary items.
- Adjust where and how these suggestions appear on the product page to maximize visibility and engagement.
Relevant reading: WooCommerce tutorial – How to set up and customize your WooCommerce store.
Method 3: Customize WooCommerce Product Page Using Custom Code
If you have some coding skills, adding custom code can really enhance how your WooCommerce product pages look and function! By using custom CSS and PHP, you can make unique changes that go beyond what the default settings and plugins allow. It’s a fun way to get creative and tailor your shop exactly how you want it!
1. Use custom CSS
Custom CSS allows you to modify the style and appearance of your product pages without changing the core code of your theme or WooCommerce. Here are three ways to add custom CSS:
Method 1. Modify in the Site Editor
- Go to Appearance > Editor in your WordPress dashboard.
- Select the “Product Page” template you want to customize.
- Click on the block or section you want to style and use the “Additional CSS” option to insert your custom CSS code.
For example:
.woocommerce-product-title {
font-size: 24px;
color: #333;
}
- Preview your changes to ensure they look good before saving.
Method 2. Edit in the Customizer
- Navigate to Appearance > Customize.
- Click on Additional CSS in the Customizer menu.
- Paste your CSS code and watch the live preview to see your changes in real-time.
For example:
.woocommerce-tabs {
background-color: #f9f9f9;
padding: 20px;
}
- Once you’re satisfied with the modifications, click “Publish.”
Method 3. Add to the child theme’s style sheet
- First, you should ensure you’re using a child theme to avoid losing changes when the parent theme updates.
- Now, go to Appearance > Theme File Editor then click on the “style.css” file of your child theme.
- Add your code at the bottom of the style sheet.
For example:
.single-product .price {
font-weight: bold;
color: #e74c3c;
}
- Click “Update File” to save your changes.
2. Use PHP and WooCommerce Hooks
For deeper customization, you can use PHP and WooCommerce hooks to modify the functionality and layout of your product pages. This method requires a basic understanding of PHP and WordPress hooks.
Method 1. Working with Actions and Filters
- Go to Appearance > Theme File Editor and open the “functions.php” file in your child theme.
- Use WooCommerce action and filter hooks to customize your product page.
For example, you’re moving the “Add to Cart” button below the product description:
remove_action(‘woocommerce_single_product_summary', ‘woocommerce_template_single_add_to_cart', 30);
add_action(‘woocommerce_single_product_summary', ‘woocommerce_template_single_add_to_cart', 15);
- Click “Update File” and test your product page to ensure the changes work as expected.
Method 2. Creating a Global Page Template
- In your child theme folder, create a new file called single-product-custom.php.
- Then, add the following template header to the top of the file:
<?php
/*
Template Name: Custom Product Page
Template Post Type: product
*/
- Use WooCommerce functions like woocommerce_content() to display product content.
For example:
get_header();
?>
<div class=”custom-product-layout”>
<div class=”product-main-content”>
<?php woocommerce_content(); ?>
</div>
</div>
<?php
get_footer();
- Go to your WordPress dashboard, edit a product, and select your new “Custom Product Page” template from the template dropdown.
- Make sure everything looks and functions correctly.
Method 4: Customize Product Page with Drag-and-Drop Page Builder
Once you’ve got the basics of WooCommerce product page customization down, like using the Site Editor or simple plugins, you might be ready to try some more advanced methods. These options are great for those who want more flexibility and control, especially if you’re a developer or store owner looking to create something truly unique.
Page builders like Elementor and Beaver Builder offer a visual way to customize your WooCommerce product pages. These tools are ideal if you want to create a custom layout without writing any code.
In this guide, I will use Elementor as an example here, and the steps to use will be as follows:
- Go to Plugins > Add New and search for “Elementor.” Install and activate it.
- Open a product page and click on “Edit with Elementor.”
- Use WooCommerce-specific widgets, such as Product Title, Product Image, Add to Cart Button, and Reviews, to design your layout.
- Drag and drop elements into place, then adjust margins, padding, colors, and typography to match your brand.
- Make sure to preview the page on different devices before publishing.
My tip for you for whatever page builders you choose is to always test your designs to ensure they look good and function properly on all devices for responsiveness.
Seamlessly migrate to WooCommerce!
LitExtension can safely transfer your products, customers, and orders to unlock more growth on WooCommerce.
Tips to Choose the Right Product Page Layout
When designing your WooCommerce product pages, the layout you choose can make a big difference in how your customers interact with your store. From the overall look to the way information is presented, each design choice can either make it easier for customers to shop or, unfortunately, lead to confusion and frustration.
1. Grid vs full-width layouts
A grid layout allows multiple products to be displayed simultaneously, making it easier for customers to browse and compare. However, this layout can appear cluttered if product images are inconsistent in size or quality.
A full-width layout emphasizes large, high-resolution images and detailed product descriptions. The drawback is that it may not be efficient for stores with extensive product catalogs, as navigation becomes less streamlined.
Tip: If you’re using a grid layout, keep your images consistent in size and add hover effects for a modern, engaging touch. For full-width layouts, use high-quality visuals and strong calls to action to keep users focused on the product and the next steps.
2. Sidebar vs no sidebar
Sidebars can accommodate filters, search tools, and additional navigation elements, facilitating product discovery. However, an overloaded sidebar can lead to a cluttered appearance and distract from the main product content.
No sidebar layout creates a cleaner and more modern aesthetic, making the primary product content the focal point. This layout is effective for minimalist designs but may limit easy access to filters or navigation tools, potentially complicating the browsing process for users seeking specific products.
Tip: If you choose a sidebar layout, keep it simple and organized. Use collapsible filters or navigation sections to reduce clutter. If you go for a no sidebar layout, make sure your product pages have clear navigation links elsewhere, like in the header or footer, to ensure a seamless user experience.
3. Minimalistic vs interactive designs
Minimalistic designs emphasize whitespace and simplicity, focusing user attention on the product itself. However, this approach can lack engagement if not paired with effective product details and call-to-action elements.
Interactive design is ideal for brands targeting a younger or more dynamic audience or for products that benefit from engaging visual content, such as fashion or gadgets. Interactive elements like sliders, animations, or videos can enhance user engagement but may impact page loading times and complicate the design if overused.
Tip: For a minimalistic design, maintain balance by incorporating strategic whitespace while highlighting key product information. For interactive designs, prioritize speed and responsiveness, ensuring that interactive elements enhance the user experience without sacrificing performance.
FAQs About WooCommerce Product Page Customization
Creating a WooCommerce product page is a straightforward process. Follow these steps:
- Head to your WordPress Dashboard, then go to Products and click on Add New.
- Fill out all the key details: the product name, description, price, and any other relevant information your shoppers need.
- Add some high-quality images to make your product shine. You can set a main product image and even create a gallery.
- Organize your product with categories and tags so it’s easy for customers to find.
- If your product has variations, like different colors or sizes, configure them in the “Product Data” section.
- Once everything looks good, hit Publish to make the product live on your store.
If you’re planning to customize the product page template, here’s where to find it:
- The default template files are in the plugin directory at /wp-content/plugins/woocommerce/templates/.
- To customize safely, copy the file you want (like single-product.php) and move it to your child theme folder at /wp-content/themes/your-child-theme/woocommerce/.
- Always make changes in your child theme to prevent losing your customizations when the plugin or theme updates.
You have a few options for adjusting the layout of your WooCommerce product page:
- Use the Site Editor: This is a user-friendly, drag-and-drop method that doesn’t require coding. You can rearrange elements easily.
- Edit Template Files: For more advanced customization, modify the single-product.php file in your child theme. Keep in mind, you’ll need some basic knowledge of PHP and HTML.
- Try Page Builders: Tools like Elementor or WPBakery make it easy to visually design custom product page layouts.
- Install WooCommerce extensions: These plugins offer pre-designed templates and extra customization options.
If you want to create a custom page that showcases your products, here’s how:
- Use shortcodes: WooCommerce provides built-in shortcodes for displaying products. For example, [products] will display all products, while [featured_products] will show only featured items. For example, you can use [products columns=”4″ orderby=”date”] to display four products in a grid sorted by date.
- Gutenberg Blocks: If you’re using the Gutenberg Block Editor, add a “WooCommerce Products” block to display your products.
- Custom templates: For more complex layouts, you can create a custom template in your child theme and use WooCommerce’s built-in functions to get the look you want.
You should regularly test your product pages to catch performance issues and find ways to improve. Use A/B testing to try out different layouts, calls to action (CTAs), and images to see what drives more sales. You can also use tools like Google PageSpeed Insights to monitor load times and optimize as needed.
Here are some top WooCommerce product page plugins to consider: YayExtra – WooCommerce Extra Product Options, PPWP Pro, WooCommerce Store Customizer, Custom Product Tabs for WooCommerce, WooThumbs for WooCommerce, …
Wrapping Up
Customizing your WooCommerce product pages can transform your store into a more engaging and conversion-friendly shopping experience. Whether you’re adjusting the default settings or exploring advanced techniques, there are plenty of options to make your product pages align better with your brand and cater to your customers’ needs.
You can use built-in tools, install helpful plugins, or even add custom code, but always prioritize performance, ease of navigation, and consistency with your brand’s style. Remember to test your changes and keep refining them for the best results.
We hope you found this article insightful and now have a clear understanding of the WooCommerce product page. For more content like this, be sure to visit our WooCommerce blog section and join our eCommerce community to gain further insights and connect with fellow business owners.