Jump to content

PrestaShop 1.7.6.4 not showing footer on checkout


cgentil

Recommended Posts

Hi,

PrestaShop 1.7.6.4 not showing footer on checkout.

Tried lot of ways, different footer.tpl and no way....

Example:

Index

a58941479db37a9dc4540ee96a1affbf.png

Checkout

170db6d2cce6d6d0d75cfde504059e6a.png

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 by cgentil (see edit history)
Link to comment
Share on other sites

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

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

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

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 by Guest (see edit history)
Link to comment
Share on other sites

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

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

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

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

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

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 by Guest (see edit history)
Link to comment
Share on other sites

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

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

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

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 by cgentil (see edit history)
Link to comment
Share on other sites

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

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 by NPO
added last line (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...