Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 12/17/2020 in all areas

  1. 1 point
    That playing with the root sounded very dirty to me. Doing that kind of operations without understanding why it had become that way is always very risky. Unserialize is a very simple function that converts json into a nested array. So you can just look at position 279465 and you will find a clue. You could also try running the Prestools Integrity Checks. It might give some clues.
  2. 1 point
    This module has been reported to the PrestaShop security: it has not been updated for a long time and contains some security issues. For this reason, the zip file has been removed and this disclaimer has been added. The topic will stay available for archival purpose. its been a while since i didnt share a module, well try this one and hopefully you like it. at first i want to put this module as a comercial one, since my submision takes a lot of time to be approved, and after sometimes the prestateam declined this module, then i decided to go as a free modules. And hope that if people like this module then they maybe will donate some to support me.... now you can manipulate your server file and/or folder right from you shop back office. comes with alot of features to made your life easier when you try to manage your shop. edit theme, tweak and/or hack something, even making a new module. with this module you can create new file/folder, upload file, view/edit file, rename/copy/move/delete/backup file or folder and you can change permission of files/folders. some cool features on this module * using onscreen popup to made easier when you manipulate the file. * syntax highlight, line numbering and wordwrap when you go on edit mode. * recrusive copy/move/delete file/folder. * icon for 30 filetypes (.php, .css, .js, .tpl, .html, .htm, .jpg, .jpeg, .gif, .png, .pdf, .swf, .fla, .zip, .rar, .doc, .docx, .xls, .csv, .mdb, .ppt, .sql, .exe, .xml, .avi, .mpg, .mov, .divx, .wav, .mp3) * and many more.... still at early version so any bug and sugestion please share & discuss in here WARNING: this module is a thankyouware so say thank you is a must and send some donation is a hope
  3. 1 point
    A fast loading website is the goal of every shop owner, as a slow website can lead to a long list of issues, from disappointed customers who lose patience and abandon their cart, to an overloaded server that stops working, and search engines penalizing your site's ranking due to speed. After helping countless PrestaShop sites optimize and increase their speed, including adding timers around different parts of PrestaShop and analyzing what is taking long and why, we have decided to share our obvious and no-so-obvious findings, and help the entire PrestaShop community. Caching & CCC PrestaShop has several layers of caching, we'll start with the ones on the Performance page * Smarty (Template compilation) Should be set to "Recompile templates if the files have been updated" - This will make sure PrestaShop uses smarty cache at all times, and only recompiles a file if it was changed. * Cache (Caching type) Should be turned on, with File System selected. * CCC (Available on certain PS version) We recommend turning OFF Minify HTML and Compress inline JavaScript in HTML - We noticed PrestaShop was spending a long time (sometimes several seconds) when these features are enabled, which means that any benefit from the compression is more than negated by the slow speed. * Ciphering (Available on certain PS versions) We recommend selecting the "Use the custom BlowFish class" - We found that when the server load was high, saving a cookie on the client side with Mcrypt was taking up to several seconds (due to an issue with randomly encrypting the cookie). Switching to blowfish kept the cookie saving time to a few miliseconds. * Caching (Bottom of the performance page) We recommend turning OFF, as we have seen this feature cause more trouble than offer benefit, with module settings not being updated, and other unexpected behavior. * Install a server side caching system, such as OPCache, you would have to check with your hosting provider to see if it's available, and if they can activate it on your website (You may need to reset the cache after making changes to PHP files, in order for the changes to apply right away. Email * SMTP We highly recommend NOT using a 3rd party SMTP server, we have seen speeds of up to 3-5 seconds sending a single email using a 3rd party SMTP server. * PHP mail() We recommend using this option, however, even with this option selected, we noticed that some versions of PrestaShop had a slow send time (1-2 seconds) due to the Swift version that was installed. If you are using PS 1.5, or even an early version of PS 1.6, you may want to make sure sending emails is not taking a long time (Normal time should be around 0.2 seconds.) Modules / Customizations * Shipping / Tax If you are using any 3rd party modules or services, such as UPS, FedEx, TaxCloud or Avalara, PrestaShop will make API calls whenever a product is added to the cart, and even if they have proper caching in place to avoid making the same API request more than one time, it will still require an API for each new product added, and can take several seconds to do so. Whenever possible, use fixed shipping rates, and if you must use those 3rd party services, we recommend making changes to only calculate taxes and shipping when the customer gets to the checkout page. * Carousel If you are using a product carousel module or customization, or similar upsell / product recommendation that is reading product information to display it, make sure they are using a caching system to avoid doing identical calls to the database that return the same data, and take a long time to run. If you are not sure about their caching, ask the developer, or try to disable the module and compare page speed. Database * Analyze & Repair Databases can get corrupted at times, which will result in queries taking longer. It is recommended to periodically check and repair your database tables, this can be easily done from PHPMyAdmin, by selecting all the tables, and choosing the "Check" option at the bottom. If you see any tables with errors, select them and choose the "Repair" option. * Connections PrestaShop keeps visitor information for statistic purposes in 3 tables, and actively queries ps_connections before writing to it, which can take a long time if the tables gets really big, that in turn can lock up the database, and delay the time it takes for the page to load for all the visitors. We recommend backing up and clearing this table once a year, or sooner for sites with a large number of visitors (Try keeping the table size to less than 500,000 records). ReCaptcha * Google ReCaptcha We noticed a substantial slowdown in the time the front end page finishes loading (sometimes taking 5-7 seconds). We recommend restricting the ReCaptcha code to a specific page (like contact form) rather than enable it for all page loads (in case there's a newsletter signup form in the footer). Miscellaneous * Debug Profiling There could be other things that cause your website to be slow, and the best way to get more information and identify the culprit is by enabling the Debug_Profiling variable in /config/defines.inc.php (Change from "False" to "True". This will generate a report in the front end with exact timing of every part in PrestaShop, including every Database query. You will have to inspect the report and identify any parts that are slow. Keep in mind that this will show up for all visitors, so make sure you only change it for your IP address, unless you are working on a development environment. For the latest updates to the list, see https://www.presto-changeo.com/content/23-tips-on-how-to-speed-up-your-prestashop-website
  4. 1 point
    Many Thanks to he solve it by changing Change : #products .products, .featured-products .products, .product-accessories .products, .product-miniature .products { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; to #products .products, .featured-products .products, .product-accessories .products, .product-miniature .products { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: center; the issue is : justify-content: flex-start; change it to justify-content: center; many thanks
  5. 1 point
    Tak, wygenerować później zdjęcia dla tego formatu i wyczyścić cache przeglądarki oraz pamięć podręczna w sklepie.
  6. 1 point
    Si vas a cambiar el TPV, mejor haz esto primero. Hay algunos TPVs que ya te ofrecen módulos para PrestaShop. Si no tienen módulo para conectar con PS, los archivos que te pasen serán diferentes y tendrás que volver a cambiar el script. Así que si estás pensando en cambiar, yo haría eso primero. Para usar el script, básicamente crea un archivo PHP con el siguiente contenido (este es solo para productos simples, sin combinaciones): loadProductsPost(); $import=new AdminImportController(); $import->productImport(); function loadProductsPost() { $_POST = array ( 'tab' => 'AdminImport', 'truncate'=>'0', // Eliminar todas las productos antes de importar 'forceIDs' => '0', // Si activas esta opción, los números ID de tus objetos importados se utilizarán tal cual. Si no la activas, se ignorarán los números de ID importados y, en su lugar, PrestaShop creará números de ID que se incrementarán automáticamente para todos los elementos importados. 'skip' => '0', // líneas a saltar del csv 'csv' => ARCHIVO_DESTINO, // nombre del archivo csv a importar 'convert' => '', 'regenerate' => '0', // 0: regenera miniaturas | 1: no regenera miniaturas 'entity' => '1', // Productos = 1 'iso_lang' => 'es', 'match_ref' => '1', // Si está activado, ¡la referencia del producto TIENE que ser única! 'separator' => DELIMITADOR_CAMPOS_CSV, // separador de campo 'multiple_value_separator' => ',', // separador de valor múltiple 'import' => '1', 'type_value' => array ( 0 => 'reference', 1 => 'name', 2 => 'category', 3 => 'id_tax_rules_group', 4 => 'ean13', 5 => 'available_for_order', 6 => 'online_only', 7 => 'show_price', 8 => 'condition', 9 => 'customizable', 10 => 'uploadable_files', 11 => 'text_fields', 12 => 'is_virtual', 13 => 'shop', 14 => 'manufacturer', 15 => 'date_add', 16 => 'active', 17 => 'image', 18 => 'image_alt', 19 => 'delete_existing_images', 20 => 'minimal_quantity', 21 => 'unity', 22 => 'unit_price_ratio', 23 => 'quantity', 24 => 'wholesale_price', 25 => 'price_tex', 26 => 'unit_price'), ); } En la función, es donde tendrás que hacer los ajustes necesarios para que funcione con tus archivos y los campos que le pasas. Yo envío esos campos, pero puedes borrar o añadir otros. Los valores a configurar tienen comentarios explicando para qué son. Si te lías con esto quizá sea mejor que hables con alguna programadora o programador que te lo personalice.
  7. 1 point
    Doch auf jeden Fall, die ersten Hauptversionen haben immer einige Fehler, eigentlich sollte man vor den Produktiveinsatz ein paar Upgrades abwarten.
  8. 1 point
    Hallo Für unseren letzten Kunden haben wir verwendet: https://addons.prestashop.com/de/export-modules/50075-idealo-feed-exporter.html#overview Wir haben das Modul selbst modifiziert, nachdem wir es gekauft haben! Wir haben dieses Modul nach gefunden! https://help.prestalia.it/de/documentation/idealo/installation-3/ Ich hoffe, es hilft!
  9. 1 point
    AS @El Patron stated this is a server issues. It would great for you to understand how many concurrent connections your host package can have. This can be a good ort a bed sign The good part is - if you reached the high top of your connections thanks to too many visitors The bad part - somebody is spoofing your site/using a crawler. Report this to host, and ask them for clarifications.
  10. 1 point
    Hi, I had two security checks running. One was done by my hosting provider --> everything ok The other was done by a prestashop module --> found two suspicious files, one was definitely a false alarm, but the second file seems strange according o the module developer But my hosting provider says, everything is fine. I deleted the weird looking file to see what will happen. The next day there is a similar file at the exact same spot in my public_html directory. I attached a partial screenshot. I changes all the passwords. What else can I do? I am not even sure if this is a malicious file or not. The file looks like this (changed the domain name for security reasons): mydomain.com_1609704539.php I am not a developer. Any help would be very appreciated. I am running prestashop 1.7.7.0.
  11. 1 point
    Mi web de un momento a otro se cayo y sale este error //CODE MODULES PRESTEAMSHOP - PLEASE NOT REMOVE //-------------------------------------------------------------------------------------------------------- smartyRegisterFunction($smarty, "modifier", "escape", "escapePTS"); function escapePTS($string, $esc_type = "html", $char_set = null, $double_encode = true, $as_html = false) { $smarty_escape = SMARTY_PLUGINS_DIR."modifier.escape.php"; include_once $smarty_escape; if (!$as_html && is_callable("smarty_modifier_escape")) { $string = call_user_func("smarty_modifier_escape", $string, $esc_type, $char_set, $double_encode); } return $string; } //-------------------------------------------------------------------------------------------------------- No se a que se debe, por favor si alguien me ayuda! Prestashop 1.6.0.14
  12. 1 point
    Bonjour J'ai un probléme similaire je pense J'ai mis par exemple 10 photos dans ma page produit et attribué par exemple 3 déclinaisons mais lorsque j'assimile mes photos a mes déclinaisons, sur le site je ne vois plus que les photos de déclinaisons, il n'y a plus toutes les photos du départ (qui sont normalement en dessous de la photo et on peut les faire défiler), quelqu'un peut m'aider? Est ce un bug car avant je n'avais pas de souci, je suis sous 1.7.5.1 Merci d'avance de vos réponses et votre aide
  13. 1 point
    Hi, the search fields are empty, because you are still in the "reorder mode" of the form. Please press the "save position" button, at the top of the "Position" column, and then all the filtering options will be available. Kind regards, Leo
  14. 1 point
    Hi Diho, regarding the file that automatically re-appeared next day, the recommended is to ask your hosting support about this, as it could easily happen that it is created by some server security scanner, like some malware scanner. Maybe this could be related to your script : https://support.comodo.com/index.php?/Knowledgebase/Article/View/1229/113/debug-for-malware-scanning Kind regards, Leo
  15. 1 point
    Prueba a quitar el quick view. Si no recuerdo mal, Warehouse tenía ese problema en las versiones móviles porque aparece el quick view en el primer click simulando a la acción mouse hover del ratón. Saludos.
  16. 1 point
    Salut, En fait, il y a plusieurs modules qui font déjà la même chose, en voici un que j'ai utilisé il y a quelque temps: https://addons.prestashop.com/en/sizes-units/5628-product-properties-extension-sell-by-weight-lengthetc.html J'espère que cela aide à votre santé, Leo
  17. 1 point
    👍 http://www.htaccess-guide.com/ https://www.whoishostingthis.com/resources/htaccess/ https://httpd.apache.org/docs/current/mod/core.html
  18. 1 point
  19. 1 point
    Salut, deja met la version adequate de php par rapport a la version de Prestashop, ensuite je te conseil de mettre et de configuré OPCACHE -> https://www.technologies-ebusiness.com/langages/booster-drastiquement-performances-de-php cdt
  20. 1 point
    Něco jsem ve tvém eshopu již dělal, nebo radil. Toto vypadá na nějaký clean URL modul nebo přepsaný Dispatcher.php Když mi pošleš přístupy (do soukromé zprávy), rád se na to podívám ... zdarma 😉 Daniel Tengler
  21. 1 point
    No lo se, tendrás que mirarlo en addons, no conozco todos los módulos existentes. Visita también páginas de desarrolladores, línea gráfica,4webs,knowband, etc
  22. 1 point
    Merhabalar değerli PrestaShop kullanıcıları, Sizlere bu konumuzda N11, Gittigidiyor, Amazon (TR), ePttAvm, Trendyol ve SanalPazar gibi aktif pazaryerlerine tüm ürünlerinizi entegre etmeyi teklif ediyoruz. Entegrasyon sürecinden kısaca bahsedecek olursak PrestaShop alt yapılı sitenizde oluşturacağımız XML'i API'ye bağlayarak tüm pazaryerlerine entegre etmekteyiz. Kısaca özellikleri: Sınırsız ürün gönderimi Pazaryerleri arasında ürün çekme-gönderme işlemi Sınırsız mağaza Sınırsız kargo, fiş ve fatura çıktı alma Kategori eşleştirme XML ve Excel ile ürün yükleme Tüm siparişler tek panelde toplanmaktadır. Sistemimizin tek paket halinde aylık ve yıllık ücretleri bulunmaktadır. Detaylar için PM isteyiniz.
  23. 1 point
    "UPDATE" Nice trick El Patron Database is under 500mb now nearly half its old size,
  24. 1 point
    Bonjour, voici le lien pour contacter le support du module : https://addons.prestashop.com/contact-form.php?id_product=46347
  25. 1 point
    Hi guys, Since prestashop 1.5, virtual product combinations have been removed. Searching on the web, I have found a workaround for prestashop 1.5 and 1.6 but nothing for Prestashop 1.7.x . So here we are to make combinations working on virtual products on Prestashop 1.7.x: please note: paths with "adminXXXXXX" indicate your admin folder name that differs for each installation, so you will have different numbers and letters instead of X. This is not a module, follow the installation instructions: 1. in file adminXXXXXX\themes\default\js\bundle\product\form.js remove line 179: showVariationsSelector.hide(); replace line 182: showVariationsSelector.find('input[value="0"]').attr('checked', true); with: showVariationsSelector.show(); replace line 236: if ((showVariationsSelector.find('input:checked').val() === '1' || $('#accordion_combinations tr:not(#loading-attribute)').length > 0) && (typeProduct.val() === '1' || typeProduct.val() === '2')) { with: if ((showVariationsSelector.find('input:checked').val() === '1' || $('#accordion_combinations tr:not(#loading-attribute)').length > 0) && (typeProduct.val() === '1' /*|| typeProduct.val() === '2'*/)) { 2. in file adminXXXXXX\themes\default\js\bundle\product\product-combination.js remove line 94,95,96: if (combinationsList.length > 0) { productTypeSelector.prop('disabled', true); } remove line 206: productTypeSelector.prop('disabled', true); 3. create file adminXXXXXX\override\controllers\admin\AdminProductsController.php and write this into it: <?php class AdminProductsController extends AdminProductsControllerCore { } go to controllers\admin\AdminProductsController.php and copy the whole method processAdd(in my case from line 1707 to 1793) and paste it into line 4 of the previous file, the result will be something like this: <?php class AdminProductsController extends AdminProductsControllerCore { public function processAdd() { $this->checkProduct(); //some more code here..... return $this->object; } } last thing, replace this line: if (Configuration::get('PS_FORCE_ASM_NEW_PRODUCT') && Configuration::get('PS_ADVANCED_STOCK_MANAGEMENT') && $this->object->getType() != Product::PTYPE_VIRTUAL) { with: if (Configuration::get('PS_FORCE_ASM_NEW_PRODUCT') && Configuration::get('PS_ADVANCED_STOCK_MANAGEMENT') /*&& $this->object->getType() != Product::PTYPE_VIRTUAL*/) { 4. Clear the cache! Finish! Now you have working combinations for virtual products. If I helped you, feel free to offer me a coffe tested with Prestashop 1.7.5.1
  26. 1 point
    I hope at the end of next week. I am quite busy at the moment. And there is also order-edit that finally should get an upgrade so that it can handle discounts.
  27. 1 point
    ¿En Pago->Preferencias están marcados los métodos de pago para todas las monedas, grupos de clientes, países y transportistas que te interesan?
  28. 1 point
    Bonjour PierreVin, merci beaucoup pour l'information. Je testerai d'ici quelques semaines, mais pour l'instant je vais laisser ma boutique telle qu'elle est. Très bonne journée à vous, je vous tiendrai au courant.
  29. 1 point
    Hallo, ich würde gerne mal eine kleine Wissenssammlung für Kleinunternehmer aufstellen. Zahlreiche Neuankömmlinge sind Kleinunternehmer. Das Thema wird aber oft genug nur nebenbei behandelt. Die großen Player sind eben keine Kleinunternehmer. Also möchte ich mal folgende Punkte klären: Preisauszeichnung Impressum Piwik / Google analytics nutzen Newsletter Datenschutz Bestellvorgang Kleinunternehmer Hinweise Preisauszeichnung Die Preise dürfen nicht mit "inkl. MwSt" oder "excl. MwSt" deklariert werdenWeder auf der Übersichtsseite des Katalogs Noch auf der Detaillierten Produktseite KEINE MwSt. Hinweise auf der Rechnung.Auch nicht "Steuer: 0" etc! Keine Hinweise zur Steuer in den E-Mails!WICHTIG: Default steht in den E-Mails "Steuern: 0" z.B. Das muss man löschen Es muss ein Hinweis zu eventuell anfallenden Versandkosten angegeben werden Als Beispiel: "zzgl. Versandkosten"Der Text "zzgl. Versandkosten" muss so verlinkt sein, dass der Kunde beim Klick eine leicht lesbare und verständliche Auflistung der Kosten hat die für den Versand auf ihn zukommen Auch bei kostenlosen Versand muss der Hinweis dazu geschrieben werden.Also auch ein Text, nur eben als Beispiel "portokostenfrei" oder "Versandkostenfrei" etc. Dies muss ebenso verlinkt werden Sollten nur für bestimmte Länder kein Versand anfallen muss das deutlich deklariert werden Es muss bei jedem Preis ein Hinweis zu finden sein, dass hier ein Kleinunternehmer den Artikel anbietet. So, wie bei "normalen" Shops eben immer (oft) ein Hinweis auf "inkl. MwSt" zu finden ist.Es empfiehlt sich bei jedem Preis ein "*" zu setzen. Im footer, also immer sichtbar, sollte dann eine Erklärung dazu zu finden sein. Es bietet sich folgende Formulierung an: "*Gem. § 19 UStG wird die Mehrwertsteuer in der Rechnung nicht ausgewiesen.Alle Preise zzgl. Versandkosten" Das Wort "Versandkosten" oder "zzgl. Versandkosten" sollte als Link gesetzt werden. <span style="color:black;"> *Gem. § 19 UStG wird die Mehrwertsteuer in der Rechnung nicht ausgewiesen. Alle Preise zzgl. <a href="www.deineDomain.de/content/versandkosten" target="_blank">Versandkosten</a> </span> Dient nur als Beispiel. Impressum Es muss deutlich auf den Status des Kleinunternehmertums hingewiesen werden"Gem. § 19 UStG wird die Umsatzsteuer nicht ausgewiesen." Es muss zwingend immer angegeben sein, ob man am Streitschlichtungsverfahren teilnimmt oder nicht. Als Beispiel kann dieser Text verwendet werden "Zur Teilnahme an einem Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle bin ich nicht verpflichtet und nicht bereit." Es muss ein klickbarer Link zur Online-Streitschlichtung der EU vorhanden sein Als Beispiel: Nähre Informationen kann man sich z.B. hier beziehen: http://www.it-recht-kanzlei.de/hinweis-teilnahme-streitschlichtungsverfahren-immer-erforderlich.html Die notwendigen Pflichtangaben im Impressum einer Website sind im Telemediengesetz angeführt. Gemäß § 5 sind folgende Punkte zu berücksichtigen, wenn du ein Impressum erstellen und die Impressumspflicht erfüllen willst:Betreiber der Website Name des Unternehmens oder im Falle einer natürlichen Person als Betreiber die Angabe des Namens (Vor- und Nachname) Adresse Hierzu zählen der Namen des Unternehmens und die Anschrift der Niederlassung bzw. Sitz der Gesellschaft. Postfächer sind als Adressangabe nicht ausreichend. Im Impressum sind vollständige Adressdaten gefordert, um der Impressumspflicht zu genügen. Vertretung des Unternehmens Zur Impressumspflicht gehört die Angabe der vertretungsberechtigten Gesellschafter (bei der GbR, OHG Einzelunternehmer), Geschäftsführer (bei der GmbH) oder Vorstände (bei der AG) und, sofern Angaben über das Kapital der Gesellschaft gemacht werden, das Stamm- oder Grundkapital sowie, wenn nicht alle in Geld zu leistenden Einlagen eingezahlt sind, der Gesamtbetrag der ausstehenden Einlage. Kontakt im Impressum Wenn Sie das Impressum erstellen, gehört die Angabe von Telefon, Fax und Email zur Pflichtangabe im Impressum. Dies soll die uneingeschränkte Kommunikation mit dem Unternehmen gewährleisten. Aufsichtsbehörde als Pflichtangabe im Impressum Wenn Sie Dienste erbringen, die der Zulassung bedürfen, müssen Sie die für Sie zuständige Zulassungsbehörde im Impressum angeben, damit der Nutzer im Fall von Verstößen ihrerseits eine Anlaufstelle hat. Als Makler für Versicherungen müssen Sie beispielsweise die zuständige IHK angeben, wenn Sie das Impressum erstellen. Registereintrag Für einige Rechtsformen wie die GmbH, Genossenschaften oder Partnergesellschaften gehört die Angabe des Handels-, Vereins-, Partnerschafts- oder Genossenschaftsregister, in das das Unternehmen eingetragen ist und die entsprechende Registernummer, zu den Pflichtangaben im Impressum. Freiberufler mit Standeskammer Die Angabe der Standeskammer in der Sie als Freiberufler Mitglied sind, die Angabe der gesetzlichen Berufsbezeichnung, die Bezeichnung der berufsrechtlichen Regeln und wie diese zugänglich sind, zählen für Freiberufler zu den zusätzlichen Pflichtangaben im Impressum, damit die Impressumspflicht vollständig erfüllt wird. Umsatzsteuer-ID Auch die Angabe der Umsatzsteuer-Identifikationsnummer - sofern vorhanden - oder der Wirtschafts-Identifikationsnummer gehören in das Impressum auf der Website. Die Angabe der Steuernummer fällt nicht unter die Impressumspflicht und braucht nicht im Impressum aufgeführt werden. Muster Einzelunternehmer: Piwik / Google analytics nutzen Eine ausführliche Diskussion gibt es hier > https://www.prestashop.com/forums/topic/533920-google-analytics-rechtssicher-einsetzen/ Da aber viele User Lesefaul sind oder kein Geld (Zeit) haben die kurzform: Google Analytics muss die IP Anonymisieren Piwik muss die IP Anonymisieren. Also 32.123.xxx.xx Du musst mit Google für Google Analytics eine ADV Unterschreiben Genaueres hier > https://www.datenschutzbeauftragter-info.de/fachbeitraege/google-analytics-datenschutzkonform-einsetzen/ Du musst beim Einsatz von Piwik auf "deinem" Server mit dem Serverhoster auch eine ADV machen!Wurde im o.g. Thema Diskutiert. Du musst in der Datenschutzerklärung deutlich auf die Verwendung des jeweiligen Dienstes Hinweisen und dem Benutzer eine Möglichkeit geben dies zu deaktivieren. Newsletter Auch bei einem Newsletter muss ein Hinweis auf das Kleinunternehmertum vorhanden sein. Beachte hierbei bitte, dass es nicht reicht, die E-Mail Adresse des Kunden zu haben. Dieser muss dem Erhalt von Newslettern, also Werbung, ausdrücklich zustimmen. Bestellvorgang Es muss vor dem Abschluss der Bestellung genau auf die anfallenden Kosten hingewiesen werdenArtikelpreis Menge Gesamtpreis der Artikel Versandkosten Gesamtpreis Versandart Es darf auf keinen Fall die Angabe von Steuern in der Übersicht oder der Bestellung auftauchen. Auch nicht "0" oder "keine" etc. Kleinunternehmer Hinweise Als Kleinunternehmer muss man einiges beachten, was leider oft von größeren Anbietern vernachlässigt wird. Daher ist es wichtig hier immer etwas genauer auf die Kleinigkeiten zu achten. Der Beitrag spiegelt nur meine Meinung wieder. Es besteht keine Gewährleistung auf Richtigkeit oder Vollständigkeit. Der Beitrag kann und wird ggf. bearbeitet im Sinne einer Aktualisierung. Verbesserungsvorschläge und Erweiterungen sind gern gesehen.
  30. 1 point
    Zunächst mal ist Presta ja kein deutsches Produkt, die Kleinunternehmerregelung dagegen schon Du solltest einfach ohne Steuern arbeiten, also 0% und dann aber die Texte so anpassen, dass es rechtlich passt. Aber die Idee hast du ja schon, also ja, das sollte so hinhauen. Bis auf wenige Konstellationen sehe ich eigentlich keinen Vorteil in dieser Regelung. Ich kann keine Vorsteuer abziehen, Firmen kaufen bei mir nicht, also alles nicht so optimal. Das bringt es nur, wenn ich irgendwas verkaufe, das mich im Einkauf nichts kostet, und dann auch nur, wenn es an Privatleute geht.
  31. 1 point
    extraño, muy raro. pues falta que actives la depuración y vayas al ultimo paso del carrito a ver si sale algo
  32. 1 point
    Witam dziękuję za moduł paczkomaty 24/7 - wszystko działa sprawnie
  33. 1 point
    Bonsoir à tous, J'ai acheté le module de migration de WooCommerce en un Prestashop (Module MigrationPro: WooCommerce to PrestaShop Migration Tool). J'ai donc installé le module sur ma boutique Prestashop destinatrice, et le plugin connecteur sur le site WordPress. Or lors de la configuration du module de migration, sur la boutique Prestashop, j'ai l'erreur suivante " Please check URL - ". J'ai testé avec un site WordPress, en local, installé à l'instant, mais sans succès. NB : Pour moi, l'URL et le token sont bons. NB : Le Prestashop est vide de tout produits, module, etc. J'ai contacté le développeur. Je suis en attente de sa réponse. Merci de votre aide.
  34. 1 point
    Pour couper court à tout paiement pour un code ici gratuit, la marche à suivre pour le correctif: Editer votre fichier classes/Link.php (avec un éditeur digne de ce nom) Chercher la fonction getBaseLink Ajoutez les 3 lignes suivantes des le début de la fonction: static $force_ssl = null; is_null($force_ssl) && ($force_ssl = (Configuration::get('PS_SSL_ENABLED') && Configuration::get('PS_SSL_ENABLED_EVERYWHERE'))); $force_ssl && ($ssl = $force_ssl); Le code devrait ressembler à la fin à ceci public function getBaseLink($id_shop = null, $ssl = null, $relative_protocol = false) { static $force_ssl = null; is_null($force_ssl) && ($force_ssl = (Configuration::get('PS_SSL_ENABLED') && Configuration::get('PS_SSL_ENABLED_EVERYWHERE'))); $force_ssl && ($ssl = $force_ssl); if (Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE') && $id_shop !== null) { $shop = new Shop($id_shop); } else { $shop = Context::getContext()->shop; } if ($relative_protocol) { $base = '//'.($ssl && $this->ssl_enable ? $shop->domain_ssl : $shop->domain); } else { $base = (($ssl && $this->ssl_enable) ? 'https://'.$shop->domain_ssl : 'http://'.$shop->domain); } return $base.$shop->getBaseURI(); } Si vous éprouvez des difficultés d'implantation, ne pas hésiter à me contacter par MP, je demanderai seulement une dizaine d'euro pour le faire (10€)
  35. 1 point
    Peut-on construire une maison à 2 étages sans rez-de-chaussée ?
  36. 1 point
    bonsoir, j'ai fini par regler le problème, je donne ma solution : dans ma base de données, il manquait 2 champs dans la table ps_tab : je les ai rajouté avec la commandes suivantes. alter table ps_tab add column `route_name` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL; alter table ps_tab add column `enabled` tinyint(1) NOT NULL; puis j'ai fait la commande suivant qui visiblement active les menus update ps_tab set enabled=1;
  37. 1 point
    Bonjour Luis, visiblement le problème vient de votre thème. Dans les templates de la page produit, il faut absolument qu'il y a une balise HTML ayant pour ID "product-details" et un attribut "data-product" contenant toutes les indications sur la déclinaisons en cours (donc ça se rafraichit dès qu'on change de déclinaison). Votre thème n'a semble t'il pas cette balise. Je vous invite à vérifier et à contacter le développeur du thème pour lui demander de corriger cela.
  38. 1 point
  39. 1 point
    Para todos los amantes de Prestashop, os lanzamos un modulo gratuito para poder ver lo que nuestros visitantes hacen en nuestra tienda, y poder medir y analizar si tenemos algún problema de diseño Web, o problemas que afecten a las ventas finales. El modulo de Yandex metrica para Prestashop lo podéis descargar en https://www.digitaldot.es/yandex-metrica-gratis-para-prestashop/ Espero que os pueda ayudar para nosotros es imprescindible para medir y mejorar el CRO de una tienda Online
  40. 1 point
    I am trying to add a Product to Prestashop using WebService. So far he was able to create the product, assign it to its corresponding category and modify the stock without major problems, however, you will not be able to add an image to the product. I am based on this: https://github.com/xabikip/PrestaShopWebService/blob/master/examples/createProduct.php But I also tested the official documentation: https://devdocs.prestashop.com/1.7/development/webservice/tutorials/change_product_image/ Below is the code: $url = $url . '/api/images/products/' . $id_producto; $image_path = 'http://localhost/webservice/img/caja.jpg'; echo("<br>" . $image_path); echo("<br>" . $url); $ch = curl_init(); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_USERPWD, $key.':'); curl_setopt($ch, CURLOPT_POSTFIELDS, array('image' => '@'.$image_path.';type=image/jpg')); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); Is there any data that I am not taking into account, any data that is wrong?
  41. 1 point
    Hi, Did you try with the B2B shop option ? I have a module that does that it is for a job search website. You have job seeker account(Personal Account) and Employee account( Business Account, NFP Organization) . The module free, so you can use the code as you want :
  42. 1 point
    Or create custom hook and add to product-add-to-cart.tpl Module: <?php if (!defined('_PS_VERSION_')) { exit; } class my_module extends Module { public function __construct() { $this->name = 'my_module'; $this->tab = 'other'; $this->version = '1.0.0.0'; $this->author = ''; $this->author_email = ''; $this->author_website = ''; $this->bootstrap = true; parent::__construct(); $this->displayName = 'Add my text to product detail page'; $this->description = 'Module add my text to product page'; $this->confirmUninstall = 'Uninstall?'; $this->ps_versions_compliancy = array('min' => '1.7.0', 'max' => '1.7.6.9'); $this->default_lang = (int)Configuration::get('PS_LANG_DEFAULT'); } public function uninstall() { $id_hook = Hook::getIdByName('displayMyProductActions'); $hook = new Hook($id_hook); $hook->delete(); if (Shop::isFeatureActive()) { Shop::setContext(Shop::CONTEXT_ALL); } if (!parent::uninstall()) { return false; } return true; } public function install() { if (Shop::isFeatureActive()) { Shop::setContext(Shop::CONTEXT_ALL); } if (!parent::install()) { return false; } if (!$id_hook = Hook::getIdByName('displayMyProductActions')) { $hook = new Hook(); $hook->name = 'displayMyProductActions'; $hook->title = 'My new hook'; $hook->description = 'This is a custom hook!'; $hook->position = 1; $hook->add(); // return true on success } $this->registerHook('displayMyProductActions'); return true; } public function hookDisplayMyProductActions($params) { $id_product = Tools::getValue('id_product'); $my_query = Db::getInstance()->getValue('SELECT my_value FROM'._DB_PREFIX_.'my_table WHERE id_product = '.$id_product); if ($my_query){ return '<span class="my-variable">'.$my_query.'</span>'; } else { return ''; } } } HOOK in product-add-to-cart.tpl: {hook h='displayMyProductActions' product=$product}
  43. 1 point
    Hello devs, todays quick tip from me is how to move products not available for order to the end of search results. I am working 1.6 but I think that is similiar to 1.7. I am not making overrides, I will just tell You how to set this up. I was annoyed that I have all not available for orders products at the end of categories but in search results thing was bit more complicated and lot of old products not available for order were somewhere at the begining. Solution to this is quite simple. In Search.php in override\classes\Search.php or classes\Search.php search for "public static function find" and in this try to find something like this: SELECT SUM(weight) FROM '._DB_PREFIX_.'search_word sw LEFT JOIN '._DB_PREFIX_.'search_index si ON sw.id_word = si.id_word WHERE sw.id_lang = '.(int)$id_lang.' AND sw.id_shop = '.$context->shop->id.' AND si.id_product = p.id_product AND ('.implode(' OR ', $score_array).') ) position'; and just simply replace the first line of it with this SELECT SUM(CASE WHEN p.available_for_order = 1 THEN weight ELSE 0 END) FROM '._DB_PREFIX_.'search_word sw LEFT JOIN '._DB_PREFIX_.'search_index si ON sw.id_word = si.id_word WHERE sw.id_lang = '.(int)$id_lang.' AND sw.id_shop = '.$context->shop->id.' AND si.id_product = p.id_product AND ('.implode(' OR ', $score_array).') ) position'; and now You will have all not available products in search results at then end. Now You know how to edit this as well to move products with stock_quantity <= 0 at the end. Try it to figure it out for yourself If You will figure out few more good ideas about it feel free to share it here. For more cool things about Prestashop Search engine go to ->
  44. 1 point
    Hello guys, I see that lots of PrestaShop 1.7 users are facing this issue. It may have different reasons: As mention earlier, the "config.yml" file or folder might be missing. Go to your theme zip file, check if there's a folder called "config", a file called "config.yml" should be inside this folder. If you don't see the config folder or config.yml file, you may need to contact theme developer. The other reason might be multiple-zip-files inside each other. Sometimes your theme ZIP file contains other zip files for different PS versions or etc. If so, you need to extract it and upload the correct one. The correct zip file should contain the main theme files and folders like "assets, config, dependecies,...". A bug in PrestaShop 1.7 with ZIP files! Yes there's an issue (check here) in PrestaShop (at the time I'm writing this post, the latest version is PS 1.7.6.4) with ZIP files. You may check your theme zip file and see there is no problem with the config file or folder and there are no other zip files inside your theme zip file as well but you still get this error. A lot of theme developers use Windows for their development workspace and do their development using XAMPP or WAMP softwares. When they finish development, they click on "Export Current Theme" and PrestaShop generates a ZIP file automatically inside theme folder. Here the issue appears, if you upload this file in anyway, you'll get "PrestaShop\PrestaShop\Core\Domain\Theme\Exception\ThemeConstraintException code 2" error. It is caused since PrestaShop allows only "application/zip file type" but when you export the theme inside Windows it is generated in "application/x-zip file type". To solve this issue (Issue No. 3): First of all, you need to download "7-zip" software. Download and install the right version based on you OS type. Extract your theme zip file in somewhere on your computer. Select the extracted files, right click on them, go to "7-Zip" menu and click on "Add to archive...". Define a name for it like "theme.zip" and click OK button (Do not remove the .zip extension and do not use Spaces in you file name. You can use the dash (-) character instead. E.g: my-theme.zip). Now upload the zip file that is generated by 7-Zip into your shop. The problem is solved Enjoy your new theme!
  45. 1 point
    Для 1.7.6 я вносил изменения в БД таблица ps_currency значение precision поставить 0
  46. 1 point
    @Vidar Bjerkeland If you got an HTTP error 500, I would suggest that you enable the debugging mode to find the actual error message. There are 2 ways to enable debugging mode: The first method to enable debugging mode (if you are able to access the back office / admin page) 1) Log into the back office - > Go to Advanced Parameter -> Debug mode 2) Then enable the debug mode -> Yes 3) Save it The second method to enable debugging mode (if you are not able to access the back office / admin page) 1) Go to your root prestashop installation directory and edit this PS config file : /public_html/config/defines.inc.php 2) Using editor with a line number, at the line 29 you will see the following code: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', false); } change the false to true like below: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', true); } 3) Save it. After enabling the DEBUG Then, go back to the page that trigger the blank page or internal error 500. There must be some error messages that will appear and from there you can share the error message for us to help. Another important thing is, if your shop is not ready for live production, then do not enable the cache option at the back end because when u try to make some changes, it might break something like having blank page, cache files that conflicts with another module, etc. I think by default it is enabled. it is not recommend to enable cache setting if the shop is in development status or not ready for live production. Sometimes blank page problem can be problem with the server configuration like file permissions but the common problem in prestashop is due to the the PS cache that needs to be cleared or disabled. Let's say that you are not able to disable the cache option at the backoffice because of the blank page, then you have to manually disable it through mysql database. To disable the cache manually: 1) Go to your SQL database management like phpmyadmin, find the table that says something like PS_CONFIGURATION or *_CONFIGURATION 2) Find a field called PS_SMARTY_CACHE and put the value as 0 and PS_SMARTY_CLEAR_CACHE put the value as everytime 3) Save it and try reload the blank page.
  47. 1 point
    Ca dépend de chaque cas. Un module qui ne s'affiche pas c'est soit qu'il n'est pas configuré correctement, soit qu'il a des restrictions (Groupes, pays, clients, monnaie, etc...)
  48. 1 point
    Hi, The current_state field from webservice has PS_OS_WS_PAYMENT as default value. To change it I had to override the Order Class. In the second parameter of the function validateOrder you specify the current_state value. public function addWs($autodate = true, $null_values = false) { /** @var PaymentModule $payment_module */ $payment_module = Module::getInstanceByName($this->module); $customer = new Customer($this->id_customer); if($this->module=="cashondelivery") $payment_module->validateOrder($this->id_cart, Configuration::get('PS_OS_PREPARATION'), $this->total_paid, $this->payment, null, array(), null, false, $customer->secure_key); elseif($this->module=="bankwire") $payment_module->validateOrder($this->id_cart, Configuration::get('PS_OS_BANKWIRE'), $this->total_paid, $this->payment, null, array(), null, false, $customer->secure_key); else $payment_module->validateOrder($this->id_cart, Configuration::get('PS_OS_WS_PAYMENT'), $this->total_paid, $this->payment, null, array(), null, false, $customer->secure_key); $this->id = $payment_module->currentOrder; return true; } Hope it helps!
  49. 1 point
    O código dos Correios mudou novamente? Porque minha loja voltou a dar o problema de "não há transportadoras para esse CEP"
  50. 1 point
    Solved deleting browser cache with Control + F5
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More