Jump to content


Popular Content

Showing content with the highest reputation since 01/18/2020 in Posts

  1. 10 points
    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
  2. 6 points
    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€)
  3. 4 points
    I suppose it has to do with the folder name generated by github. It needs to be pdrecaptcha. For simplicity, I have created ready zip file to upload and install: https://github.com/hamsn/pdrecaptcha/blob/with_customer_reg/pdrecaptcha.zip Download the file above and try it. Best regards.
  4. 4 points
    -> OK, je viens de trouver, ça fait parti des options bien planqué dans la configuration du module "formulaire de contact". Pas très logique de répartir les options sur la page SAV, sur la page Contact et sur la conf du module...
  5. 3 points
    Hello everyone, I am learning creating Prestashop modules and I made this module in my free time. Feel free to use or share it. If you find any bugs or you think you have a good idea how to improve the module you can type it here. Also you can find instructions in attached PDF on how to use the module. Module attaches selected categories as a block in homepage. You can specify which categories you want to show and it shows the first 6 products in the category. For each category block you can specify accent color and upload a custom image. Important! Tested only on version Here are some marketing goodies I made Enjoy! mslt_cblocks.zip instructions.pdf
  6. 3 points
    Hi, Today we had big attack to our websites Prestashop 1.5 version. Malware creates xsamxadoo.php file in the root of webshop. We already deleted all /phpunit files from the websites since January to avoid this attack but still somehow attackers were succesful. We are suspecting module explorerpro where is file action.php - see attachment which allows to adding files to our website Have anybody experience the same issue? We had this module in our website for a long time and never got attack through this module. action.php
  7. 3 points
    Siguiendo la misma línea de trabajo del módulo de trinkinho para PS 1.5 y 1.6, he adaptado el módulo original que trae PS ps_wirepayment (v2.0.4) y le he copiado el código de trinkinho (bankwire_discount) para que ofrezca también descuentos en 1.7.1 y 1.7.2 como ps_wirepaymentdiscount. La única modificación a su código que he hecho es aplicar el descuento en la validación SOLO a los artículos ANTES de aplicarle los impuestos. Es decir, en vez de aplicar el descuento al total del carro de la compra (Cart::BOTH) lo he aplicado sólo a los artículos sin impuestos ni gastos de envío y/o manipulación (Cart::ONLY_PRODUCTS). Adjunto el módulo. Si te gusta, dame un Like ps_wirepaymentdiscount.zip
  8. 3 points
  9. 3 points
    Hola a todos, estoy haciendo unos módulos que trabajan con el webservice de Prestashop y me he dado cuenta que no utiliza todos los recursos y todas las classes que tiene el Prestashop, algo incomprensible, pero así es, faltan opciones para poder añadir o modificar datos. Adjunto el fichero webservice modificado, se debe copiar en /override/classes/webservice Se ha añadido la posibilidad de ver imágenes -> api/imagenes --> api/imagenes/#### (aqui la url no es correcta hay que usar el ID) Añadido ver información de imagen individual -> api/imagen/### Se ha dejado lo de image -> /api/images/products --> api/images/products/### --> api/images/products/###/#### ----> para leer la imagen y verla También se ha añadido 'order_discounts' --> Para usar los descuentos de los pedidos 'order_cart_rules' --> Para usar las reglas de descuentos de los pedidos Recordad después de subir el fichero, dar los permisos dentro de backoffice -> webservices -> vuestra API , saldrán nuevas opciones de activación WebserviceRequest.php
  10. 3 points
    * nGinx v1.16.1 * Linux CentOS 7 * PHP 7.2.27 (FastCGI FPM) After struggling to get the latest release ( up and running on nGinx I finally have it working. Both the admin and shop. Enjoy! Please comment when you have issues. I tested it quite a bit but nothing is perfect. server { # Port 80 IPv4/6 # listen 80; # listen [::]:80; # SSL Ipv4/6 listen 443 ssl; listen [::]:443 ssl; # Your SSL Certificates, don't forget to take a look at Certbot (https://certbot.eff.org) include /etc/nginx/ssl_params.conf; ssl_certificate "/your-certificate.pem"; ssl_certificate_key "/your-private-key.pem"; ssl_trusted_certificate "/certificate-chain.pem"; # [REQUIRED EDIT] Your domain name goes here server_name <your domain name>; error_log /var/log/nginx/prestashop.error_log; # [REQUIRED EDIT] Absolute path to your website root on the filesystem root /home/vhost/<your domain name>/shop; index index.php index.html; # to control the amount that can be uploaded. client_max_body_size 50M; # set admin folder name set $admin_dir /<admin_folder_name>; #Example: admin245tm20au location ~ /admin.*/(sell|api|common|_wdt|modules|improve|international|configure|addons|_profiler|product|combination|specific-price)/(.*)$ { try_files $uri $uri/ /index.php?q=$uri&$args $admin_dir/index.php$is_args$args; } # Cloudflare / Max CDN fix location ~* \.(eot|otf|ttf|woff|woff2)$ { add_header Access-Control-Allow-Origin *; } # Do not save logs for these location = /favicon.ico { log_not_found off; access_log off; } location = /robots.txt { auth_basic off; allow all; log_not_found off; access_log off; } location / { # Redirect pretty urls to index.php try_files $uri $uri/ /index.php?$args; # Images rewrite ^/([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$1$2$3.jpg last; rewrite ^/([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$1$2$3$4.jpg last; rewrite ^/([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$1$2$3$4$5.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg last; rewrite ^/c/([0-9]+)(-[.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+.jpg$ /img/c/$1$2$3.jpg last; rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+.jpg$ /img/c/$1$2.jpg last; # AlphaImageLoader for IE and fancybox rewrite ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 last; # Web service API rewrite ^/api/?(.*)$ /webservice/dispatcher.php?url=$1 last; } # Allow access to the ACME Challenge for Let's Encrypt location ~ /\.well-known\/acme-challenge { allow all; } # Block all files with these extensions location ~ \.(md|tpl)$ { deny all; } # File security # .htaccess .DS_Store .htpasswd etc location ~ /\. { deny all; } # Source code directories location ~ ^/(app|bin|cache|classes|config|controllers|docs|localization|override|src|tests|tools|translations|travis-scripts|vendor|var)/ { deny all; } # Prevent exposing other sensitive files location ~ \.(yml|log|tpl|twig|sass)$ { deny all; } # Prevent injection of php files location /upload { location ~ \.php$ { deny all; } } location /img { add_header Cache-Control public; expires 1d; location ~ \.php$ { deny all; } } location ~ \.php$ { # Verify that the file exists, redirect to index if not try_files $fastcgi_script_name /index.php$uri&$args; fastcgi_index index.php; include fastcgi_params; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_pass unix://var/run/php-fpm/php-production.sock; } }
  11. 3 points
    Mahmut Bey'in yukarda bahsettiği seçenek,'te AnaDizin/pdf/invoice.tax-tab.tpl dosyasında 70-72. satır aralığındadır: <td class="center white"> {$line.rate} % </td>
  12. 3 points
    Le "urgent" sert à quoi ? Quelle est votre version Prestashop ? Quels sont les bugs ? Il n'est pas forcément nécessaire de changer de voiture quand on a un pneu crevé^^
  13. 3 points
    Ok I find the solution: Change validate.php in /classes/ public static function isCustomerName($name) { $validityPattern = Tools::cleanNonUnicodeSupport( '/^0-9(?:[^!<>,;?=+()\/\\@#"°*`{}_^$%:¤\[\]|\.。]|[\.。](?:\s|$))*$/u' ); return preg_match($validityPattern, $name); } To public static function isCustomerName($name) { $validityPattern = Tools::cleanNonUnicodeSupport( '/^(?:[^!<>,;?=+()\/\\@#"°*`{}_^$%:¤\[\]|\.。]|[\.。](?:\s|$))*$/u' ); return preg_match($validityPattern, $name); } After: You must have change 2 files: in: src/Core/Domain/Customer/ValueObject/ There is 2 files : FirstName.php LastName.php change : private function assertLastNameIsValid($lastName) { $matchesLastNamePattern = preg_match('/^[^0-9!<>,;?=+()@#"°{}_$%:¤|]*$/u', stripslashes($lastName)); if (!$matchesLastNamePattern) { throw new CustomerConstraintException( sprintf('Customer last name %s is invalid', var_export($lastName, true)), CustomerConstraintException::INVALID_LAST_NAME ); } By: private function assertLastNameIsValid($lastName) { $matchesLastNamePattern = preg_match('/^[^!<>,;?=+()@#"°{}_$%:¤|]*$/u', stripslashes($lastName)); if (!$matchesLastNamePattern) { throw new CustomerConstraintException( sprintf('Customer last name %s is invalid', var_export($lastName, true)), CustomerConstraintException::INVALID_LAST_NAME ); } ( In fact remove characters you want, for me only 1-9) by the way , do the same with firstname: { $matchesFirstNamePattern = preg_match('/^[^0-9!<>,;?=+()@#"°{}_$%:¤|]*$/u', stripslashes($firstName)); if (!$matchesFirstNamePattern) { throw new CustomerConstraintException( sprintf('Customer first name %s is invalid', var_export($firstName, true)), CustomerConstraintException::INVALID_FIRST_NAME ); } } by { $matchesFirstNamePattern = preg_match('/^[^!<>,;?=+()@#"°{}_$%:¤|]*$/u', stripslashes($firstName)); if (!$matchesFirstNamePattern) { throw new CustomerConstraintException( sprintf('Customer first name %s is invalid', var_export($firstName, true)), CustomerConstraintException::INVALID_FIRST_NAME ); } }
  14. 2 points
    This module allows BO administrators to login FO as a customer by clicking a simple button at AdminCustomer page. Adds a simple login button to customer pages at BO. The module never needs to change password of customer or any information of a customer. It is also quick and safe due to using own encryiption keys. Can be used for: Create orders on behalf of your customers (customers who requested help to ordering just like in live chat, or by phone) Redirecting customer by browsing same pagea step by step Check for errors or feedbacks froms customer quickly Update: Please follow https://github.com/rowanfuchs/PrestaShop-login-as-a-customer download up to date files. Thanks to @Rowan - 999 Games PrestaShop-login-as-a-customer-master.zip
  15. 2 points
    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.
  16. 2 points
    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.
  17. 2 points
    Prestashop Migrate tool - Prestashop upgrade or migrate 1.6 to 1.7, 1.5 to 1.7 By using the Prestashop Migrate tool module, the processes of upgrading the Prestashop version of your online store become more straightforward than ever. Migrate your data in no time. All are up-to-date with just a few clicks and completely FREE. The module is perfect for you if you would like upgrade Prestashop 1.6 to 1.7 or Prestashop 1.5 to 1.7. Download the PREMIUM version here: https://addons.prestashop.com/en/data-migration-backup/48067-prestashop-migrate-tool-upgrade-to-prestashop-17.html What this product does for you? (Benefits for store owners) Over the years, technology has been growing fast. The Prestashop platform is constantly releasing its updates as well as publishing new versions in order to best serve its customers. Therefore, store owners must always keep pace with new improvements for their Prestashop website. We have developed the Prestashop Migration Tool module for free with the aim of assisting you to save a ton of time and money to do that. This free module helps you to quickly migrate your store data from the old Prestashop website to the latest one, so your website will always be up-to-the-minute! The migration steps are so simple that low-tech users can utilize them efficiently. At first, You need download the Prestashop upgrade from 1.6 to 1.7 module then installs the module package to the source shop (Prestashop 1.5 or 1.6) and target shop (Prestashop 1.7) as instructed. Next, you connect the source shop and target shop with each other by using the Migration Connector module (This module is included in the download package). Lastly, you should select the data he wants to migrate from Prestashop 1.6 to 1.7 and wait. The migration process will be completed in a couple of minutes. When should I use this module? The module is developed to upgrade or migrate Prestashop to new latest version: Migrate or upgrade PrestaShop 1.6 to 1.7; Migrate or upgrade PrestaShop 1.5.x to 1.7; Migrate or upgrade PrestaShop 1.5.x to 1.6; Migrate or upgrade PrestaShop 1.7.x.x to 1.7.x.x; Migrate or transfer data between PrestaShop shops; Migrate or transfer data from many shops into one; The free version will migrate the following data: Categories Manufacturers Suppliers Products Customers This Prestashop Migration Tool module also provides additional options: Remove all current data of the target shop before the migration process. Transfer the data IDs (product IDs, category IDs, etc.) from Source shop to Target shop. Pause/Stop and Continue migration process anytime Can see the percentage of the migration completion; Migrate multi-shop Remove zip file (source site) after download Amazingly, the store owner can also transfer encrypted employees and customer passwords to the new store by using the FREE Password Keeper module. This module is included in the download package. What your customers will like? With the Prestashop Migration Tool module, your website will be up-to-date immediately whenever Prestashop releases any improvements on its platform. Hence, you can ensure that your consumers and potential visitors will always have a smooth and comfortable buying experience with your online store. Installation Install the Prestashop Migrate Tool module on the target store Install the Migration Connector module on the source store Install Password Keeper module on the target store Connect the two stores > Migrate data > Enjoy the new store Download the module:g_migrationfree.zip Download the documentation: Prestashop Migration Tool Free version - Documentation.pdf
  18. 2 points
    Social Media Sidebar by PrestaCraft Current module version: 1.3.1 PrestaShop compatible: 1.6 , 1.7 Displays fixed sidebar on the left side with social media buttons. Predefined social medias: Facebook, Google+, Twitter, YouTube, Flickr, Pinterest, Tumblr, Xing, Instagram, VK, Tumblr, WordPress, Spotify, Soundcloud, Whatsapp, LinkedIn Features Customize display (colors, monocolred mode etc.) You can set Your own display order and social medias You want to show Ability to add your own icons based on FontAwesome Ability to display this sidebar in the sticky footer position on mobile devices Ability to hide chosen icons on mobile devices Ability to hide this sidebar on mobile devices if you want to Mobile breakpoint is configurable and you can change it Responsive Ability to disable module on mobile devices to prevent content covering Friendly User Interface Screenshots Changelog: v1.3.1 - Changed install() and uninstall() functions to match current database table pattern - Ability to remove icons in the new tab v1.3.0 - Ability to add your own icons based on FontAwesome - Added new social medias: Whatsapp, LinkedIn - Added option to hide chosen icons on mobile devices - Added option to display this sidebar in the sticky footer position on mobile devices - Ability to set mobile breakpoint by yourself v1.2.0 - Added new social medias: Instagram, VK, Tumblr, WordPress, Spotify, Soundcloud - Added option to hide this sidebar on mobile devices - Added "version checker" tab where you can check now if your module version is current one v1.1.0 - Checked compatibility with PS 1.7 - Fontawesome is now always loaded - to make it work with each theme - PSR code refactor Download socialmediasidebar_1.3.1.zip IF YOU LIKE THIS MODULE, PLEASE DONATE AND SHARE ❤️
  19. 2 points
    An open source community is more than just pull requests made by faceless strangers. In order to better understand the people who contribute time and skills to the PrestaShop project, we’re writing a series of interviews with contributors of all ranges. This week, meet Pululu Kinanga André, one of our great developers on GitHub! Hi Pululu! First, could you tell us a bit about yourself? I am Pululu and I come from Angola. I arrived in France in 2013 for my studies, after graduating in electronics and telecommunications. I have a degree in Management Information System (MIS), software development, and design. I am currently assisting the IT department of a digital agency in their migration and automation strategy. I am also interested in systems administrations (Unix), development, software design, and embedded systems. If I had to summarize myself in a few words, I would write that I am “a discreet lazy lazybones who works hard and an Eternal admirer of the complexity of simple things”. When and why did you get involved in contributing to the PrestaShop project? I started to be interested in the open source philosophy in 2014. I found it was an amazing way to be able to help and share my vision with the world! It is now a conviction that we can all help each other and, together, build powerful and sustainable solutions. And a few years later, I started to interact on StackOverflow. I had my first contact with the PrestaShop ecosystem in 2016, I was engaged in a work-study program at Alibabike, in La Rochelle. In 2017, I joined the agency123 as a developer and designer, and I made huge progress very quickly because PrestaShop is their area of expertise and their core business. What motivates you? In my opinion, the decision to migrate Prestashop to Symfony has divided the community. Many members and contributors were disappointed and discouraged. I believe most of them were afraid of not understanding the new system and therefore losing their expertise. As for me, it motivated me to contribute because it was a way of saying: guys, come back… this is no big deal, look, it’s very simple! I also wanted to learn and make progress, discuss with the authors of the solution, be credible, and reassure our +200 customers that I master the solution we offer with the agency. Finally, I think contributing is also a way to thank all of those who have contributed before and to help the software evolve. Do you have any advice for first-time PrestaShop contributors? You are not alone! PrestaShop has a rather large community and, likely, other users have already encountered the same problems as you. By contributing, you are helping to improve the solution, and this is an opportunity to share directly with the PrestaShop team. What’s the number one thing you’ve learnt by contributing to Open Source projects? I was not alone and there are many ways to look at it! Thank you Pululu, we hope to see more from you as PrestaShop evolves! :) View the full article
  20. 2 points
    Hola, Como ya saben, en la nueva actualización de Prestashop 1.7.6 cambio el registro de carpetas y el antiguo error que contenían las monedas en la posición del signo ($) y (CLP) se encuentra en otra posición. Por lo cual, para solucionar este problema (Bug,) debes ingresar en el siguiente directorio. /public_html/localization/CLDR/core/common/main/es.xml Deben buscar la siguiente linea de código. <currencyFormat type="standard"> <pattern>#,##0.00¤ </pattern> </currencyFormat> <currencyFormat type="accounting"> <pattern>#,##0.00¤ </pattern> Y dejarla así. ¤ <<<---esto es lo que hay que modificar (Solo la ubicación del símbolo) <currencyFormat type="standard"> <pattern>¤#,##0.00 </pattern> <currencyFormat type="accounting"> <pattern>¤#,##0.00 </pattern> Borrar cache y con eso debería funcionar. Saludos www.softcomerce.cl
  21. 2 points
  22. 2 points
    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
  23. 2 points
    I think you need to change your php version to 7.2
  24. 2 points
    Bonjour, Attention ce plugin (au moins sur la version 4.4) expose au public les informations censées être envoyées à leur support dans le dossier /modules/amazon/support/… Les fichiers sont générés dès lors que l'on accède à la page "Information" du plugin.
  25. 2 points
    You can save even more when you only backup the base product images (like 123.jpg). You can always regenerate all the derived image formats
  26. 2 points
    Hi its a cache related issue. A new version has been released some days ago : https://github.com/PrestaShopCorp/ps_mbo/releases/latest Please follow instructions given.
  27. 2 points
    C'est un soucis de CSS, l'image d'arrière plan est répéter horizontalement et verticalement. Donc votre taille d'image n'est pas en rapport avec la dimension de l'espace d'affichage. En gros si vous mettez un image rectangulaire dans un carré, le carré sne sera pas rempli et donc on verra la répétition de l'image. Ajustez tout cela dans la configuration du module ou par le design de votre template ou par le format de l'image utilisé.
  28. 2 points
    @Florent COTTAVOZ oszalejmy, dlaczego nie po polsku?
  29. 2 points
    I solved hard coding my custom sentence in theme /templates/checkout/_partials/steps/payment.tpl You replace this... <label class="js-terms" for="conditions_to_approve[{$condition_name}]"> {$condition nofilter} </label> With anything you want... <label class="js-terms" for="conditions_to_approve[{$condition_name}]"> Accetto senza riserve le <a href="/content/3-condizioni-generali-di-vendita" target="_blank">Condizioni Generali di Vendita</a> e l'<a href="/content/2-privacy-policy" target="_blank">Informativa sulla Privacy</a> </label> If you set target="_blank" to your links, they fire the modal box (tested in PS
  30. 2 points
    I'm working on a module to do this. Send me a private message if you want to (beta) test it on a test-instance of your shop
  31. 2 points
    Hola @Canet Durante mis más de 15 años dedicados a la programación, he pasado por hostings caros, malos, lentos... alguno de mejor servicio pero los precios se elevaban. Hasta que hace 3 años di con Nicalia El soporte es excelente, trato directo y personalizado. Los servidores son una auténtica maravilla. Tienen planes elastic que son económicos y para meter un Prestashop van de maravilla. Aquí el enlace.
  32. 2 points
    Nous non plus, nous n'avons rien modifié sur ton site... Cordialement
  33. 2 points
    1ClickUpgrade non funziona per passare da 1.6 a 1.7, per utilizzarlo e' necessario prima aggiornare all'ultima versione del ramo 1.6, mi pare sia, poi si puo' passare da 1.6 a 1.7, il risultato pero' e' un sito non funzionante, che necessita di parecchi aggiustamenti. Per poter aggiornare con successo occorre usare un modulo come questo: https://addons.prestashop.com/en/data-migration-backup/8934-migrationpro-prestashop-upgrade-and-migrate-tool.html il modulo permette il trasferimento dei dati (prodotti, clienti, ordini, ecc) da una versione all'altra, poi si dovranno fare aggiustamenti sulle pagine CMS e sopratutto verificare la compatibilita' dei moduli, o meglio la disponibilita' di aggiornamenti per 1.7 dei moduli che si utilizzano, questo perche' i moduli della 1.6 non vengono importati e non e' detto che esistano per la versione 1.7
  34. 2 points
  35. 2 points
    Yes @El Patron this has gone long enough. I am locking this topic as I think it is not fair to talk about someone that can not replay and defend/explain. Moderators did try to contact him but with no luck, so do not what is happening to him. @vekia If you do get notification do let me know to unlock topic. For people that bought modules but did not get them, try to dispute payment if possible. For people that got modules but got issues, try to post in forums exact issue. There could be users that may me had similar issue or there are someone that could help with that specific issue. And there is a good practice to contact developers before buying a module/theme.
  36. 2 points
  37. 2 points
    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 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!
  38. 2 points
  39. 2 points
    Bonjour, Il faut les mettre tous dans un dossier mère et zipper ce dossier .
  40. 2 points
    Для 1.7.6 я вносил изменения в БД таблица ps_currency значение precision поставить 0
  41. 2 points
    todas las traducciones como aqui lo indica es en el archivo que estan : $this->translator->trans('Free', array(), 'Shop.Theme.Checkout'), <<<---estara en el archivo ShopThemeCheckout.es-ES.xlf, esto sera en mi caso por que mi idioma es es-ES {server}/app/Resources/translations/es-ES/ShopThemeCheckout.es-ES.xlf <<<---- hay buscare la palabra Free en el apartado <source>Free</source> esto no se modifica sino <target state="translated">Gratis</target> y por ese mismo apartado hasta me dice donde pertenece esto <file original="src/Adapter/Presenter/Cart/CartPresenter.php" source-language="en" target-language="es-ES" datatype="plaintext"> lo correcto o lo ideal es no hacer la traduccion en este archivo (que si funcionan) si no pasar parte de este archivo a nuestras traducciones de tema {server}/themes/classic/translations/es-ES <<<---aqui es donde puedes poner las traducciones propias, ya que en una actualizacion o reinstalacion solo exportas tu tema completo y no se perdera nada....
  42. 2 points
    You can use the following hooks: <?php public function install() { if ( parent::install() && $this->registerHook('displayAdminOrder') && $this->registerHook('displayAdminOrderLeft') && $this->registerHook('displayAdminOrderRight') && $this->registerHook('dsplayAdminOrderTabOrder') && $this->registerHook('displayAdminOrderContentShip') && $this->registerHook('displayAdminOrderContentOrder') ) { return true; } $this->uninstall(); return false; } /** * displayAdminOrderContentShip */ public function hookDisplayAdminOrderContentShip($param) { return '<b>hookDisplayAdminOrderContentShip</b>'; } /** * @hook displayAdminOrderLeft */ public function hookDisplayAdminOrderLeft($param) { return '<b>hookDisplayAdminOrderLeft</b>'; } /** * displayAdminOrderRight */ public function hookDisplayAdminOrderRight($param) { return '<b>hookDisplayAdminOrderRight</b>'; } /** * @hook displayAdminOrder */ public function hookDisplayAdminOrder($param) { return '<b>hookDisplayAdminOrder</b>'; } /** * displayAdminOrderContentOrder */ public function hookDisplayAdminOrderContentOrder($param) { return '<b>hookDisplayAdminOrderContentOrder</b>'; } /** * displayAdminOrderTabOrder */ public function hookDisplayAdminOrderTabOrder($param) { return '<b>hookDisplayAdminOrderTabOrder</b>'; } $orderId = $param['id_order']; $cart = $param['cart']; Check the attached picture:
  43. 2 points
    In your themefolder/templates/catalog/_partials/miniatures/product.tpm just before the the "thumbnail-container" div closes {block name='product_miniature_item'} {if $product.quantity > 0} <span class="availability-list availability-list-in-stock">In Stock</span> {else} <span class="availability-list availability-list-out-of-stock">Out of Stock</span> {/if} {/block} And in themefolder/assests/css/custom.css file (for example) something like .availability-list{ padding: 4px; color:white; position: absolute; right:0; bottom:0; } .availability-list-in-stock{ background-color: green; } .availability-list-out-of-stock{ background-color red; } .thumbnail-container{ position: relative } That last one was just so that the text stays in the thumbnail, it may not be needed depending on your theme. Keep in mind that i did not test this code but it should about work.
  44. 2 points
    Apres avoir cherché deux heures (deux heures de perdues, merci PS !), j'ai trouvé la réponse sur le forum anglophone. Comme je pense que d'autres personnes n'ont pas non de temps à perdre, voici la solution : Menu International -> zones géographiques -> chercher France. Modifier. On voit un bloc "format de l'adresse" Il suffit de supprimer (ou ajouter) les termes en trop, genre "VAT_number" (la TVA)
  45. 2 points
    Jolín Nadie, acabas de tirar 2 de mis 3 entradas por el suelo jejeje... Aunque para mi es un placer que te hayas dado una vuelta por mi site, me inspiré completamente gracias a ti. Bueno si os parece bien, voy a publicar la segunda donde valido el campo DNI y si los compañeros siguen interesados, publicaré la tercera. Bueno y si no también que leches! Saludos!
  46. 2 points
    {Manufacturer::getnamebyid($product.id_manufacturer)} Try this. This code worked for me
  47. 2 points
    Eh, community, this is my 4th question about prestashop API and I didn't get any answer but after long run I figured it out how to update order informations (and any other) through ajax/jquery/javascript. var api_url = 'https://yourdomain/api/'; var api_key = 'Y0uRG3n3r4T3D4P1K3Y'; // with permissions to put info. $.ajax({ url: api_url + 'orders/' + order_id, type: "GET", dataType: "xml", username: apiKey, password: "", processData: false, contentType: "xml", success: function (data) { // Here You can change or update desired fields $xml = $(data), $xml_shipping_number = $xml.find( "shipping_number" ); // what You want to change /* Add tracking number */ $xml_shipping_number.text("123456"); // your shipping number // now let's send this back to API $.ajax({ url: api_url + 'orders/' + order_id, type: "PUT", dataType: "xml", username: apiKey, password: "", data: data, processData: false, contentType: "xml", success: function () { console.log('Success! Added Shipping number') }, error: function (xhr, ajaxOptions, thrownError) { //Add these parameters to display the required response alert(xhr.status); alert(xhr.responseText); }, }); }, error: function (xhr, ajaxOptions, thrownError) { //Add these parameters to display the required response alert(xhr.status); alert(xhr.responseText); }, }); In my case I was editing shipping number but You can edit whatever You want. I am just leaving this here because probably a lot people are looking for these. BE Careful to keep those API keys to yourself and run your browser in cross-origin enabled by disabling web-security You can do it by running Chrome in Run -> chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
  48. 2 points
    Pour ceux qui cherche pour une installation 1.7 : https://www.dropbox.com/s/uqxqj35hec9krys/pscleaner.zip
  49. 2 points
    Here's a simple override that adds "Phone" and "Mobile" columns to the Customers > Addresses tab in the Back Office so you can filter by phone or mobile. Create override/controllers/admin/AdminAddressesController.php with the following: <?phpclass AdminAddressesController extends AdminAddressesControllerCore{ public function __construct() { parent::__construct(); $this->fields_list['phone'] = array('title' => $this->l('Phone'), 'filter_key' => 'a!phone'); $this->fields_list['phone_mobile'] = array('title' => $this->l('Mobile'), 'filter_key' => 'a!phone_mobile'); [spam-filter] Remember to go to the Advanced Parameters > Performance tab and click the "Clear cache" button after creating the file.
  • Create New...

Important Information

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