• Hi,

    I want to customize the home page of a WooCommerce website with the Storefront theme.
    I can’t manage to customize it with the storefront_homepage hook.
    There is in storefront-template-hooks.php file the 2 lines below :

    add_action( 'storefront_homepage', 'storefront_homepage_header', 10 );
    add_action( 'storefront_homepage', 'storefront_page_content', 20 );

    I tried removing the action and creating my own, but no success, no matter what I do in my custom function. It seems the hook doesn’t do anything :

    remove_action( 'storefront_homepage', 'storefront_page_content', 20 );
    add_action( 'storefront_homepage', 'custom_storefront_homepage_content', 20 );

    I don’t have any problem with other hooks. I can’t find the issue with this one…

    Configuration :
    WordPress 6.7
    Storefront 4.6.0
    WooCommerce 9.3.3

    Hope I can get help.
    Thanks!

Viewing 1 replies (of 1 total)
  • Hi there!

    I can understand your concern, Please note that we do not provide support for customization. If you need more in-depth support or want to consider professional assistance for customization, I can recommend?WooExperts?and?Codeable.io?as options for getting professional help. Alternatively, you can also ask your development questions in the??WooCommerce Community Slack?as custom code falls outside our usual?scope of support.

    Thak you for your cooperation and understanding.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.