Leaderboard
Popular Content
Showing content with the highest reputation since 12/01/2025 in all areas
-
Hello, I wanted to share a free module that I developed for PrestaShop and that can be useful for many merchants. 👉 JPresta Doctor The module lets you run a complete diagnosis of your PrestaShop store in just a few clicks. It runs more than 500 automatic checks to detect the most common issues: orphan data in the database inconsistencies after installing or uninstalling modules issues that may impact performance or stability unused images etc. The goal is simple. quickly know whether your store is healthy, without having to dig everywhere. 📥 Download the latest version and get more information: https://jpresta.com/en/prestashop-doctor-diagnostic-repair-clean-optimize If you have any questions or feedback, I will be happy to discuss. Have a nice day, Jérôme jprestadoctor-1.1.1-jprestadoctor.zip2 points
-
Lot of SQL queries in PS are not optimized for huge data (history or lot of orders per day). Specially join queries with pagination are very poor. Let me give you a sample: This query takes several minutes if you have more than 100.000 orders, even on a dedicated database server 😞 SELECT o.`id_order`, o.`reference`, o.`total_paid_tax_incl` AS total_paid, ... FROM `ps_orders` o LEFT JOIN `ps_customer` c ON o.`id_customer` = c.`id_customer` LEFT JOIN `ps_address` a ON o.`id_address_invoice` = a.`id_address` LEFT JOIN `ps_order_state_lang` b ON b.`id_order_state` = o.`current_state` AND b.`id_lang` = 1 LEFT JOIN `ps_country` co ON co.`id_country` = a.`id_country` LEFT JOIN `ps_state` s ON s.`id_state` = a.`id_state` LEFT JOIN `ps_order_cart_rule` ocr ON ocr.`id_order` = o.`id_order` LEFT JOIN `ps_cart_rule_lang` cr_lang ON ocr.`id_cart_rule` = cr_lang.`id_cart_rule` AND cr_lang.`id_lang` = 1 LEFT JOIN `ps_order_detail` od ON od.`id_order` = o.`id_order` LEFT JOIN `ps_order_slip_detail` osd ON (od.`id_order_detail` = osd.`id_order_detail`) LEFT JOIN `ps_product` p ON p.`id_product` = od.`product_id` LEFT JOIN `ps_product_lang` p_lang ON p.`id_product` = p_lang.`id_product` AND p_lang.`id_lang` = 1 AND p_lang.`id_shop` = 1 WHERE o.`id_shop` = 1 AND o.`current_state` != 0 GROUP BY o.`id_order` LIMIT 0, 250 optimized query < 8 seconds should be something like: SELECT o.`id_order`, o.`reference`, o.`total_paid_tax_incl` AS total_paid, ... FROM ( SELECT `id_order` FROM `ps_orders` WHERE `id_shop` = 1 AND `current_state` != 0 ORDER BY `id_order` DESC LIMIT 250 OFFSET 0 ) AS filtered_orders JOIN `ps_orders` o ON filtered_orders.`id_order` = o.`id_order` LEFT JOIN `ps_customer` c ON o.`id_customer` = c.`id_customer` LEFT JOIN `ps_address` a ON o.`id_address_invoice` = a.`id_address` LEFT JOIN `ps_order_state_lang` osl ON osl.`id_order_state` = o.`current_state` AND osl.`id_lang` = 1 LEFT JOIN `ps_country` co ON co.`id_country` = a.`id_country` LEFT JOIN `ps_state` s ON s.`id_state` = a.`id_state` LEFT JOIN ( SELECT ocr.`id_order`, GROUP_CONCAT(DISTINCT cr_lang.`name` SEPARATOR ', ') AS distinct_coupons FROM `ps_order_cart_rule` ocr LEFT JOIN `ps_cart_rule_lang` cr_lang ON ocr.`id_cart_rule` = cr_lang.`id_cart_rule` AND cr_lang.`id_lang` = 1 GROUP BY ocr.`id_order` ) coupon_data ON coupon_data.`id_order` = o.`id_order` LEFT JOIN ( SELECT od.`id_order`, SUM(osd.`amount_tax_incl`) as refunded FROM `ps_order_detail` od LEFT JOIN `ps_order_slip_detail` osd ON od.`id_order_detail` = osd.`id_order_detail` GROUP BY od.`id_order` ) refund_sums ON refund_sums.`id_order` = o.`id_order` LEFT JOIN ( SELECT od.`id_order`, GROUP_CONCAT( CONCAT( '{"id_product":"', od.`product_id`, '","id_variant":"', od.`product_attribute_id`, '","name":"', REPLACE(COALESCE(pl.`name`, ''), '"', '\\"'), '","price":"', od.`product_price`, '","quantity":"', od.`product_quantity`, '"}' ) SEPARATOR ',' ) AS products_json FROM `ps_order_detail` od LEFT JOIN `ps_product_lang` pl ON od.`product_id` = pl.`id_product` AND pl.`id_lang` = 1 AND pl.`id_shop` = 1 GROUP BY od.`id_order` ) product_data ON product_data.`id_order` = o.`id_order` ORDER BY o.`id_order` DESC;2 points
-
Since long time ago, I has been developing ecommerces in prestashop (and other platforms) and something needs to be said: Paid themes and modules are getting low quality, higher price everyday. Its totatly normal latelly to have Paid themes that doesnt work properly, or have modules on it from 4 years ago with security bugs (but theme has been updated on last days...) . Multiple modules that by default doesnt work in prestashop 8.1 (but they are announced as they should work). Themes installed that throws deprecated php instances over php 8.1 (to be honest, prestashop should upgrade to 8.2-8.3 before the EOL) Themes inheriting from posthemes that are copycats between them: same demos, same files, diferent names. Suport that only ask for ftp and login/password to access instean ask for information (its not only a bad practice. With the poor quality of their product after paying 60-70-80€ for them and crash, they ask you to have full access to your development shop to "solve" the problem. Prestashop members and prestashop community should say "stop" . Its totatlly normal the trustness of this platform is getting lower and lower: On last 2 weeks, we started 3 projects on prestashop and none of the modules installed worked as intended, and all of them in one or other way launches errors in screen or logs..... I know this message will be filtered, but at least the prestashop moderators should think about whats happening and why people are trusting in worst platforms only because the theme creators are pure greed people with a fake/scam products. (not all of them, but a lot of them for sure) S!2 points
-
We tried to modify order, as client noticed that he does not want company name on invoice. After company removed, delivery costs were removed too from the order. I wonder why this stupid rule were created by developer and how to remove it from prestashop.2 points
-
Instead of Captcha try Coludflare Turnstile. It appears to be more effective in blocking spam. A free module is available on GitHub.2 points
-
Hello, I completely agree with you. I bought two themes this year and received "Deprecated" alerts for both, yet no comments mention any issues. The first theme was compatible with 8.2.x and the second with 9.0.x. The themes were recently updated, but these developers do nothing unless it's a critical error. It's high time PrestaShop cleaned up all these developers who publish such poor-quality themes, bordering on fraud.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
-
ok, it works👍... Thanks again for the help2 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
-
2 points
-
Thanks for the detailed checklist, that helps a lot. I’ll start by enabling debug mode and profiling the slow pages to see which modules or queries are causing the delay. I’ll also review overrides and hooks, as I suspect one or two modules might be adding heavy queries in the back office. Once I narrow it down, I’ll disable the problematic modules and test again. If I still see issues after that, I’ll share the profiler results here. Appreciate the guidance.1 point
-
API się nie zmieniło, więc może to kwestia tylko poprawki ichniego modułu. Pewnie z czasem sami zrobią wersję pod v9.1 point
-
Bonjour, Nous souhaitons mettre en place une réduction par palier d'achat dans les règles paniers. Ce qui semble facile à configurer mais nous rencontrons trois problèmes ... 1 - La règle panier n'exclu pas les produits en promotions 2 - La réduction par palier s'applique à tout le panier (s'il contient 1 produit de la catégorie) et non pas juste aux produits de la catégorie. (et même les produits d'une autre catégorie avec des promotions !) 3 - Malgré ces configurations nous avons observés 25 cas sur 580 qui ont bénéficiés de la remise cumulés -10, -15 et -20%. Comment l'expliquer ? Voici la configuration mise en place : BON DE RÉDUCTION DE 10% POUR 50€ D'ACHAT (sur une catégorie spécifique) : * Montant minimum : 50 * Non-compatibilité : bon de réduction 15% et bon de réduction 20% *Sélection de produit : nombre de produits requis dans le panier : 1 Ajout d'une règle qui concerne 1 catégorie. * Priorité : 3 * Etat : validé *Appliquer une réduction en pourcentage : 10% *Exclure les produits en promotions BON DE RÉDUCTION DE 15% POUR 100€ D'ACHAT (sur une catégorie spécifique) : : * Montant minimum : 100 * Non-compatibilité : bon de réduction 10% et bon de réduction 20% *Sélection de produit : nombre de produits requis dans le panier : 1 Ajout d'une règle qui concerne 1 catégorie. * Priorité : 2 * Etat : validé *Appliquer une réduction en pourcentage : 15% *Exclure les produits en promotions BON DE RÉDUCTION DE 20% POUR 150€ D'ACHAT (sur une catégorie spécifique) : : * Montant minimum : 150 * Non-compatibilité : bon de réduction 10% et bon de réduction 15% *Sélection de produit : nombre de produits requis dans le panier : 1 Ajout d'une règle qui concerne 1 catégorie. * Priorité : 1 * Etat : validé *Appliquer une réduction en pourcentage : 20% *Exclure les produits en promotions Avez-vous une explication à nos 3 problématiques ?1 point
-
Hola Pedro, Sí, la forma “limpia” en PrestaShop (y en Hummingbird) es sobrescribir el CSS del tema, así que tu idea con custom.css es totalmente válida 👍 Para dejarlo mejor en desktop (80px) sans que en móvil se vea demasiado grande, puedes hacerlo con media queries y apuntando directamente a la imagen del logo (manteniendo el ratio con width:auto): /* Desktop: logo más alto */ @media (min-width: 768px) { .header-bottom { padding: .5rem 0; } .header-bottom .navbar-brand img.logo, .header-bottom .navbar-brand .logo { max-height: 80px; width: auto; } } /* Móvil: mantener un tamaño más razonable */ @media (max-width: 767.98px) { .header-bottom .navbar-brand img.logo, .header-bottom .navbar-brand .logo { max-height: 48px; /* ajusta a 56px si lo prefieres */ width: auto; } } Importante : Ponlo en themes/hummingbird/assets/css/custom.css (o el custom.css que cargue tu tema). Luego vacía la caché: Parámetros avanzados → Rendimiento → Vaciar caché (y si tienes CCC activado, desactívalo temporalmente para probar). Si tu logo es muy grande, conviene también subir un logo con buena resolución para que no se vea borroso al aumentar altura. Con eso tendrás 80px en escritorio y un tamaño controlado en móvil sin depender tanto de !important.1 point
-
🧩 Introducing LD Page Builder – AI-Powered Visual Page Builder The goal of this module is to help all merchants — even without technical skills — create modern, responsive, and professional pages directly from the front-office using a smooth drag-and-drop system. ⚙️ Key Features 🧱 Full visual editor: easily add text, images, videos, buttons, products, customer reviews, and more. 🤖 AI integration: automatically generate text, blocks, or even complete pages in just a few clicks. 🎨 Modern and intuitive interface designed for fast and fluid page creation. 📱 Responsive compatibility: pages automatically adapt to all screen sizes. 🔄 Continuous improvements: the module is regularly updated with new blocks and pro features. ⚙️ Compatibility : From 1.7.2 to 9.0.1+ 💸 Three plans available to fit your needs 🆓 Free Version – perfect to explore the module, including essential blocks (text, image, video, button, etc.). ⭐ Pro Version – €14.99/month – unlock advanced blocks (customer reviews, product blocks, before/after image comparison, countdown timer…) and a store of ready-made layouts. 🤖 AI Version – €29.99/month – includes all Pro features + AI-powered text and image generation with an integrated credits system. These plans are designed for all types of merchants: from those who want simple customization to professionals looking to speed up their content creation workflow. ✅ Try the editor here: 👉 https://prestashop.ldmodules.com/content/1-delivery?ld_page_builder=1 📦 Module available here: v1.3.0-ldpagebuilder.zip We’re always open to feedback, suggestions, and improvement ideas. Our goal is to make this a must-have tool for anyone who wants to save time while keeping full control over their store design.1 point
-
La validation est en cours sur Addons, je propose déjà le module sur mon site : https://www.prestatoolbox.fr/transport-logistique/478-commandes-groupees-par-fournisseur.html1 point
-
Non. Dans l'ordre: - Vous créez un répertoire /dev au même niveau que le /www ou /public_html - vous créez un sous domaine chez votre hébergeur (c'est gratuit): dev.votre_domaine.com - vous paramétrez ce sous-domaine pour qu'il pointe vers le répertoire /dev que vous venez de créer - Dans ce répertoire vous copiez intégralement le contenu de votre répertoire /www ou public_html sauf le .htaccess - Vous créez une nouvelle base de données dans laquelle vous copiez intégralement le contenu de celle utilisée pour votre site en prod - Dans cette base vous modifiez le nom de domaine dans les 2 colonnes de la table ps_shop_url pour mettre l'url de votre dev - Enfin vous éditez le fichier /config/settings.inc.php du ftp du dev pour lui rentrer les identifiants de la nouvelle base de données. Vous aurez alors une copie conforme de votre site.1 point
-
Dear Guys, All Variables getting HTML escaped in my module in prestashop 1.7 causing module not work.Does anyone know how to fix this issue? Even variables that are not supposed to be HTML escaped are getting escaped and getting printed as text.How do I make prestashop aware about this issue?Please advice1 point
-
This is very first version of the module, it will be developed and new verification options will be added. Currently, the module only checks two things, it compares name and surname. If both are identical, it does not allow you to create an account in the store. Module aslo check letters in firstname and lastname, if it's unusual it will also block spammer to create account. Accounts like below will not be created in store. ***New version 1.0.1*** in version 1.0.1 there is new option checking letters, lowercase and uppercase. Firstname or Lastname like: mcdonald, Mcdonald, McDonald, MCDONALD, mCDONALD, mCdONALD are valid and allow to create account, but Firstname or Lastname like: McDoNald, mCdOnALD, MCDonald, McDonalD etc. aren't valid and user can't create account. It also should block account like that: ***New version 1.0.2*** In this version was added verifictaion for firstname and lastname that their are same even then some letters are lowercase or uppercase in fistname and not in lastname. Before user with first and last name like: Andrew andreW was able to create account, now he will be blocked. If you have any suggestions for validating a customer account, please post below. All suggestions will be considered and the best ones implemented into the module. It should work with prestashop 8.X and lower like 1.7.8 not tested with lower version then 1.7.7 ***New version 1.1.1*** Added configuration page to module. wfeuserverification1.0.0.zip wfeuserverification1.0.1.zip wfeuserverification1.0.2.zip Version 1.1.0 and newest was not tested, you install it on your own risk! wfeuserverification-1.1.0.zip wfeuserverification-1.1.1.zip1 point
-
bonjour @Audrey Tournier, je viens de vous envoyez un MP. Bonne continuation et bonne journée. Cordialement,1 point
-
Jeśli w tym katalogu nie masz pliku custom.css to go utwórz i tam dodaj ten kod.1 point
-
Using the strongly worded title of "Destroying Prestashop" to bring attention to a possible Prestashop spam campaign to degrade/fatigue Prestashop installers/operators. Managing 8 PS shops and 4 shops for others and the amount of email/customer spam is bringing fatigue (even brand new sites with PS installed receive spam in hours). Wanted to bring this topic up before 2026 in hopes of keeping myself/others on PS. All ideas welcome and captchas are used1 point
-
Vous n'auriez pas un override de Cart.php ou Carrier.php ou CartController.php ? Des modules accrochés sur le hooks actioncartSave ? Car là les prix arrivent directement du serveur, rien n'est modifié en js, donc c'est un module ou un override qui modifie les prix (en code je dirai qu'une boucle est mal fermée ou qu'une valeur par référence n'a pas été unset())1 point
-
$product_manufacturer.image.small.url1 point
-
Hola a todos, Nos gustaría poder comentar en este foro ya que se nos nombra bastante. Somos los creadores del Módulo STK Verifactu y se dice alguna cosa que no es cierta. Estaría bien que el moderador nos aprobara los comentarios para poder debatir y sumar en este foro.1 point
-
Bonjour Ne pas travailler en local...1 point
-
you can run it through the PrestaShop validator to get some sense of the security and best pracatices https://validator.prestashop.com/1 point
-
Hi. I like this post for free drag and drop theme and i send thank you. But how much secure is that module theme ? I want to open a new eshop.1 point
-
Gracias por el código, me sirvió estaba buscando algo similar.1 point
-
I have a new installation of PS9.0.1 on a new Win 11 / WAMP setup. PS9 Installs OK but then Apache refuses to serve up both the shop or the back end. The installation is: WAMP Server 2.4. Server Configuration Apache Version: 2.4.65 - Documentation Apache - Loaded Apache modules Server Software: Apache/2.4.65 (Win64) PHP/8.3.28 mod_fcgid/2.3.10-dev - Port defined for Apache: 80 PHP Version: [Apache module] 8.3.28 - Documentation PHP - Loaded PHP extensions - Use of PHP versions [FCGI] 8.0.30 - 8.1.33 - 8.2.29 - 8.3.28 - 8.4.15 - 8.5.0 - FCGI mode help MySQL Version: 8.4.7 - Port defined for MySQL: 3306 - default DBMS - Documentation MySQL MariaDB Version: 11.4.9 - Port defined for MariaDB: 3307 - Documentation MariaDB - MySQL - MariaDB Win64OpenSSL_Light-3_6_0 (1) Opening https://localhost/PS produces: Hmmm… can't reach this page localhost refused to connect. Try: Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED And the back end produces: Oops! An Error Occurred The server returned a "500 Internal Server Error". I am obviously new at this. What have I missed? Please help!! Very annoying Barrie1 point
-
As was not having problems with WAMP maybe because my user was and administrator... For me it seems like permission problems. If you are doing this on local server just for testing, try to play with permissions. In your case, first i'll make user as admin and reinstall WAMP, try if it solves you issues, if not, make the directory, you install presta, permission settings 777 and try again.1 point
-
WAMP needs to be started manually. As Administrator. It can see the sites. It serves up the 'Maintenance' pages for both PS8 shop and back office. I cannot do anything. I have tried reloading PS9 without SSL, and it fails as it cannot rename the index.temp.php to index.php. I do this manually, and then cannot continue the installation. I will work that out!1 point
-
Ne touchez pas aux produits. Vous pouvez vider cette table et surtout: guest, connections, connection_pages, page_viewed, page_not_found1 point
-
Imagino que dentro de un año volveremos a leernos en este post...vaya panda nos gobierna1 point
-
Hello, Since this is experimental, you would expect things to be missing. You can manually fix it for now. You can edit modules/ps_facetedsearch/src/Product/SearchProvider.php and on line 197 add the following: \Hook::exec('actionSearch', [ 'searched_query' => $query->getSearchString(), 'total' => $productsAndCount['count'], 'expr' => $query->getSearchString(), ]); If it's inserting things twice, this means the hook is called twice, although it shouldn't. Did you add it for debugging somewhere in the code and forgot to remove it?1 point
-
I have tried both http and https. PS8 is installed without SSL, PS9 with SSL. PS8 gives me the 'We will be back soon' message under http, file not found under https. PS9 gives me file not found under both http and https My little HTML page works fine in http, file not found in https. I am missing something here!!1 point
-
Hi. How do I active debug mode? Which / Where are the appropriate logs to be found? Thanks BarriePlease bear in mind that I am a Linux novice.1 point
-
Hello, did you rename or delete the install folder? Best regards,1 point
-
Activate debug mode or check error log to see the 500 error details1 point
-
this module I've used several times for same exact issue, it works. https://www.aurone.com/blog/module-prestashop-archivebox-archiver-les-anciennes-commandes/1 point
-
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-stores1 point
-
Hello, I’m introducing our Op’art IndexNow module, which helps improve the indexing of your pages on search engines and, consequently, your site's SEO. The module is available here: https://addons.prestashop.com/en/seo-natural-search-engine-optimization/88693-op-art-indexnow-improve-indexability-automatically.html IndexNow is a technology developed by Microsoft to simplify search engines' work in discovering a site's pages. Websites using this technology have a higher chance of being better indexed on search engines utilizing IndexNow.1 point
-
Hi everyone, is it possible to create a bundle containing products with a combination of the following: shoes ----> choose size and color socks ----> choose size and color shirt ----> choose size and color Will the bundle be priced at the total of the product prices? When purchasing, will the individual products be deducted? What happens if a customer purchases a single product from the bundle?1 point
-
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.1 point
-
Pour ceux qui cherchent à revenir sur la formule Offre Unique de base appelée "Offre Unique Grow": Compte O2S > Gérer mes Services > Sur la ligne "Offre Unique Cloud", allez complètement à droite sur les 3 petits points et sélectionnez "réajuster l'offre" et là vous pourrez reprendre l'ancienne formule "Offre Unique Grow". A savoir qu'à partir de l'année prochaine le nom de domaine ne sera plus inclut dans la formule "Offre Unique Grow". Donc 1.00€ en moyenne en plus par mois. Si vous gardez l'offre qu'ils vous proposent "Offre Unique Cloud": Vous pouvez si vous le désirez prendre l'offre sur 3 ans en cliquant 2 fois sur le flèche à droite de la proposition de renouvellement. Ce qui revient à 9.00€ht au lieu de 16.00€ht mensuel, soit 324.00€ht (252.00€ d'économie, pour faire passer la pilule) Vous y gagnez un support technique Niveau 2 Prioritaire 24/24 7/7 et le TigerGuard. Par contre il faudra sortir 388.80€TTC d'un coup, ou si j'ai bien vu, paiement en 3 fois sans frais. La machine de la formule "Offre Unique Cloud" est plus puissant mais la plupart des sites de vitrine ou site E-commerce de bases n'en ont pas besoin. Après une demande d'analyse au près de O2S des ressources utilisées, un des site e-commerce mis en place avec 30 à 50 commandes par jours peut rester sans soucis sur la formule "Offre Unique Grow". Il est vrai que mettre tout le monde sur l'offre à 16€, sans analyse d'O2S des ressources utilisées par le compte, est un peu radical. Mais c'est à vous de voir.1 point
-
Well, this post is to validate that the "New members" group has been activated. As you can see, first content of a new members will have to validated, and this is made clear to them with a red message. After some time and approved content, a rule is set to move new members into the regular "Members" group. This way of welcoming new members has been made mandatory because of the regular spam or troll attack on the forum. This way, it is very easy to identify new users that are coming here to make noise, instead of being part of the community. Please note that this is currently a common way to manage new users on many forums, Facebook groups, and other online communities. Current version of Invision forums allow to set automatic rules, please expect that they will be use to give more power to the user, to report and block bad content and bad members, for the benefit of the community 😉1 point
-
1 point
-
Yes, you must done this change. Please, comment with your results.1 point
-
It seems that the attachment on my previous post didn't worked... I'm pasting here the code of the script: #!/bin/sh # Prestashop product edition using webservice. # V: 1.0 # D: 7 Oct, 2011 # Author: Jorge Solla (jorgesolla (A T) gmail (D O T) com) # WARNING!!!!!!: Before using this script, you *MUST* create a config.inc file with your shop parameters containing the following vars: # WS_KEY=<YOUR PSHOP WEBSERVICE KEY> # BASEURL=http://MYSHOP.COM/prestashop/api # Get configuration params source ./config.inc if [ $# -lt 2 ] then echo "Usage: $0 <PSHOP_ID> [ACTIVE=1/0] [QUANTITY=value] [PRICE=value] [WPRICE=value] [REFERENCE=value] [DESC=\"value\" NOTE: double quotes!!] "; echo "Example: $0 1234 ACTIVE=0" echo "Example: $0 1234 STOCK=500" exit 1; fi # Evaluate all parameters PCOUNT=0 for param in $* do # Param 0 doesn't need evaluation -> Product ID in PS if [ $PCOUNT -gt 0 ] then eval $param fi # Inc param count ((PCOUNT++)) done; # Get product ID from first param ID=$1 # Retrieve current product on PRESTASHOP CURL_REPLY=$( curl -s -u "$WS_KEY:" $BASEURL/products/$ID ) if [ $? -gt 0 ] then echo "Error: Curl was unable to connect to PS webservice" exit 1 fi # Get reply length: When we request a non-existent product, prestashop returns OK but NO data LENGTH=${#CURL_REPLY} if [ $LENGTH -eq 0 ] then echo "Error: Product ID [$ID] does not exist" exit 1 fi # Search for errors on the reply RESULT=$(echo "$CURL_REPLY" | grep "error") LENGTH=${#RESULT} if [ $LENGTH -gt 0 ] then echo "PS WEBSERVICE: Error detected fetching product ID [$ID]. Unable to continue."; exit 1 fi # Prestashop requires to delete some keys from the product XML to use it as an update XML XML=$CURL_REPLY XML=$(echo "$XML" | xmlstarlet ed -d '/prestashop/product/position_in_category') XML=$(echo "$XML" | xmlstarlet ed -d '/prestashop/product/id_default_combination') XML=$(echo "$XML" | xmlstarlet ed -d '/prestashop/product/id_default_image') XML=$(echo "$XML" | xmlstarlet ed -d '/prestashop/product/manufacturer_name') echo -n "Setting new values: " # Insert new values into fields if [ -n "${ACTIVE+x}" ] then echo -n "ACTIVE=$ACTIVE | " XML=$(echo "$XML" | xmlstarlet ed -u "/prestashop/product/active" -v "$ACTIVE") fi if [ -n "${QUANTITY+x}" ] then echo -n "QUANTITY=$QUANTITY |" XML=$(echo "$XML" | xmlstarlet ed -u "/prestashop/product/quantity" -v "$QUANTITY") fi if [ -n "${PRICE+x}" ] then echo -n "PRICE=$PRICE |" XML=$(echo "$XML" | xmlstarlet ed -u "/prestashop/product/price" -v "$PRICE") fi if [ -n "${WPRICE+x}" ] then echo -n "WHOLESALE_PRICE=$WPRICE |" XML=$(echo "$XML" | xmlstarlet ed -u "/prestashop/product/wholesale_price" -v "$WPRICE") fi # Create a tmp file to update the article (Create a PUT file for CURL) ARTICLE_DATA_FILE=$(mktemp) echo -e "$XML" > $ARTICLE_DATA_FILE # Update product CURL_REPLY=$( curl -s -u "$WS_KEY:" -i -H "Content-Type:application/x-www-form-urlencoded" -X PUT -T "$ARTICLE_DATA_FILE" $BASEURL/products/$ID ) # Check CURL return status if [ $? -gt 0 ] then echo "Error: Curl was unable to PUT the modified product" # Delete TMP file before quitting rm $ARTICLE_DATA_FILE exit 1 fi # Delete TMP file rm $ARTICLE_DATA_FILE # Search for errors on the reply RESULT=$(echo "$CURL_REPLY" | grep "error") LENGTH=${#RESULT} if [ $LENGTH -eq 0 ] then echo " -> OK"; exit 0 else echo "" echo "Error: PS Returns error while updating ID [$ID]"; echo "$CURL_REPLY" exit 1 fi1 point
.png.022b5452a8f28f552bc9430097a16da2.png)