This topic has 2 replies, 2 voices, and was last updated 8 years, 1 months ago ago by Eva Kemp
Hello,
I am upgrading from 2.x version to version 3.
One of the differences between the two versions is located in the beginning of the single-product.php file.
The old version code was :
<div class="page-heading bc-type-<?php etheme_option('breadcrumb_type'); ?>">
<div class="container">
<div class="row-fluid">
<div class="span12 a-center">
<?php woocommerce_template_single_title(); ?>
<?php
/**
* woocommerce_before_main_content hook
*
* @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
* @hooked woocommerce_breadcrumb - 20
*/
do_action('woocommerce_before_main_content');
?>
</div>
</div>
</div>
</div>
This code allows to display the product title in the h1 tag.
The new code is :
<?php et_page_heading(); ?>
This code displays a generic title as h1 title on the single product page, and no longer the real product title.
I replaced the new code by its older version, and my website is now working properly. But I wanted to report this issue so that it can be fixed in future versions.
Kind regards,
Antoine
The new code
Hello,
We’ve forwarded your query to our developers.
Thank you for the notice.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up