Changing Default Title on WooCommerce Single Products Pages

I suppose this is something simple, but couldn’t find a solution anywhere.

Currently, my website shows <h1>"Products"</h1> title on shop archive page, but on single product pages as well. Is it possible to change default title on single product pages to product name?

Read More

Here is my website. As you can see, above breadcrumbs, there is a default shop title. And there I want to display, product name instead.

<section class="<?php echo esc_attr($class_name) ?>" <?php echo wp_kses_post($bg_style); ?>>
    <div class="page-title-inner">
        <div class="container"><h1><?php echo esc_html($page_title); ?></h1> <?php great_store_the_breadcrumb(); ?>
        </div>
    </div>
</section>

Related posts