-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
🐛 [BUG] - problem with missin Jquery UI necessary for another advanced search module #379
Comments
removing those line the module doesn't work, it doesn't show products |
I commented the lines that avoid the removal of jquery ui, and the error has been resolved, but it doesn't load the products after the selection, perhaps because some hooks have been changed, given that this module expects the same behavior as the faced module however this module has no problems with falcon |
I'm checking the scores on google page speed and now I see that they have worsened by almost 25-30 points, so I will make sure to remove that module and convince the shopkeeper, I don't want poor modules on the site :) |
Hi @maofree, yes, actually it's right about check before unregister if factedsearch module is enabled. Another problem about advance search is the module way it's loading products is different from core. So every variable assigned by is_themecore is undefined in template. |
TBH it's not going to happened. This module will always contains core mechanics of the theme and in version 5 it will be even more coupled with the theme. |
when I was talking about webp, it was related to the fact that I can use webp management in prestashop, since the module doesn't work on litespeed. |
Hi The reason the listing is empty is because an error occurs while rendering your theme template with the found product. I've fixed these two problems adding a default value to those variables (also for pack-product.tpl and products-top.tpl) |
Hi @maofree webEnabled parameter is optional. You can remove it and function will retrieve this information from configuration |
Hi @maofree new version has been released with fix to this issue https://github.com/Oksydan/is_themecore/releases/tag/v4.1.2 |
Description
Hi
I've a problem to use Advanced Search 5 PRO
https://addons.prestashop.com/it/ricerche-filtri/2778-advanced-search-5-pro-filtri-e-faccette-seo.html
I report the answer of their support, because their module doesn't work with the theme, and it is required by the customer (I don't have control over every decision)
Hi,
I think you misunderstood my previous message, I purposefully disabled CCC for JS files, as you indicated me to do.
The screenshot I sent you is from the page I said, with the CCC disabled, and I could see no error.
I just visited the link you sent, and while I did not see the error with Firefox, I did see it with Chrome.
Upon investigation, the error is due to the fact that you have a module, "is_themecore", which is removing jQuery UI entirely from the page (in the file /modules/is_themecore/src/Hook/Assets.php).
This is an issue because we ask PrestaShop to add it (it is a native library), but this module removes it, so we are missing some JavaScript code, causing this error.
I invite you to contact the developer of this module to get this fixed.
Since their comments mention the fact that they want to remove Faceted Search assets, they should check if the module is enabled before removing these assets from the page.
Regards,
Yoan - Presta-Module
I would be happy to be able to exclude is_themecore from the theme, or greatly reduce its management, because several things it does, in some cases, are not necessary, like partytown, or webp or changes in the htaccess file
in this case do I have to remove the code that manages the jquery UI deletion?
thanks
Node.js version
v16
php version
8.1
OS and it's version
linux
Browsers
Chrome
Required module/theme
is_themecore
Reproduction steps
Logs
No response
The text was updated successfully, but these errors were encountered: