Missing footer on checkout page - by Woofer16

This topic has 4 replies, 3 voices, and was last updated 6 years, 11 months ago ago by Olga Barlow

  • Avatar: Woofer16
    Woofer16
    Participant
    May 16, 2017 at 22:22

    Dear team,

    I just noticed that the footer is missing on the checkout page. On the cart page it is still there. This is even the case in your demo https://www.8theme.com/demo/xstore/checkout/ – so I guess this is on purpose. However: How do I enable/display the footer also on the checkout page?

    Thanks for your help!

    BR

    Michael

    3 Answers
    Avatar: maxmullins
    Max Mullins
    Participant
    May 17, 2017 at 13:53

    Hello Woofer16

    The checkout page does not contain footer and prefooter area because of marketing concept which is tested by woocommerce users and checkout page is designed that way for customers better expirience. It keeps their attention on sales process.
    We will add the feature to switch footer on and of in our future theme updates. Hovewer you may create childtheme and put your customizations there.
    The second option we suggest to you in case it is cruxial to have footer enabled is to create childtheme: https://codex.wordpress.org/Child_Themes. Also search your theme download package to get childtheme files and copy them via ftp into the wp-content/themes/*child_theme*. Then copy original theme file for checkout page on ftp like follows: *yorsite*/wp-content/themes/xstore/woocommerce/checkout/checkout.php to childtheme/woocommerce/checkout/checkout.php and make following changes in it using text editor such as notepad:
    remove && !is_checkout on line 11 and line 26. After changes line 11 should looks like:
    <?php if( ( ( function_exists('is_checkout') ) || ! function_exists('is_checkout') ) && $custom_prefooter != 'without' && is_active_sidebar('prefooter') ): ?>
    And line 12:
    <?php if( ( function_exists('is_checkout') ) || ! function_exists('is_checkout') ): ?>
    It will enable footer on all pages including checkout page too. Please reply us after changes.

    Regards,
    Max Mullins

    Avatar: Woofer16
    Woofer16
    Participant
    May 17, 2017 at 16:51

    Hi Max,

    thanks for your swift reply and helpful solution – awesome support! I will give it a try. While on the one hand I am totally with you with regards to reduce the elements on the checkout page to a minimum – this totally makes sense!

    On the other hand – due to our rather strict internet laws in Germany – it may be crucial to display the footer on every page if the footer is the only place with a link to the imprint.

    Probably I will just mirror the link in the header navigation – however, your explanation on the child theme encourages me to get my hands on this, cause there might be other workarounds in the future, which will require to cope with the child theme.

    Thanks again!

    BR

    Michael

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 17, 2017 at 17:18

    You are welcome!

    Regards

  • Viewing 4 results - 1 through 4 (of 4 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.