Home Forums Pro Themes Clean Commerce Pro Product name not displaying

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #37560
    rweiss23
    Participant

    I’m using Woocommerce and my product names are not displaying when using clean commerce pro theme.
    Also, the “Search” box does not appear either (Its on the same line as product name)

    They DO display when I activate the clean commerce theme. So, its definitely theme related.
    I did try deactivating plugins, but that had no effect.

    Please advise.
    Thanks,
    Roger

    #37657
    wensolutions
    Keymaster

    Hello @rweiss23, it’s quite strange but have you tried disabling and reactivating the WC specifically. Theme originally has no such bug exists in real.

    Also if you feel easy to edit code try to enable the debug mode in wp-config.php ( located in your root installation directory) file to confirm whether any PHP errors are exists.

    define('WP_DEBUG',true);

    Let us know if you have any trouble checking further.

    #37658
    rweiss23
    Participant

    Thanks for your reply.
    I did try deactivating,then reactivating WC, but it did nothing.
    I also set wp_debug to true, but no error msg appeared.

    Its very odd that is works in clean commerce, but not the pro version.
    Let me know if you’d like to take a look in thru the dashboard, etc.

    Roger

    #37678
    wensolutions
    Keymaster

    Hello @rweiss23,

    This issue has been noted as a known issue.And It will be fixed with next update.

    But as a quick fix, you have to create and activate the child theme.

    For this you can refer to below link:
    https://codex.wordpress.org/Child_Themes
    OR
    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, please let us know.

    Best Regards!!

    #37734
    rweiss23
    Participant

    Thank you.
    That worked fine.

    RW

    #37775
    wensolutions
    Keymaster

    Hello @rweiss23,
    Nice to know that the problem has been solved. If there are any further query then, please feel free to post them.
    We will really appreciate if you could help us too by rating our theme in WordPress repo here:-
    https://wordpress.org/support/theme/clean-commerce/reviews/

    Thanks,
    Best Regards!!

    #37819
    rweiss23
    Participant

    There is still a problem on the Shop page and the Category pages. The headings are not showing on them either.
    Do you have any code I can add to get them displayed?
    Again, its fine in the clean commerce plugin, just not the PRO theme.

    Thanks,
    Roger

    #37948
    wensolutions
    Keymaster

    Hello @rweiss23,

    While the issue regarding the Woocommerce pages titles in the Clean Commerce Pro theme is set to be fixed with the update very soon, you can quick fix the pages title issue also for the shop and category by Replacing the code we have provided earlier in this thread with the new one below :

    function clean_commerce_child_custom_woo_fix() {
    
     		add_filter( 'woocommerce_show_page_title', '__return_true', 20 );
     		add_filter( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 6 );
     }
    
     add_action( 'init', 'clean_commerce_child_custom_woo_fix' );

    Hope this Helps,

    Best Regards !!

    #37996
    rweiss23
    Participant

    Thanks,
    That did the trick.
    RW

    #38047
    wensolutions
    Keymaster

    Nice to know that the problem has been solved.

    If there are any further query, then, please feel free to post them and we will happily help you further.

    Best Regards !!

    #77461
    rameshdahal
    Participant

    It worked for me but how ?

    #77487
    wensolutions
    Keymaster

    Hello @rameshdahal,

    Gald that the code is working for your as well.

    The code that we have provided is for displaying the product name and since you are using the same theme the code will definitely work as the class will be the same.

    Further, if you have any issues then kindly let us know.

    PS: Please create your own ticket while posting the issue as it will be easy for us to follow up your response.

    Thank you.

    Best Regards!!

    Have a good day 🙂 .

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