Home › Forums › Pro Themes › Business Center Pro › Main title product not displaying
- This topic has 6 replies, 2 voices, and was last updated 7 years, 7 months ago by wensolutions.
-
AuthorPosts
-
February 22, 2017 at 3:04 pm #33074Zolomon7983Participant
My site https://squaretileonline.com/ can not display the main product title for products.
HelpFebruary 22, 2017 at 11:39 pm #33102wensolutionsKeymasterHello @angel-s
The issue you have mentioned is actually not a issue but is a theme feature.
But if you still want the product title to display you have to create and activate the child theme.
For this you can refer to below link:
https://codex.wordpress.org/Child_ThemesYou can also create the child theme using plugins and below is the link to one of them.
https://wordpress.org/plugins/wp-child-theme-generator/After creating and activating the child theme, in your child themes functions.php paste below code.
function clean_commerce_child_custom_woo_fix() { add_filter( 'woocommerce_show_page_title', '__return_true', 1 ); add_filter( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 6 ); } add_action( 'init', 'clean_commerce_child_custom_woo_fix' );
Hope this helps.
If you have any issue further, you can post them and we will help you.
Best Regards!!
February 24, 2017 at 12:04 pm #33250Zolomon7983ParticipantParse error: syntax error, unexpected end of file in /home/content/a2pewpnas01_data03/94/3887094/html/wp-content/themes/clean-commerce-pro/functions.php on line 240
I have this error and the hole is shut down. I can not even fix the problem. I’ll appreciate help..!
February 24, 2017 at 12:09 pm #33251Zolomon7983ParticipantDid the mistake of not copying the original code before any changes. Now I have a syntax error that completely shut down the site. I was running live. Is there any way to reset the page Functions.php to its original content?
February 26, 2017 at 2:57 am #33363wensolutionsKeymasterHello,
It seems like you have directly modified your original functions.php file. As we have recommended above you should always go through the child theme approach while making any code modification so that the original file wont be modified .
As for the code , we have tested it locally then only we have provided it to you and it does not have any issue.
Hope this helps.
For any confusion further, please let us know.
Best regards!!
February 27, 2017 at 4:09 pm #33648Zolomon7983Participantwell it did not allow me to create the child theme cause the directory already existed. But my comment here is I’m using Clean Commerce `not Clean Commerce Pro that’s why you din’t find any issues. The point here I would like to go back to Clean Commerce Pro which I already pay for it.
Can you help to fix the problem with:
Parse error: syntax error, unexpected end of file in /home/content/a2pewpnas01_data03/94/3887094/html/wp-content/themes/old_themes_cleancommerce.disabled/clean-commerce-pro/functions.php on line 240I’ll appreciate your help on this one.
February 27, 2017 at 11:08 pm #33685wensolutionsKeymasterHello @Zolomon7983,
As we have mentioned earlier, the error message in your website is caused because of the editing of the main theme files functions.php.
The solution to fix the issue is to revert the changes in the theme’s functions.php file and activate the theme. If you are having trouble reverting the changes, you can also download a fresh copy of the Clean commerce Pro theme zip and install it to your website.
If you require any assistance further, please let us know.
Hope this Helps,
Best Regards !!
-
AuthorPosts
- You must be logged in to reply to this topic.