Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie banner doesn't show up #38

Open
OokamiEq opened this issue Jan 31, 2023 · 5 comments
Open

Cookie banner doesn't show up #38

OokamiEq opened this issue Jan 31, 2023 · 5 comments

Comments

@OokamiEq
Copy link

Hello,

I've tried to find solutions, but nothing works correctly. The problem is that I did all according to the instructions, I enabled Cookie Management in Magento in GDPR as well as Google Analytics, I also changed cookie domain so that it matches core domain (according to some stackoverflow solutions), I enabled Merge JS in Advanced options, but still Cookie banner doesn't emerge.

My Magento version is 1.9.4.2. tartetaucitron.js file has been changed according to issue#28.

Could you please help with the problem? Maybe I am doing something wrong, I can provide all the necessary details.

Cheers,
Nikita

@bastienlm
Copy link
Contributor

Hello,

Thanks to use the module :) Hope I can help you.
First, if you disable merge JS on your Magento, the following file js/ph/gdpr/tarteaucitron/tarteaucitron.js is on your network when you reload your front? (same check for js/ph/gdpr/tarteaucitron-custom.css)

If not, it may be causes by:

  1. The configuration phgdpr/cookies/enable is set to yes on your current store OR is still not in your cache.
  • Check: Be sure your config is set to yes with log the value of config phgdpr/cookies/enable anywhere in your front
  1. The layout app/design/frontend/base/default/layout/ph/gdpr.xml is never call.
  • Check: Try to remove your header on this layout to be sure it load on your front

Information: Since a few years we recommend using external cookie consent manager like https://www.axeptio.eu/fr

@OokamiEq
Copy link
Author

OokamiEq commented Feb 1, 2023

Hello,

Thanks to use the module :) Hope I can help you. First, if you disable merge JS on your Magento, the following file js/ph/gdpr/tarteaucitron/tarteaucitron.js is on your network when you reload your front? (same check for js/ph/gdpr/tarteaucitron-custom.css)

If not, it may be causes by:

  1. The configuration phgdpr/cookies/enable is set to yes on your current store OR is still not in your cache.
  • Check: Be sure your config is set to yes with log the value of config phgdpr/cookies/enable anywhere in your front
  1. The layout app/design/frontend/base/default/layout/ph/gdpr.xml is never call.
  • Check: Try to remove your header on this layout to be sure it load on your front

Information: Since a few years we recommend using external cookie consent manager like https://www.axeptio.eu/fr

I disabled merge JS in Magento, js/ph/gdpr/tarteaucitron/tarteaucitron.js and js/ph/gdpr/tarteaucitron-custom.css are still in my Network, so problem is still there:(

@OokamiEq
Copy link
Author

OokamiEq commented Feb 5, 2023

Could you please tell if there are some other options to solve this issue?

@bastienlm
Copy link
Contributor

After testing on empty Magento LTS. Cookiebar with tarteaucitron looks not work very well. You can try to display the cookie bar with the following command on your inspector: tarteaucitron.userInterface.openAlert()
image

In every case, without custom code, this feature looks broken. No fix is planned cause this repo is no longer maintenan, but MR is welcome :)

For any custom usage of tarteaucitron you can read documentation from https://github.com/AmauriC/tarteaucitron.js

Sorry for not helping you more with your implementation.

@bastienlm
Copy link
Contributor

This fix may help you: #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants