-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
FancyBox not showing up at checkout #28556
Comments
Hello @doeselschnecke I didn't manage to reproduce your issue with PS1786, see the attached screen record below: issue_28556.mp4Please check and feedback. Thanks! |
Thanks for the quick answer. However, you did not click on the terms to open FancyBox that used to show them. |
I have tried some things and realised the plugin "Legal Compliance" by PrestaShop, version 3.0.2 causes the issue. Edit: I see. This module is outdated and not maintained any longer. It wasn't deleted while updating and I never got a hint to disable or remove it though. Edit2: I disabled it for now, however very important compliance features are now missing, for example showing the right of withdrawal during checkout (super important in EU), missing shipping cost hint on product pages etc. The Official newer GDPR module does not have these features. |
thank you @doeselschnecke for your contribution 👍 @PrestaShop/product-team what do you think ? @doeselschnecke 's PR looks like a needed addition |
Hello @doeselschnecke I was unable to reproduce your issue using the same steps mentioned above with PS1786 and php 7.4 Terms.of.service.mp4So, i'll close this issue. Thank you! |
Yes, the terms of services can be shown, indeed. It was ps_legalcompliance causing the issue that FancyBox doesn't work. However, I looked for plugins on the marketplace and not even plugins for 70€ can show privacy policy and revocation terms or not break FancyBox (like the fork of ps_legalcompliance), hence I recommended the proposed Pull Request. |
Hi @doeselschnecke, |
Hi @MatShir As far as I know, EU's GDPR law requires ALL shop owners that ship to EU customers since 2018 that their customers agree to privacy policies. If you use PayPal for example, customers don't agree to them in an earlier step, so it is mandatory during Check 4 in Prestashop Checkout. In older versions, ps_legalcompliance v.3.0.2 worked for this. I'm not sure if the changes in Core to PHP 7.4 or something else broke the FancyBox compatibility with the plugin, however it doesn't work nowadays. I'm not sure with the revocation terms being mandatory world-wide. They are in many European countries (if you don't show them in Germany for example, customers would have infinite revocation rights). Afaik many EU countries require shop owners to show revocation terms. Maybe this would be better in a plugin. I looked into this 70€ plugin and it doesn't have an option to change the checkout text either. Other paid plug-ins don't have many reviews or are outdated. As a nerdy person, I dislike plug-ins and overrides and would propose to include a back-office setting to activate privacy policy and/or revocation terms during checkout and set the CMS pages there. |
Proposal: we could make the checkbox during checkout adjustable in BO, so that every shop owner can make their own edits according to their local laws. That would be a flexible solution and not difficult to implement either. Edit: "not too difficult to implement" umm. I guess I was wrong. Dang, PrestaShop is written so inconvenient. I tried adding a TinyMCE field to the Order settings, however because the Order Settings extends FrameworkBundleAdminController, I cannot put a Multi-Language field into it. So, I tried creating a class in /Controller/Admin/Form/Admin/Configure/ShopParameters/OrderPreferences: However, adding something to the Backoffice is... a bit inconvenient. I added the new class to these files: To add the LegalOptionsType class, we also need to create a Configuration class: So, after doing all this, I still don't see the text box in the order settings. I... kinda believe a module indeed be easier. Maybe it's possible to fix the FancyBox issue that the ps_legalcompliance module has. |
@MatShir Could you please validate the wording with the Legal team too, please? I just know that we had agreed on using "Terms of use" instead of "Terms of Service", but I don't know about "revocation services". |
Prerequisites
Describe the bug and add screenshots
When clicking on terms during checkout at "I agree to the [terms of service] and [revocation terms] and will adhere to them unconditionally.", nothing happens.
Google Chrome shows me this warning, is it related to FancyBox not opening?
Expected behavior
FancyBox opening
Steps to reproduce
PrestaShop version(s) where the bug happened
1.7.8.6
PHP version(s) where the bug happened
7.4
If your bug is related to a module, specify its name and its version
No response
The text was updated successfully, but these errors were encountered: