Home Forums Pro Themes Business Center Pro Main title product not displaying

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #33074
    Zolomon7983
    Participant

    My site https://squaretileonline.com/ can not display the main product title for products.
    Help

    #33102
    wensolutions
    Keymaster

    Hello @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_Themes

    You 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!!

    #33250
    Zolomon7983
    Participant

    Parse 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..!

    #33251
    Zolomon7983
    Participant

    Did 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?

    #33363
    wensolutions
    Keymaster

    Hello,

    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!!

    #33648
    Zolomon7983
    Participant

    well 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 240

    I’ll appreciate your help on this one.

    #33685
    wensolutions
    Keymaster

    Hello @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 !!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.