Leaderboard
Popular Content
Showing content with the highest reputation since 02/02/2025 in Posts
-
Bonjour, Depuis la version 9 ( toujours en préparation ), PrestaShop ne publie pu un zip sans ses modules ( checkout, account, gamification ... ) Sur presta.zip vous pouvez retrouver les versions du projet open source sans tous ces modules préinstallés Enjoy6 points
-
The problem solved. It was in root/classes/controller/FrontController.php:1709 1) 'favicon' => self::configuredImageUrl('PS_STORES_ICON', $psImageUrl), The mistake was here, just updated "PS_STORES_ICON" to correct key "PS_FAVICON". Then cleared cache.4 points
-
You should not set the default category to "Home." Instead, create a main category for your products (e.g., "Catalog") and organize products into relevant subcategories. This will improve navigation, site structure, and SEO. The default category is for technical purposes, not optimization.4 points
-
@jamshidpour I solved it this way, follow these steps: 1. uninstall the edition_basic module 2. via ftp go to the modules folder and check that the ps_edition_basic folder is not there, if there is, delete it 3. go to the root folder of your project and then to var/cache and delete the prod and dev folders 4. go to your db ps_tab and ps_tab_lang, generally the Control Panel item is id 1 (check on ps_tab_lang), in the ps_tab table for the AdminDashboard classname set id_parent and position to 0 this is the right way4 points
-
Anti-Spam, Anti-Bot, Anti-Brute-Force, Block Unwanted Bot and Spammer Traffic The module allows you to protect registration and login forms from bots and spam. Limit the number of login and registration attempts. Module protect and limits the use of contact form, newsletter registration form and modules 'productcomments', 'iqitreviews'. Also, the module detects and ban more than 90% of the simplest bots. It is possible to manually block an IP and Email addresses, as well as exclude blocking. The module keeps a log of connection attempts and a log of entered data. After install, module creates 2 tabs in BO Customers tab. SS Triggers - phrases and words for contact form and 'productcomments', 'iqitreviews' modules (empty table after install and create own list). SS Actions - attempts log table with controls (view, edit, delete). Developed for 8.X but may work with 1.7.8+ (Reported: works on 1.7.8.3) The module will NOT work with versions below 1.7.8.3, perhaps in the future... WARN: This module may not works if you have specific modules for login, registration, contact pages or specific modules for cache. This module uses the standard $_SERVER/ENV - php/apache vars and Cookies. Module not works if you have installed some caching module who change standard server parameters. Please write me if you have problem with module and I will try to adapt it for your site for module correct work. Download simplesecurity.zip (Always latest version.) ~=DONATIONS ARE WELCOME=~ About updates please read this topic. Also check and use our other modules: HTML Minifier (lightweight module) Simple Export Simple Votings Vat Checker3 points
-
@202ecommerce Thanks for delivering the PS9 version! I know that must have been a lot of work. https://addons.prestashop.com/en/payment-card-wallet/1748-paypal-official.html3 points
-
3 points
-
8.2, dar în ambele cazuri este mai bine să faci o instalare curată și să migrezi datele. În orice caz, dacă faci o instalare curată sau actualizezi, dezactivează modulele personalizate, treci la tema clasică și fă o copie de rezervă înainte de orice acțiune.3 points
-
Buenos días, Con todo el respeto, pero creo que estás equivocado o leyendo mal. En primer lugar, aquí no se está hablando de una solución gratuita, si no de un modulo de un pago único. En segundo lugar, has visto los precios de esas "míseras" subscripciones? Eres autónomo o una pyme? Si lo eres sabrás que hoy en día para todo hay que pagar una "misera" suscripción, suma suma suma y hablamos de lo que duele otra "misera" suscripción. En tercero, todo lo que sea impuesto por ley y que obligue a hacer algo debería estar subvencionado o ser gratuito ya que es una obligación, no un derecho al que acogerse si uno quiere, por lo que el propio gobierno debería poner a disposicion las herramientas de una forma sencilla y gratuita para que todas las empresas, incluidas autónomos y pequeñas empresas, puedan ajustarse a la normativa sin arruinarse en el camino. Y es que no es una "misera" suscripción más, es que esto es constante y no deja crecer ni respirar a autónomos y pequeños comercios entre unas cosas y otras... "Acaban" de salir dos normativas, la factura electrónica y la obligatoriedad de que las webs dispongan de un "simple botoncito" que permita cambiar todo el estilo de la web y alguna que otra funcionalidad para que sea accesible a todos los públicos, y cuando no es una es otra, y hay que pagar por todo (a nivel fiscal, a digital, a nivel social... Dentro de poco hasta por respirar), y si suben los precios pierden clientes por k el servicio/producto es caro, y competir con las grandes empresas ya es casi imposible y lo que no está impuesto hay que hacerlo "obligatoriamente" si quieres salir adelante. Mi madre, por ejemplo, que tiene una empresa familiar de limpieza de portales con tres empleados y que tiene un crecimiento muy moderadoDespués de todos los pagos (IRPF, autónomos, material, sueldos, seguridad social, iva, gastos de web, empresa de riesgos laborales, empresa de seguro laboral, abogado, gestoría, ditgitales, "míseras" suscripciones, etc etc etc) después de un año de trabajo tiene un beneficio neto de 3000€ y por ello tiene que pagar 900€ de impuesto de sociedades de ese beneficio... Pues si, cualquier nueva "misera" suscripción duele y más si es por algo impuesto. Y ella intenta no defraudar, ser legal y lo declara todo, pero es que de verdad que no lo ponen fácil, viendo esto luego nos sorprendemos de que haya empresas que hagan cosas en B ... Y si te dejas un pago sin hacer por qué no tenías dinero te acribillan a intereses (k ni un banco usurero llega a ellos) y como no pagues es tu perdición y a las grandes empresas le perdonan más de la mitad de las deudas que tienen para que paguen algo... Mucho apoyar al comercio local y todo eso que queda tan bonito pero luego a la hora de la verdad ....3 points
-
3 points
-
Hi, i'll add a few more tips to what was written by El Patron. This is a bug of new Ps9 that will be fixed i think in the end of August with new release. Actually the code of the module is updated!!...but in backoffice it continue to show the message ..well to fix this you have to update the module and than reset the module and you will see the new version:-) https://github.com/PrestaShop/PrestaShop/issues/39151 Cheers3 points
-
I started with PrestaShop, then switched to a different package and later switched back to PrestaShop 1.7. I'm now running PS 1.7.8.11. I tried updating to 8.2.1, but it failed. Updating to 9.0.0 wasn't possible directly. I then created a subdomain to install PS 9.0.0. I then analyzed both databases to transfer the data myself. I've now written SQL code to transfer my data. I chose to use the Hummigbird template. I think it looks very nice. And now that I've transferred my images and adjusted the colors, I think my website looks much better. But as others have mentioned, there are still some teething problems. It's a shame I couldn't upgrade from 1.7 to 9 all at once.3 points
-
Honestly, if we take a closer look, PrestaShop has come a long way, especially since it was sold to that big logistics group. With V9, you are not really getting flashy new features, it is more about cleaning up the code, upgrading to the latest Symfony and PHP, and making sure the open source core stays maintainable for the long run. From what I have seen, their vision for PrestaShop 9, while also working on 10 in parallel, is to make it truly platform agnostic so whether you are running on AWS, Nginx, Apache, or pretty much any hosting provider, it just works without headaches. Of course, each new release means agencies and developers have to spend time adapting code, testing, and stabilizing everything, which is no small task. That is actually why we built our own theme and over 50 modules designed to work together flawlessly. Now, when we take on a client, we can cover 80 to 90 percent of their needs right out of the gate without worrying about compatibility issues.3 points
-
Al parecer como siempre.. a nivel técnico no esta del todo claro las especificaciones técnicas, por eso no se ven módulos. Al final sólo los sistemas SAAS en la nube tipo holded tendrán músculo suficiente para adaptarse al infierno fiscal de este país y será mejor olvidarse de la facturación de prestashop.. Veremos3 points
-
Thirtybees está desactualizado, con una comunidad pequeña y desarrollo muy lento. No es comparable ni en solidez, ni en ecosistema, ni en soporte empresarial a PrestaShop 9 ni a Adobe Commerce (Magento). Solo es una opción válida para proyectos pequeños que quieran mantener compatibilidad con módulos antiguos de PrestaShop 1.6.3 points
-
It seems you haven’t met a lot of devs from Poland, have you? @WitekPr there is still a need for skilled developers, both from agencies and merchants - but PrestaShop entry level has increased, and it’s way above Woo to be considered skilled developer. If you want to increase your skills and learn to be a better developer, learn Symfony and more modern tech stack, then PS is a good option. Thanks to a tech stack used in more recent PS versions, even if you decide to stop working with PS, you’ll still have a solid foundation to work on different PHP/Symfony projects.3 points
-
New free module alert!!! Compatibility with PrestaShop 1.7.x - 9.x. Scans your shop searching for any vulnerability published on the FoP security advisories list. https://github.com/prestaalba/fop_publishedvulnerabilityscan/releases3 points
-
As you will have noticed the Trustpilot scores for Woocommerce and Shopify are even lower. Only Magento scores slightly better. Ecommerce software has lots of options and allows on top of that plugins/modules. In such complexity things can easily go wrong. The Italian owner of Prestashop is a bit too aggressive commercially and you see that back in the reviews. Whether you will find it worth to get into it depends on what kind of development you like. Prestashop runs since version 1.7 under the Symfony framework. The supported business data have since then hardly changed. Almost all their development focuses on the software structure and to a lesser extent the backoffice. I assume they try to please some big companies. The problem is that this makes the code more and more complex what makes debugging problems harder. If you have a look at the software you should also look at Thirtybees. That is a fork of Prestashop that maintains the PS 1.6 structure of the Prestashop code and has updated it to run with the latest PHP version. A few years ago this forum was much more busy. On Builtwith you can see that Prestashop is becoming less popular rather quickly. I see a few reasons. They have made it very hard to install the software under Windows - and that is where many people try there ecommerce software for the first time. In 2021 Prestashop was bought by an Italian company - MBE Worldwide. In the process the software was split. There is now an opensource project that maintains the software core and there is MBE that provides a number of extra modules. For my taste this hasn't worked out very well. The opensource project is dominated by Linux nerds and could use some common sense from commercial people and the MBE modules tend to be not stable enough. The commercial pressure of MBE doesn't help either.3 points
-
3 points
-
Hola, Parece ser un problema conocido. ¿Puedes revisar esta solicitud de extracción en GitHub y agregar manualmente los cambios al archivo src/Core/Context/CurrencyContextBuilder.php? --- Hello, This seems to be a known issue. Can you have a look at this pull request on GitHub and manually add the changes to the src/Core/Context/CurrencyContextBuilder.php file? Please note that this is the Spanish section of the forum.3 points
-
3 points
-
1. Built-in “Our Stores” page (free) PrestaShop core has a simple Stores feature under Shop Parameters → Contact → Stores. You can add all your reseller addresses here and enable the “Our stores” front-office block. To group by country, override the StoreDetailsController and tweak the .tpl to sort your stores array by country_name and output sections per country. 2. Store Locator & Pickup with Google Maps (FME Modules) A full-featured addon that lets you: Import/export reseller data via CSV Display markers on Google Maps, auto-detecting user location Filter by custom categories (e.g., country or region) Offer a store-pickup/POS option if needed 3. Prestashop Product Store Locator (PrestaShoppe) Designed for per-product stock visibility at reseller outlets. Merchants can: Assign products to specific reseller locations Let customers search by product or address Render a clean map widget with country/group filters 4. Prestashop Store Locator (Webkul) Similar to FME’s module, with extra goodies: Marker clustering for dense areas Detailed contact info (phone, email, hours) per reseller Scheduling for store pickup slots Multi-shop and multi-language support webkul.com Recommendation: No-code / polished look: go with FME or Webkul (both include geo-API handling, CSV import, category filters). Budget-friendly / custom: use PrestaShop’s built-in Stores page or the free blockstorelocator and add your own grouping logic in the template.3 points
-
Hi. Availability parameter is not available in PaymentModule.php (Not tested!!!) updated (added in green box): $productAvailableQuantity = StockAvailable::getQuantityAvailableByProduct( (int) $product['id_product'], (int) $product['id_product_attribute'], (int) $order->id_shop ); $productInfo = new Product((int) $product['id_product'], false, $order->id_lang); $productAvailableNow = $productInfo->available_now; $productAvailableLater = $productInfo->available_later; $returnAvailabilityText = ''; if ($productAvailableQuantity > 0) { if ($productAvailableNow) { $returnAvailabilityText = $productAvailableNow; } else { $returnAvailabilityText = $this->trans('Available now', [], 'Emails.Subject', $order->id_lang); } } else { $availableDate = Product::getAvailableDate((int) $product['id_product'], $product['id_product_attribute']); if ($productAvailableLater) { if ($availableDate) { $returnAvailabilityText = $productAvailableLater. '('.Tools::displayDate($availableDate, null, false).')'; } else { $returnAvailabilityText = $productAvailableLater; } } else { if ($availableDate) { $returnAvailabilityText = $this->trans('Available later', [], 'Emails.Subject', $order->id_lang). '('.Tools::displayDate($availableDate, null, false).')'; } else { $returnAvailabilityText = $this->trans('Available later', [], 'Emails.Subject', $order->id_lang); } } } $product_var_tpl = [ 'id_product' => $product['id_product'], 'id_product_attribute' => $product['id_product_attribute'], 'reference' => $product['reference'], 'name' => $product['name'] . (isset($product['attributes']) ? ' - ' . $product['attributes'] : ''), 'price' => Tools::getContextLocale($this->context)->formatPrice($product_price * $product['quantity'], $this->context->currency->iso_code), 'quantity' => $product['quantity'], 'availability' => $returnAvailabilityText, 'customization' => [], ]; and in the TPL email template (order_conf_product_list.tpl): updated (added in green box): <td style="border:1px solid #D6D4D4;"> <table class="table"> <tr> <td width="5"> </td> <td align="right"> <font size="2" face="Open-sans, sans-serif" color="#555454"> {$product['quantity']} {if isset($product['availability']) && $product['availability']} <br>{$product['availability'] nofilter} {/if} </font> </td> <td width="5"> </td> </tr> </table> </td> You can do the same with the ps_emailalerts module 😉3 points
-
#PhenixSuite 1.6.2.33 est disponible ! 😉 Première installation ? Un seul fichier suffit: https://devcustom.net/public/scripts/dl.php?f=autoloader Changelog complet ici: https://devcustom.net/public/scripts/dl.php?f=changelog #PhenixSuite le renouveau des versions #prestashop 1.6, compatible PHP8, sécurisé et + encore à découvrir ! Concernant cette dernière version:3 points
-
2 points
-
Im Kontaktformularmodul unter modules\contactform\contactform.php finden sich die erlaubten Dateiendungen in der Funktion sendMessage. Wenn das upgradesicher erweitert werden soll, musst du ein Modul-Override erstellen (https://devdocs.prestashop-project.org/9/modules/concepts/overrides/#override-a-module) public function sendMessage() { $extension = ['.txt', '.rtf', '.doc', '.docx', '.pdf', '.zip', '.png', '.jpeg', '.gif', '.jpg', '.webp'];2 points
-
Sí, va a entrar en vigor sí, ya somos de los pocos países de europa que no tienen algo similar, y muchos del este de europa funcionan así desde hace años. El tema está en que los políticos lo tenían muy fácil... solo tenían que hacer un comunicado y decir "ok, NO vamos a sancionar durante X meses", y listo (cosa que ya se venía comentando desde hacía meses). Pero NO, tenían que elegir la peor opción de todas: la que les permitía salir en rueda de prensa a colgarse una medallita, y así penalizan a todos los que intentan hacer las cosas bien y premian a los de la dejadez y los de "dejarlo todo para el último momento y aquí no pasa nunca nada"... Millones de euros perdidos en publicidad inútil, miles y miles de horas de desarrollo apresurado y de horas sin dormir de todo el colectivo de desarrolladores de este país, millones de euros de adaptación de dispositivos de hardware de los fabricantes de cajas registradoras, básculas.... Hay pequeñas tiendas que se han gastado un dineral inmenso para cambiar todo su hardware, y empresas que han tirado a la basura sistemas informáticos personalizados al dedillo durante décadas porque era imposible adaptarlos a tiempo. Pero sobre todo: Os aseguro que hay una enorme cantidad de negocios que directamente HAN CERRADO, gente a la que les quedaban pocos años para jubilarse y han visto imposible asumir (y pagar) tanto cambio y ya decidieron no continuar, e incluso mucho autónomo, mucho más joven, que se ha visto superado por la situación y ha bajado la persiana para siempre. A todos estos ¿qué les decimos? La base para que un país funcione económicamente es dar seguridad jurídica a quienes quieran hacer negocios en él, y en eso sí somos los líderes de europa: en tener una inseguridad jurídica al nivel de la peor de las repúblicas bananeras del mundo. En lo que a nuestro sistema se refiere, a seguir mejorando hasta 2027, y periodo de pruebas gratuito prolongado hasta finales de 2026.. y a los clientes que ya han confiado en nosotros les hemos informado por email de cómo vamos a actuar y al 99% les ha parecido bien.2 points
-
Hello, Ok, this makes more sense now. In your ps_facetedsearch module's configuration, in the template used, you are most likely having Search (experimental) checked in the Pages using this template: section. The problem seems to be the fact that ps_facetedsearch does not execute the actionSearch hook. If you uncheck that option, the default search class will be used in the search page, and this class does implement the hook, so you should start seeing the search keywords inserted into that table.2 points
-
This question I felt needed a proper answer so I wrote a blog post based on my experience, I hope it helps. https://prestaheroes.com/blogs/prestashop-alerts/the-on-page-seo-checklist-for-modern-prestashop-stores2 points
-
@El plan de Dan Me parece inadecuado que, en lugar de moderar y aportar al foro, se utilice este espacio para atacar a PrestaShop y promocionar servicios personales. Yo estoy aquí para colaborar y ayudar a otros usuarios, no para entrar en conflictos. Le ruego que deje de dirigirse a mí de manera insistente, ya que me siento acosado y perseguido. Si tiene algún desacuerdo con PrestaShop, no lo traslade contra quienes participamos de buena fe en la comunidad. Mantengamos el foro como un lugar de respeto y apoyo mutuo, que es lo que realmente beneficia a todos los usuarios.2 points
-
Thank you both for the advice, If I do this in the future I'll make sure to look for a provider that gives me a bit more technical control to fix things like this. In the meantime I bit the bullet and paid for a 'diagnostic ticket' (even though this outage was prestashops issue not mine), and prestashop actually fixed the error 500 and refunded me for the ticket within 5 minutes, which was a relief. I still have no idea what caused the outage, and it was frustrating not having any other mode of contact, but I should be able to upgrade my account to a 'prestashop user' now which will prevent getting stuck like this in the future.2 points
-
Guys ! You are heroes. both answers worked for me thank you2 points
-
There are no defined standards for this. It really depends on the organization or platform. I’ve personally lost access to downloads on popular platforms like ThemeForest as well, when items were disabled or removed by the sellers. Usually, the free support period (3–6 months) is considered sufficient time to download the module and keep a backup on your end. Ideally, you should keep the backup with you.2 points
-
Dear Community, This morning, Monday 9th of September 2019, the forum has been unavailable during one hour, from 10:30am to 11:30am, Paris timezone. This upgrade was prepared and testing on an iso preproduction infrastructure in order to make it as smooth as possible. What has been done: Upgrade to version 4.4.6 of Invision, Installation of the Auto Welcome module in order to improve the on-boarding of new members Installation of the New topic information module in order to add guidance and tips to write better topics Tests that everything is fine The deployment of the new modules is still in work in progress and will also come with a new member group, "New-Members'", that will ease spam and troll filtering. It has been asked by forum moderators. If you would encounter any issue after this big maintenance, please write an answer to this topic or send me a private message via the forum.2 points
-
PrestaShop doesn't index feature names, only their values so you'll need to modify the function that retrieves just the values of the features you want. You can do it by adding an override to the Search class (sadly there are no hooks you can use). Below is an example of code you would place in override/classes/Search.php (you need to clear the cache when you add or remove files from the override directory): <?php class Search extends SearchCore { /** * @param Db $db * @param int $id_product * @param int $id_lang * * @return string */ public static function getFeatures($db, $id_product, $id_lang) { if (!Feature::isFeatureActive()) { return ''; } $features = ''; $featuresArray = $db->executeS(' SELECT fvl.value FROM ' . _DB_PREFIX_ . 'feature_product fp LEFT JOIN ' . _DB_PREFIX_ . 'feature_value_lang fvl ON (fp.id_feature_value = fvl.id_feature_value AND fvl.id_lang = ' . (int) $id_lang . ') WHERE fp.id_product = ' . (int) $id_product . ' AND fp.id_feature IN (1,2,3)', true, false); foreach ($featuresArray as $feature) { $features .= $feature['value'] . ' '; } return $features; } } The above will only add the values of features with id_feature = 1, 2 or 3 (obviously you need to replace 1, 2 and 3 with the IDs of the three features you want included in search). The above override should work for any PrestaShop version from 1.6 -> 9.0 (this function hasn't changed in all that time).2 points
-
The recommended version is always the latest supported Module developers should support all the versions supported by a given PrestaShop release. I.e. Use PHP 8.4, if you noticed errors with modules, you should check with the authors of those to make sure their solutions are compatible.2 points
-
Yes you must have a dns entry pointing to the web site for PS account.2 points
-
Et je viens de voir que pour télécharger le zip sur le site un email est obligatoire, pas très RGPD tout ça...2 points
-
Hello, Maybe you could use our Easy Login module: https://addons.prestashop.com/en/website-security-access/95897-op-art-easy-login-connection-without-password.html With it, your customers won’t need a password anymore. They just enter their email address and receive a login link.2 points
-
To export only the mobile phone numbers of clients who registered between March 1st, 2025 and April 29th, 2025, you need to filter based on the date_add field in the ps_customer table (which tracks customer registration date), and join it with the ps_address table. Here’s an SQL query you can use in the PrestaShop SQL Manager: change table prefix to match your shops. SELECT a.phone_mobile FROM ps_address a JOIN ps_customer c ON a.id_customer = c.id_customer WHERE c.date_add BETWEEN '2025-03-01 00:00:00' AND '2025-04-29 23:59:59' AND a.phone_mobile != '' Explanation: ps_address a and ps_customer c are joined via id_customer. We filter using c.date_add to only get users registered within the date range. a.phone_mobile != '' avoids empty phone entries.2 points
-
2 points
-
Vat Checker with VIES cache and force NO VAT table. VAT Excluded table you can find in Customers Tab. To work "Check company name" and "Check company address" features you need to install and enable "INTL" php-extension. To get fastest performance you need to install and enable "pecl-APCu" php-extension. PS 1.7+ an of course 8.x. php 7.4+, 8.1+ Require php-soap extension. Extensions php-intl and pecl-APCu is optional. No ps overrides using. Fully automatic work. Module set VAT-Free to customer if valid VAT provided. Module checks VAT number and can check VAT address and/or VAT name of company. (Not all countries support address/name checking. For address/name checking you need "php-intl" and adjust matching scale in BO.). Module caching VIES responses. Cached VAT data can be used 1 week from local cache table without query to VIES. to change cache time modify vatchecker.php line 76 private $cacheTime = 604800; //sec (604800 - 1 week) Module adds Customers force no vat table in Customers tab. (refresh page after install) Module can check VAT on every checkout to prevent VAT data change by customer or on customer address change. Developed in 2022. Adapted for PS8. Download vatchecker.zip (Always latest version.) Also try my other modules Simple Security Html Minifier Simple Export Simple Votings2 points
-
Hello nicoledesignstore, I was working today with a store that was being brought down every 5-15 minutes by a similar bot attach - targeting a category url with filters. Mass requests, that were overpowering PHP and mysql - store was not responding for real customers. if you have access to terminal, you can type this command there to confirm you have the same problem: echo "=== $(date) ==="; echo "LOAD: $(cat /proc/loadavg)"; echo "=== PHP PROCESSES ==="; ps aux | grep php-fpm | grep -v grep; echo "=== MYSQL QUERIES ===";mysql -e "SHOW FULL PROCESSLIST" | grep -v Sleep; echo "=== RECENT REQUESTS ==="; tail -20 /var/log/nginx/access.log to resolve this, for now we applied a dispatcher override fix, please see: <?php class Dispatcher extends DispatcherCore { public function dispatch() { // Only redirect if 'q' is present AND the request is NOT an AJAX call. if (Tools::getValue('q') && ( empty($_SERVER['HTTP_X_REQUESTED_WITH']) || strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) !== 'xmlhttprequest' )) { // Get the full request URI (path + query string) $uri = $_SERVER['REQUEST_URI']; $parts = parse_url($uri); $path = $parts['path']; $queryParams = []; if (isset($parts['query'])) { parse_str($parts['query'], $queryParams); } // Remove the problematic "q" parameter unset($queryParams['q']); // Rebuild the query string (if there are other parameters) $newQuery = http_build_query($queryParams); // Build the new URL using the original path $newUrl = Tools::getShopDomainSsl(true) . $path; if (!empty($newQuery)) { $newUrl .= '?' . $newQuery; } // Redirect with a 301 status code header("Location: $newUrl", true, 301); exit; } // For AJAX requests (or if 'q' isn't set), continue as normal. return parent::dispatch(); } } This, makes direct http/browser access for sites to url with filter be redirected to that exact same page without filter, while keeping the standard prestashop layered filters module work - detects if request is made by AJAX and if so, keeps the filtering functionality working. Always consider how this impacts your SEO. But for us, it eliminated the problem with the store being overwhelmed and inaccessible for real people.2 points
-
Devi passare da lì perchè hai scaricato la versione dal sito ufficiale e non quella "open" da github. Nelle ultime versioni MBE (a capo di Prestashop) ha deciso che tutti gli amministratori di un ecommerce PS versione "ufficiale" devono passare dall'autenticazione Addons. Scelta politica, forse a caccia di lead. M.2 points
-
I fixed it changing birthday date, I have detected that in some customers, the year of birth date it was wrong. For example, it had year like this: 0823, after changed for 1980, the password recovery link works well again.2 points
-
Si vous avez accès au php.ini augmentez le memory_limit car c'est géré dans src/Adapter/Product/AdminProductDataProvider.php public function getPaginationLimitChoices() { $paginationLimitChoices = [20, 50, 100]; $memory = Tools::getMemoryLimit(); if ($memory >= 512 * 1024 * 1024) { $paginationLimitChoices[] = 300; } if ($memory >= 1536 * 1024 * 1024) { $paginationLimitChoices[] = 1000; } return $paginationLimitChoices; }2 points
-
Ask your hosting provider or change configuration if you have access to server management to add zip php extension2 points
-
2 points
-
2 points
-
Bonjour, c'est simple, il suffit d'aller dans l'onglet "Paramètres Généraux/Maintenance et ensuite de vider ou effacer les IP de maintenance encore affichées... Enregistrer et voilà... les visiteurs doivent à nouveau être affichés!2 points
.png.022b5452a8f28f552bc9430097a16da2.png)