Site displaying Shop as Home page instead

This topic has 14 replies, 3 voices, and was last updated 4 months ago ago by Luca Rossi

  • Avatar: Malcolm
    Malcolm
    Participant
    August 11, 2025 at 14:34

    Hi

    After disabling banner on Contact page I find that for some reason the home page is not displaying my Home but instead is displaying the Shop

    Checking settings and they are set to display my Home page

    Also Elementor is not loading

    Please advise

    Malcolm

    Please, contact administrator
    for this information.
    13 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    August 11, 2025 at 14:43

    Hello,

    Thank you for reaching out to us.

    Solved – https://prnt.sc/_UN9wkHlEBHl

    To be able to edit the Shop page using Elementor, please read this article – https://www.8theme.com/documentation/xstore/xstore-builders/xstore-products-archive-builder-with-elementor/

    Warm Regards,
    The 8Theme Team

    Avatar: Malcolm
    Malcolm
    Participant
    August 11, 2025 at 14:58

    Hi

    I had changed the Shop page to Home as I wanted to redirect there on clicking the link when deleting the items from basket

    Is there a way to do this?

    Malcolm

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    August 11, 2025 at 15:39

    Dear @Malcolm,

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

    
    /**
     * @snippet       Change return to shop link, send to homepage instead
     * @how-to        businessbloomer.com/woocommerce-customization
     * @author        Rodolfo Melogli, Business Bloomer
     * @compatible    WooCommerce 9
     * @community     https://businessbloomer.com/club/
     */
     
    add_filter( 'woocommerce_return_to_shop_redirect', 'bbloomer_change_return_shop_url' );
     
    function bbloomer_change_return_shop_url() {
       return home_url();
    }
    

    Hope it helps!

    Avatar: Malcolm
    Malcolm
    Participant
    August 12, 2025 at 09:47

    Hi

    Just tried that and it is not working

    Malcolm

    Avatar: Justin
    Luca Rossi
    Support staff
    August 12, 2025 at 11:11

    Dear @Malcolm,

    We hope this message finds you well.

    Could you please try using the following code instead?

    
    add_filter('woocommerce_get_shop_page_id', 'custom_woocommerce_get_shop_page_id', 999);
    function custom_woocommerce_get_shop_page_id() {
        return '123';
    }
    

    Kindly replace 123 with the actual ID of your shop page.

    We hope this solution proves helpful. Should you have any further questions or need additional assistance, please don’t hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: Malcolm
    Malcolm
    Participant
    August 12, 2025 at 11:40

    Still no luck!

    Changed ID to 219 (Home) without success

    Avatar: Justin
    Luca Rossi
    Support staff
    August 12, 2025 at 12:37

    Hi @Malcolm,

    Can you check now?

    Thank you!

    Avatar: Malcolm
    Malcolm
    Participant
    August 12, 2025 at 13:07

    Hi Luca

    Can’t check as my home page is now showing the Shop page

    Click Home on the menu to show the correct Home page

    Malcolm

    Avatar: Justin
    Luca Rossi
    Support staff
    August 12, 2025 at 17:15

    Dear Malcolm,

    We hope this message finds you well.

    We would like to clarify your requirements to ensure we are aligned. Could you please confirm whether you would like the shop page to be set as the front page, and that the “Return to Shop” button should redirect to your homepage?

    Thank you for your time and assistance.

    Best regards,
    The 8Theme Team

    Avatar: Malcolm
    Malcolm
    Participant
    August 13, 2025 at 09:18

    Hi Luca

    A copy of my homepage is attached

    I would like the “Return to Shop” button to redirect to this homepage

    regards
    Malcolm

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    August 13, 2025 at 09:59

    Hi @Malcolm,

    We’ve updated the custom code to this:

    
    add_filter('page_link', 'n2t_page_link', 100, 2);
    function n2t_page_link($link, $id){
    	if($link == home_url('/shop/')) return home_url();
    	return $link;
    }
    

    Can you please check now if it works?

    Thank you!

    Avatar: Malcolm
    Malcolm
    Participant
    August 13, 2025 at 10:59

    Hi Luca

    That is perfect – thank you

    As an aside do you have any documentation on editing the Empty Cart page (change text and button text)

    Had a look at the Cart page and I see there is a Custom option in Empty cart section but not sure how to change

    Thanks
    Malcolm

    Avatar: Justin
    Luca Rossi
    Support staff
    August 13, 2025 at 11:26

    Dear @Malcolm,

    You have two available options for adding content:

    1. Custom Content:
    Please select the “Custom” option, then add your desired text, image, or other content manually: https://prnt.sc/EHBtUtG0REE2

    2. Static Blocks:
    Choose the “Static Block” option(https://prnt.sc/njpQzDbZB_3j), then create a new static block. Once created, you can edit it using Elementor via the following link:
    https://**istmasemporium.swebstest.com/wp-admin/edit.php?post_type=staticblocks

    Should you need any further assistance, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

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

You must be logged in to reply to this topic.Log in/Sign up

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