• Hi,
    On the template home page – where the newly added products, featured products and customer favorite products are displayed, I want to change the title for one of these.

    Currently, the one for newly added products reads “New In”. This doesn’t make sense. I have searched and searched for where this text lives and I cannot find it.

    Please guide me to where I can make a very simple change to that piece of text.

    Thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • There are two ways you can do that:

    1. Change the text via a filter. Add the following code into your functions.php file. The example below changes the title to “New Products”.

    function sf_change_recent_product_title( $args ) {
    
    	$args['title'] = __( 'New Products', 'storefront' );
    
    	return $args;
    
    }
    add_action( 'storefront_recent_products_args', 'sf_change_recent_product_title' );

    2. You can use the Storefront WooCommerce Customiser extension to easily customize this (and much more) without touching any code.

    Thread Starter thefrenchheart

    (@thefrenchheart)

    Thank you for your help. I did do some reading up on purchasing the WooCommerce Customiser – but the feedback stated that it would not work with Boutique – only Storefront.

    Additionally, I have been seeing this error message at the top of my screen when I am in the “customize” part of the site.

    Warning: Creating default object from empty value in /home/content/a2pnexwpnas03_data02/68/3343468/html/wp-content/themes/storefront/inc/customizer/class-storefront-customizer.php on line 90

    I am not understanding what this means. Can you help me with this puzzle?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme: Boutique/Storefront’ is closed to new replies.