julien30580 Posted July 4, 2024 Share Posted July 4, 2024 (edited) Hello everyone, I'm experiencing a minor issue on the order page in the admin panel related to the sources block. Instead of displaying the correct information, this block shows URLs. My PrestaShop version is 8.1.6. Has anyone encountered this problem before? Any insights on where this might be coming from and how to fix it? Thank you in advance for your help! Best regards, Edited July 4, 2024 by julien30580 add informations (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 4, 2024 Share Posted July 4, 2024 You should remove this module its growing database and redondant with analytics third party. Link to comment Share on other sites More sharing options...
julien30580 Posted July 4, 2024 Author Share Posted July 4, 2024 Hello, thanks for reply What is the name of this module ? I didn't find it in the list Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 4, 2024 Share Posted July 4, 2024 statsdata and I recommend to uninstall also visits and vistors. Link to comment Share on other sites More sharing options...
julien30580 Posted July 4, 2024 Author Share Posted July 4, 2024 Thanks for the help. Unfortunately, despite having uninstalled this module the problem persists I identified the template files in /src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/sources.html.twig but I can't find how to deactivate it Link to comment Share on other sites More sharing options...
Nickz Posted July 4, 2024 Share Posted July 4, 2024 6 minutes ago, julien30580 said: Order/Blocks/View/sources.html.twig I think its part of the framework symphony https://symfonycasts.com/screencast/twig/layout-template-inheritance Link to comment Share on other sites More sharing options...
seasideaquatics Posted November 5, 2024 Share Posted November 5, 2024 I am having same issue, wondering where would you disable or uninstall for 8.2.0 version ? Link to comment Share on other sites More sharing options...
Nickz Posted November 6, 2024 Share Posted November 6, 2024 16 hours ago, seasideaquatics said: I am having same issue, wondering where would you disable or uninstall for 8.2.0 version ? having the same issues is one part of the equation. Something like: Presta version, PHP Version and history, i.e. all of sudden, after an update etc.. Link to comment Share on other sites More sharing options...
georgemezzo Posted November 7, 2024 Share Posted November 7, 2024 Hello , i have ps8.2 and the sources from order page disapeared . please check attachment Link to comment Share on other sites More sharing options...
Muteo Posted November 10, 2024 Share Posted November 10, 2024 On 7/4/2024 at 2:29 PM, Prestashop Addict said: statsdata and I recommend to uninstall also visits and vistors. Uninstalling this module does not solve the problem, the sources are still displayed in the order. On 7/4/2024 at 3:02 PM, julien30580 said: Thanks for the help. Unfortunately, despite having uninstalled this module the problem persists I identified the template files in /src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/sources.html.twig but I can't find how to deactivate it Theoretically, clearing this file should remove the sources from the order, unfortunately this does not happen. On 11/7/2024 at 7:32 PM, georgemezzo said: Hello , i have ps8.2 and the sources from order page disapeared . please check attachment How did you remove the sources from the orders? Link to comment Share on other sites More sharing options...
georgemezzo Posted November 10, 2024 Share Posted November 10, 2024 7 minutes ago, Muteo said: Uninstalling this module does not solve the problem, the sources are still displayed in the order. Theoretically, clearing this file should remove the sources from the order, unfortunately this does not happen. How did you remove the sources from the orders? I don't know how this happened! My problem is that i want the sources to display in order page and I don't know how to fix it . Did you know maybe what is the best way to display visitors sources in order page ? Link to comment Share on other sites More sharing options...
cristienciu Posted 2 hours ago Share Posted 2 hours ago On /src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/sources.html.twig on the first line of code just replace {% if orderForViewing.sources.sources is not empty %} with {% if orderForViewing.sources.sources is empty %} This should do the trick 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