Home › Forums › Pro Themes › Clean Commerce Pro › Product name not displaying
Tagged: product name, woocommerce
- This topic has 11 replies, 3 voices, and was last updated 6 years, 4 months ago by wensolutions.
-
AuthorPosts
-
March 31, 2017 at 4:58 pm #37560rweiss23Participant
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,
RogerApril 2, 2017 at 1:00 pm #37657wensolutionsKeymasterHello @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.
April 2, 2017 at 1:24 pm #37658rweiss23ParticipantThanks 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
April 3, 2017 at 12:31 am #37678wensolutionsKeymasterHello @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!!
April 3, 2017 at 10:33 am #37734rweiss23ParticipantThank you.
That worked fine.RW
April 3, 2017 at 11:17 pm #37775wensolutionsKeymasterHello @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!!April 4, 2017 at 9:08 am #37819rweiss23ParticipantThere 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,
RogerApril 6, 2017 at 12:36 am #37948wensolutionsKeymasterHello @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 !!
April 6, 2017 at 10:48 am #37996rweiss23ParticipantThanks,
That did the trick.
RWApril 6, 2017 at 11:58 pm #38047wensolutionsKeymasterNice 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 !!
August 13, 2018 at 11:34 am #77461rameshdahalParticipantIt worked for me but how ?
August 13, 2018 at 11:59 pm #77487wensolutionsKeymasterHello @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 🙂 .
-
AuthorPosts
- You must be logged in to reply to this topic.