WPSolr logo
Close this search box.

Table of contents :

How to optimize your WooCommerce products for Google Retail search


Table of contents :


WooCommerce is the most popular e-commerce platform, and optimizing your products for Google Retail search is vital for online businesses. Google Retail search crawls the product pages of an online store to find the most relevant products for a user’s search query. Therefore, optimizing your products for Google Retail search means making your products more visible and ultimately resulting in increased sales.

Optimizing Your WooCommerce Products for Google Retail Search:

1. Product Titles and Descriptions:

Your product title and description should be descriptive and accurate. Use relevant keywords that describe the product in detail. The title should be between 50-60 characters and include the most important keywords to make it easier for Google to rank it higher in search results. Similarly, the description should be between 150-300 characters and be optimized with relevant keywords and phrases.

2. Product Images:

Your product images should be high quality and optimized for the web. Image optimization includes compressing the file size of the image, adding an alt tag to the image that describes what is in the image, and using descriptive file names.

3. Product Reviews:

Including product reviews on your product pages is beneficial for ranking higher in search results. Google Retail search favors websites with a higher number of positive reviews. Encourage customers to leave a review of your products after they make a purchase.

4. Use Schema Markup:

Schema markup is a type of code that helps search engines understand the content on a website. Using schema markup can make your product pages more informative and improve the chances of ranking higher in search results. WooCommerce comes with built-in schema markup, but you can also use third-party plugins like Yoast SEO and Rank Math to add additional schema markup to your product pages.

// Code example: WooCommerce Schema Markup
function custom_add_product_schema() {
    global $product;

    $schema = array(
        '@context' => 'https://schema.org/',
        '@type' => 'Product',
        'name' => $product->get_name(),
        'description' => $product->get_description(),
        'brand' => array(
            '@type' => 'Brand',
            'name' => $product->get_attribute('brand')
        'offers' => array(
            '@type' => 'Offer',
            'priceCurrency' => get_woocommerce_currency(),
            'price' => $product->get_price(),
            'availability' => $product->is_in_stock() ? 'https://schema.org/InStock' : 'https://schema.org/OutOfStock',

    return $schema;
add_filter( 'woocommerce_structured_data_product', 'custom_add_product_schema' );

5. Utilize Google My Business:

Google My Business is a free tool that allows businesses to create and manage their business’s presence across Google. Registering your business with Google My Business provides a significant boost in Google Retail search results. Make sure to provide accurate and up-to-date information about your business, including hours of operation and phone number.

How WPSOLR Can Help:

WPSOLR is a powerful search engine plugin that helps to improve search results on WooCommerce websites. WPSOLR provides advanced search features like faceted search, solr search, and autocomplete. It also helps to optimize search performance and indexing for faster search results. By using WPSOLR, you can enhance your website’s search functionality and increase overall sales on your WooCommerce store.


Optimizing your products for Google Retail search can be challenging, but it is essential for the success of your online business. Make sure to follow the above tips to optimize your WooCommerce products for Google Retail search. Using WPSOLR can also help to improve search functionality and overall website performance. By taking the necessary steps to optimize your products for Google Retail search, you can increase visibility, attract more customers, and ultimately boost sales.

Trending posts