Not able to edit No Product Found Message on Product Archive page

This topic has 8 replies, 4 voices, and was last updated 9 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: WebTech Global
    WebTech Global
    Participant
    March 6, 2025 at 12:54

    I have purchased XStore woocommerce theme, I am not able to change message Unfortunately, there are no products that match your criteria from product archive page where there is no product in search result.

    Please share the method to do so. I have already tried using various code snippets, tried to find in Loco Translate as well but no success.

    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 6, 2025 at 13:16

    Hello, WebTech Global,

    Thank you for contacting us and for using XStore.

    Your site is under maintenance mode, so we can’t check it.

    Could you please provide temporary wp-admin access? We need to check your settings.

    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    Best Regards,
    8Theme’s Team

    Avatar: WebTech Global
    WebTech Global
    Participant
    March 6, 2025 at 13:24

    Please check now

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 6, 2025 at 14:25

    Hello, WebTech Global,

    We appreciate your prompt response.

    1/ Please downgrade the PHP version from 8.3.6 to 8.1 or 8.2. Not all plugins are compatible with your current version.

    2/ Loco Translate > Plugins > XStore Core > find and edit the desired text.

    There is an error https://prnt.sc/CMfyQS9fCrBT “Error: 413 Request Entity Too Large. Check console output for debugging information” Please read this article https://localise.biz/wordpress/plugin/faqs/postdata-limit to fix it.

    Best regards,
    8Theme’s Team

    Avatar: WebTech Global
    WebTech Global
    Participant
    March 6, 2025 at 14:28

    isn’t there any other besides Loco Translate to get this done, like in child them function.php file or something?.

    Avatar: Justin
    Luca Rossi
    Support staff
    March 7, 2025 at 07:27

    Hi @WebTech Global,

    Please try adding the following code under functions.php file locates in your child theme:

    
    function n2t_text_strings( $translated_text, $text, $domain ) {
        global $product;
    	switch ( $translated_text ) {
    		case 'Unfortunately, there are no products that match your criteria' :
    			$translated_text = 'Your Custom Text Will Go Here';
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
    

    Let us know how it goes!

    Avatar: WebTech Global
    WebTech Global
    Participant
    March 7, 2025 at 10:21

    This works, thanks for the update. You can implement this in next theme update as customizing messages at different stages is really required in such a good theme.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    March 7, 2025 at 10:21

    Dear WebTech Global,

    As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?

    Click here to share your valuable perspective: https://themeforest.net/downloads

    Your time and trust are highly appreciated!

    Best Regards,
    The 8Theme Team

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Not able to edit No Product Found Message on Product Archive page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.