cgentil Posted April 15, 2020 Share Posted April 15, 2020 (edited) Hi, PrestaShop 1.7.6.4 not showing footer on checkout. Tried lot of ways, different footer.tpl and no way.... Example: Index Checkout Looks something is not ok, as rounded and bottom centre no footer. I checked many sites with this problem, and others, working just fine. Any idea? Thanks Edited April 15, 2020 by cgentil (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 (edited) Copy ./themes/your theme/templates/_partials/footer.tpl to ./themes/your theme/templates/checkout/_partials/footer.tpl Edited April 15, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 (edited) Already tried, not working Edited April 15, 2020 by cgentil (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 store url ? Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Force recompile template and clear cache? Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 (edited) 12 minutes ago, Guest said: Force recompile template and clear cache? How can I do it? Edited April 15, 2020 by cgentil (see edit history) Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 10 minutes ago, ndiaga said: It's a good practice to not show the footer during check out. The customer don't need to be distracted during check out. If you check it shows the footer, but doesn't show the "Copyright" thing. It should only show the "Copyright" and not all other things. Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 17 minutes ago, Guest said: store url ? https://www.centrality.pt/loja/ Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 4 minutes ago, Guest said: Thanks. But not working. Same thing. Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Do you use a default template or a purchased one? Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 And what else do you want to have there? Newsletter, Social .... Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 4 minutes ago, Guest said: Do you use a default template or a purchased one? Default. Just now, Guest said: And what else do you want to have there? Newsletter, Social .... I just want show it as it should be. Now it looks like something is wrong, it shows footer, but does not shows "Copyright". Only "Copyright" is supposed to show, and footer is not needed. Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 attach footer.tpl file Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 (edited) See here: https://s1.demo.opensourcecms.com/prestashop/ Add something in your cart and go the cart, you will see "Copyright", then checkout and you will see no "Copyright". Test please. Edited April 15, 2020 by cgentil (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 https://e-apps.eu/test/ps-17/ My test site. Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Therefore, I need your footer.tpl file to verify it. Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 Yours works fine. Checkout footer.tpl {** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} {block name='footer'} <div class="text-sm-center"> {l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'PrestaShop™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'} </div> {/block} Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 (edited) You copied the wrong file 🙂 {** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} <div class="container"> <div class="row"> {block name='hook_footer_before'} {hook h='displayFooterBefore'} {/block} </div> </div> <div class="footer-container"> <div class="container"> <div class="row"> {block name='hook_footer'} {hook h='displayFooter'} {/block} </div> <div class="row"> {block name='hook_footer_after'} {hook h='displayFooterAfter'} {/block} </div> <div class="row"> <div class="col-md-12"> <p class="text-sm-center"> {block name='copyright_link'} <a class="_blank" href="http://www.prestashop.com" target="_blank"> {l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'PrestaShop™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'} </a> {/block} </p> </div> </div> </div> </div> Edited April 15, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 (edited) Save to: ./themes/classic/templates/checkout/_partials/footer.tpl or ./themes/your theme name/templates/checkout/_partials/footer.tpl Edited April 15, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 It's the original file I posted, this file shoud show the "Copyright" at least right? Forget the footer, it's not showing the "Copyright" on checkout Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Only copyright: {** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} <div class="container"> <div class="row"> <div class="col-md-12"> <p class="text-sm-center"> {block name='copyright_link'} <a class="_blank" href="http://www.prestashop.com" target="_blank"> {l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'PrestaShop™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'} </a> {/block} </p> </div> </div> </div> </div> Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Copy my text and save as footer.tpl to checkout / _partials. Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 (edited) I did it at my test shop.https://e-apps.eu/test/ps-17/ Edited April 15, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 (edited) Thanks. But can you explain the cause of original file is not working as intended? Because from what I see the original footer.tpl is done to only show "Copyright" and nothing more. And on mine it shows footer without "Copyright" Edited April 15, 2020 by cgentil (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 You will have to ask Prestashop developers for this 😉 I just know that some edits in the new versions are not quite right. Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 Just now, Guest said: You will have to ask Prestashop developers for this 😉 I just know that some edits in the new versions are not quite right. It's so strange, because if you check PrestaShop demo page it shows correctly. Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 Still not working with that code. Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 I wouldn't even examine it. Did editing according to my code help you? Have it deployed on the page? If so, close the topic as SOLVED. You can also rate posts by clicking the gray heart below the posts. Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 4 minutes ago, cgentil said: Still not working with that code. ZIP your checkout folder and attach. Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 4 minutes ago, Guest said: I wouldn't even examine it. Did editing according to my code help you? Have it deployed on the page? If so, close the topic as SOLVED. You can also rate posts by clicking the gray heart below the posts. Sorry but not working. Maybe some module conflict. Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 I don't see you overwriting the footer.tpl file on your domain. Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Do you know how to test it? Add a note to footer.tpl. Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 Tried everything. I also deleted checkout.tpl to test, but no effect, it remained same. It seems that editing .tpl files is not making any changes Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 (edited) Send me access to PM (private message) and it will work in a few minutes. Solving something for 6 hours, while it's a question for two to three minutes. I'm tired of it, I have another job. Nobody can tell you anything else. Edited April 15, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
NPO Posted April 15, 2020 Share Posted April 15, 2020 oooh - it's a 1.7 thing. The copyright does not show because it is not supposed to. Edit ...... /classic/template/checkout/checkout.tpl add what you want to show just before the closing body tag (after the last block closes). Works fine, will only show on the checkout pages. (Can at least be used as a work around if the copyright is essential). Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 4 minutes ago, NPO said: oooh - it's a 1.7 thing. The copyright does not show because it is not supposed to. Edit ...... /classic/template/checkout/checkout.tpl add what you want to show just before the closing body tag (after the last block closes). Works fine, will only show on the checkout pages. (Can at least be used as a work around if the copyright is essential). What is this crap? If I want to display the author of the page, I will show him where I want. What is this law? In what country is such a restriction? Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Likewise, why doesn't even see the header? Shouldn't that be shown? Link to comment Share on other sites More sharing options...
NPO Posted April 15, 2020 Share Posted April 15, 2020 you mean the copyright thing?? I have no idea why he needs it to show on the checkout page Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Because the checkout page is completely blank. Rather, it would scare me that I was no longer in the same store and it redirected me somewhere. Link to comment Share on other sites More sharing options...
cgentil Posted April 15, 2020 Author Share Posted April 15, 2020 (edited) Well let me explain. There must be something that is overriding the original file checkout.tpl, it's the only thing that can make it. Normally in checkout page by default you see a clean page. No header, no footer, only your cart and copyright thing, and that's what checkout files says to do but it is not doing what it should. Some module must be overriding original file. And @Guest thanks for your good help Edited April 15, 2020 by cgentil (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 All the time the customer goes through the store site sees the logo, menu, block of languages, block of currency and surrency comes to the page checkout and there is nothing. Do you think it's good? Link to comment Share on other sites More sharing options...
NPO Posted April 15, 2020 Share Posted April 15, 2020 (edited) Mine shows even during checkout but then I don't use classic. If absolutely nothing shows - yes that would be strange. @cgentil - maybe check the bug listings to see if someone else has run into the missing copyright line or if there is a reason why things have been removed. Trying to find a needle in a haystack - Well done D.! Edited April 15, 2020 by NPO added last line (see edit history) Link to comment Share on other sites More sharing options...
cgentil Posted April 17, 2020 Author Share Posted April 17, 2020 I guess I found the thing, but it's strange. checkout.tpl and footer.tpl if I change block name to "footer1" it works, but if it's only "footer" it doesn't works and shows footer instead copyright. <footer id="footer"> {block name='footer'} {include file='checkout/_partials/footer.tpl'} {/block} </footer> {block name='footer'} <div class="text-sm-center"> {l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'PrestaShop™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'} </div> {/block} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now