Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 02/29/2020 in all areas

  1. 2 points
  2. 2 points
    Bonjour, Il faut les mettre tous dans un dossier mère et zipper ce dossier .
  3. 2 points
    * nGinx v1.16.1 * Linux CentOS 7 * PHP 7.2.27 (FastCGI FPM) After struggling to get the latest release (1.7.6.4) 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; } }
  4. 2 points
    @ttoine Franchement, comme tu le dis, certaines boutiques le désactivent lorsque leur nombre de ventes augmente, mais en parallèle, ce type de boutique met en place des procédures internes à l'aide d'autres outils pour prendre en charge la logistique de leurs commandes et donc elles remplacent juste ce module par une autre méthode mais toutes, strictement toutes les boutiques actives ce module au démarrage de leur boutique. Retirer ce module est juste une aberration reconnue par l'ensemble des personnes présentes sur ce forum puisque nous avons la demande tous les 4 matins concernant la méthode en 1.7 pour recevoir les commandes par email. Donc, il serait de bon ton de remettre en place rapidement ce module à disposition. Par contre, le discours expliquant que les modules désactivés sont retirés me fait doucement rire jaune dans mon coin. Car des modules comme Gamification sont toujours présents alors que tout le monde doit les désinstaller car ils ne servent à aucun marchand dans le monde. Je ne vais pas lister tous les modules purement marketing totalement inutiles et qui ralentissent le backoffice de tous les commerçants et plante certaines fois avec des beaux messages d'erreur incompréhensibles car ils n'arrivent pas à atteindre un fichier sur les serveurs PrestaShop. Je ne parlerais pas non plus de l'absence de consentement clair pour que les données des commerçants soient envoyées à des fins statistiques à PrestaShop, dont je ne connais pas la procédure d'effacement de ces données dans le cadre du RGPD, mais comme le sujet et envoyé sous le tapis depuis plus de 10ans je n'ai perdu mon temps à éplucher l'ensemble des petites lignes présentes partout concernant PrestaShop et sa politique. Voilà, petit coup de gueule du soir mais serein, car je sais, par expérience, que ce genre de propos restera lettre morte ou me permettra d'être classé dans une case proche de certains autres acteurs majeurs du forum.
  5. 2 points
    Ce n'est pas parce qu'il est gratuit qu'il ne doit pas respecter certains standards, notamment en terme de sécurité. Vous le mettez à la disposition de gens qui ne sont pas capables de déterminer s'il est fiable. Si vous faites ça en amateur dans ce cas vous l'indiquez aux personnes qui vont le télécharger, et là c'est de leur responsabilité d'utiliser le module ou non. Mais si c'est professionnel il faut quand même fournir quelque chose qui passe le validateur PS, au moins en terme de sécurité. Il existe des sites qui référencent tous les modules Prestashop qui présentent des failles. Les bots n'ont plus qu'à scanner les sites pour trouver ceux qui les utilisent et les hacker. Alors oui dans ce cas précis le module ne propose peut-être pas d'upload, mais ça reste des problèmes de sécurité qui peuvent être identifiés en 2 min et corrigés en 10.
  6. 1 point
  7. 1 point
    ./controllers/admin/AdminAddressController.php after: $temp_fields[] = array( 'type' => 'text', 'label' => $this->trans('VAT number', array(), 'Admin.Orderscustomers.Feature'), 'col' => '2', 'name' => 'vat_number', 'required' => in_array('vat_number', $required_fields), ); add: $temp_fields[] = array( 'type' => 'html', 'html_content' => '<hr style="border-top: 2px dashed red; margin-left: -25%;" />', 'col' => '8', 'name' => 'divider', );
  8. 1 point
    Hallo, Kann man hier aendern: Preferences > Meta-Tags. (unter SEO & URL - index page)
  9. 1 point
    W razie kontroli najpierw patrzą na to czy jest dokumentacja przetwarzania danych osobowych w firmie, a nie czy na jakiejś tam jej stronce jest polityka prywatności.
  10. 1 point
    Si defines precios específicos por cantidad, PS muestra una tabla con el descuento:
  11. 1 point
  12. 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!
  13. 1 point
    Hi, You can use a module to fill the meta description automatically from the product description.
  14. 1 point
    There are several possibilities. The easiest way is to edit PaymentModule.php in ../classes/ Add an entry to the database after sending order_conf email, which is an order confirmation. Find code: if (Validate::isEmail($this->context->customer->email)) { Mail::Send( (int)$order->id_lang, 'order_conf', Mail::l('Order confirmation', (int)$order->id_lang), $data, $this->context->customer->email, $this->context->customer->firstname.' '.$this->context->customer->lastname, null, null, $file_attachement, null, _PS_MAIL_DIR_, false, (int)$order->id_shop ); } and add after: Db::getInstance()->Execute('update '._DB_PREFIX_.'customer set id_default_group = 4 where id_customer = '.$this->context->customer->id; Db::getInstance()->Execute('insert into '._DB_PREFIX_.'customer_group values('.$this->context->customer->id.',4)'); Change 4 to your customer group.
  15. 1 point
    "Movic Leo Theme" should be affected by the choice of "Upgrade/Switch to the default theme" in 1-click upgrade. non-native modules refers to those free/paid modules. You can also re-enable non-native modules after upgrade. I used Prestashop's Default Classic Theme. After I upgrade, I have to re-apply the custom.css (Customized font, color, bullet type...) as well. I usually backup what I have before upgrade. In your case, you have to prepare to re-apply your theme after upgrade, e.g. export or backup your theme. You never know what is the result of the 1-click upgrade as it depends on how many additional module/customization you have in your system. Although, 1-click upgrade is MUCH more stable than in 1.6.x and 1.7.3 ... Also surprise you ... However, you better CLONE your production system and upgrade the CLONED one as a rehearsal. This is my practice even on minor upgrade ... ... Cheers, hope this helps !! David
  16. 1 point
    Σε πελάτη που είχαμε το ίδιο πρόβλημα στην ίδια τράπεζα, ήταν θέμα της php. Όταν βάζαμε php7.1 έκανε αυτό το πρόβλημα, μας έστειλε αναβάθμιση η εταιρία που το έφτιαχνε και λύθηκε το θέμα.
  17. 1 point
    Bonjour, Merci c'est très sympa, est ce entièrement valide pour la nouvelle version de Prestashop ? Tu t'est basé sur https://github.com/PrestaShop/ps_advertising ... ? C'est bien ça ? 😉
  18. 1 point
    No, PS non è il CMS adatto per fare queste cose. I CMS migliori sono Drupal oppure WordPress con i vari plugin e molte costumizzazioni. Ancora meglio sarebbe una cosa custom da zero. Se ti serve io creo questi portali. M.
  19. 1 point
    {yourServer}/themes/classic/templates/_partials/header.tpl
  20. 1 point
    Hola Roque yo creo que este software te puede ir superbien para lo que necesitas, puedes probarlo gratis unos dias https://store.emagicone.com/store-manager-for-prestashop-standard-edition.html código de descuento: maya-AAEM-15-OFF
  21. 1 point
    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
  22. 1 point
    Merhaba Bu toplantıda gündemimize aldık. Sonraki etkinliği webinar şeklinde düzenleyeceğiz. Buradan haberdar edeceğim.
  23. 1 point
    be warned, if you enable native geo location and the IP does not resolve (high % of free geolitecity free data do not resolve) then the visitor cannot shop. We have geo targeting pro module on addons, it supports amongst other things ip blacklist much like native does but I can see where it would be a nice new feature or new module to block by country. Back to hosting, contact your hosting for advice but this might help as well https://www.ip2location.com/free/visitor-blocker
  24. 1 point
    Bonjour, c'ets là que l'analyse du profil du développeur est important, on a une information qui indique l'attitude du développeur dans la gestion de ses productions et surtout de son support. https://addons.prestashop.com/fr/content/40-echelle-d-expertise-prestashop-bien-choisir-son-developpeur Cette information st précisé sur les information Développeurs de la fiche produit mais, avant on avait cela mis en avant avec une petit image de Preston, maintenant c'ets relégué en 3ème onglet sous forme de texte à cliquer. Perso je me bas tous les jours pour essayer d'avoir le meilleur support possible car cela me saoulerais d'acheter un module qui ne fonctionne pas et surtout que le développeur s'en moque. Donc, vous pouvez déjà regarder comment est noté chaque développeur de ces modules. Ah oui, aussi, sachez que cette notation n'implique pas les équipes de PrestaShop donc tous les modules développés par PrestaShop sont toujours tous super bien notés ... malgré tout.
  25. 1 point
    Il est certain qu'il y a un prb, qu'est-ce que ça raconte quand tu cliques sur "voir la couverture d'indexation" et "inspecter une url" non indexée ainsi que "couverture / Exclues" ?
  26. 1 point
    Also am "besten" ist, wenn du eine contentbox nimmst: http://contentbox.org/ (Ganz unten kannst du eine neue generieren mit passendem Namen) Da kopierst du dann deinen Code rein den du von Analytics bekommen hast. (Denk aber daran den Code Datenshcutzkonform zu bearbeiten: https://www.datenschutzbeauftragter-info.de/fachbeitraege/google-analytics-datenschutzkonform-einsetzen/) Dann kannst du die Contentbox an den Hook "displayafterbodyopeningtag" anhaken und solltest dadurch auf allen Seiten den Analytics Code haben.
  27. 1 point
    Не var/log, а в консоле браузера что пишет, есть ошибки? Попробуйте локально ( если магазин на сервере).
  28. 1 point
    Hi, This is a cached URL , try to delete the cache in var/cache/dev and var/cache/prod .
  29. 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
  30. 1 point
  31. 1 point
    Delete /var/cache and re-generate .htaccess
  32. 1 point
  33. 1 point
    Ah ben oui, avec ce genre de demi information on va tout de suite aider vachement plus. Relisez votre demande, activez votre cerveau, et essayer de trouver toutes les informations qu'il manque car il en manque beaucoup.
  34. 1 point
    Hello Maryjan, Thank you so much for downloading and using our Live Chat free module. We have just updated a new version for Live Chat free module, including the bug fix for translation problem. You can download and use the latest version of Live Chat free module now. Please copy your pl.php file and paste to /translation folder of the new version menu to preserve all of your Polish translation. If you have any more question, feel free to contact me. My best regard.
  35. 1 point
    Estos dias han detectado un posible fallo en algunos ficheros que usan los modulos de Prestashop, tanto por desarrolladores externos como los propios de prestashop. La solución es eliminar los modulos que puedes estar afectados, por ahora el mas instalado el modulo de actualización, Han desarrollado un modulo el cual te dice la versión del PHP ademas de los modulos que usan estos ficheros Aqui el enlace de la pagina desarrollador Armando Salvador ayer público en su Youtube como hacerlo
  36. 1 point
    You can rename you whole /var/cache folder to /var/cache_old - Presta will regenerate it with next page call
  37. 1 point
    Problem rozwiązany. Źródłem problemu okazał się znak [%] w haśle, który instalator odczytał poprawnie i wykorzystał do połączenia z bazą danych na etapie tworzenia tabel sklepu, ale później, podczas zapisu do pliku z konfiguracją w: app/config/parameters.php z niewiadomych powodów zamienił na [%%], więc oczywiście wszystko przestało działać. Po po przywróceniu prawidłowego hasła do bazy danych w parameters.php sklep ruszył.
  38. 1 point
    Si, lo probé y funciona en diferentes idiomas, además permite intentar detectar automáticamente el idioma de la web.
  39. 1 point
    Szólj, ha nem sikerül választ kapni, szólok a fejlesztőnek egy másik csatornán.
  40. 1 point
    Miałem to samo, w modułach znajdź "Customer Reassurance" - to jest to tylko nieprzetłumaczone
  41. 1 point
    tried to add the product to cart but there was an internal server error...I think everyone would appreciate a direct download link. Thank you.
  42. 1 point
    Hello All, I have 2 small modules that are working on 1.6 . I plan to upgrade to 1.7 so I need to upgrade those too. Is there any tutorial for upgrading ? for writing modules to be compatible with 1.6 and 1.7 as well ? Thank you, Daniel
  43. 1 point
    I had the same issue but managed to resolve it. This is what I did (in prestashop 1.6.1.19) Go to themes/yourtheme/order-carrier.tpl To show the logo of the first carrier look for: {assign var="first" value=current($option.carrier_list)} <td class="delivery_option_logo{if $first.product_list[0].carrier_list[0] eq 0} hide{/if}"> {if $first.logo} <img class="order_carrier_logo" src="{$first.logo|escape:'htmlall':'UTF-8'}"alt="{$first.instance->name|escape:'htmlall':'UTF-8'}"/> {elseif !$option.unique_carrier} {$first.instance->name|escape:'htmlall':'UTF-8'} {/if} </td> Change it to: {assign var="first" value=current($option.carrier_list)} <td class="delivery_option_logo"> {if $first.logo} <img class="order_carrier_logo" src="{$first.logo|escape:'htmlall':'UTF-8'}"alt="{$first.instance->name|escape:'htmlall':'UTF-8'}"/> {elseif !$option.unique_carrier} {$first.instance->name|escape:'htmlall':'UTF-8'} {/if} </td> To show the delivery time and item(s) that will be delivered with the first carrier you have to change the following code: <td class="{if $option.unique_carrier}first_item{/if}{if $first.product_list[0].carrier_list[0] eq 0} hide{/if}"> <input type="hidden" value="{$first.instance->id|intval}" name="id_carrier" /> {if isset($first.instance->delay[$cookie->id_lang])} <i class="icon-info-sign"></i> {strip} {$first.instance->delay[$cookie->id_lang]|escape:'htmlall':'UTF-8'} &nbsp; {if count($first.product_list) <= 1} ({l s='For this product:'} {else} ({l s='For these products:'} {/if} {/strip} To: <td class="{if $option.unique_carrier}first_item{/if}"> <input type="hidden" value="{$first.instance->id|intval}" name="id_carrier" /> {if isset($first.instance->delay[$cookie->id_lang])} <i class="icon-info-sign"></i> {strip} {$first.instance->delay[$cookie->id_lang]|escape:'htmlall':'UTF-8'} &nbsp; {if count($first.product_list) <= 1} ({l s='For this product:'} {else} ({l s='For these products:'} {/if} {/strip} If you also want to add the first Carrier name somewhere , just add {$first.instance->name|escape:'htmlall':'UTF-8'} where ever you want it to show up. Now for the second carrier. Look for this code: {foreach $option.carrier_list as $carrier} {if $carrier@iteration != 1} <tr> <td class="delivery_option_logo{if $carrier.product_list[0].carrier_list[0] eq 0} hide{/if}"> {if $carrier.logo} <img class="order_carrier_logo" src="{$carrier.logo|escape:'htmlall':'UTF-8'}" alt="{$carrier.instance->name|escape:'htmlall':'UTF-8'}"/> {elseif !$option.unique_carrier} {$carrier.instance->name|escape:'htmlall':'UTF-8'} {/if} </td> Change it to: {foreach $option.carrier_list as $carrier} {if $carrier@iteration != 1} <tr> <td class="delivery_option_logo"> {if $carrier.logo} <img class="order_carrier_logo" src="{$carrier.logo|escape:'htmlall':'UTF-8'}" alt="{$carrier.instance->name|escape:'htmlall':'UTF-8'}"/> {elseif !$option.unique_carrier} {$carrier.instance->name|escape:'htmlall':'UTF-8'} {/if} </td> To show the delivery time and item(s) that will be delivered with the second carrier you have to change the following code: <td class="{if $option.unique_carrier} first_item{/if}{if $carrier.product_list[0].carrier_list[0] eq 0} hide{/if}"> <input type="hidden" value="{$first.instance->id|intval}" name="id_carrier" /> {if isset($carrier.instance->delay[$cookie->id_lang])} <i class="icon-info-sign"></i> {strip} {$carrier.instance->delay[$cookie->id_lang]|escape:'htmlall':'UTF-8'} &nbsp; {if count($first.product_list) <= 1} ({l s='For this product:'} {else} ({l s='For these products:'} {/if} {/strip} To this: <td class="{if $option.unique_carrier} first_item{/if}"> <input type="hidden" value="{$first.instance->id|intval}" name="id_carrier" /> {if isset($carrier.instance->delay[$cookie->id_lang])} <i class="icon-info-sign"></i> {strip} {$carrier.instance->delay[$cookie->id_lang]|escape:'htmlall':'UTF-8'} &nbsp; {if count($first.product_list) <= 1} ({l s='For this product:'} {else} ({l s='For these products:'} {/if} {/strip} and again If you also want to add the second Carrier name somewhere , just add {$carrier.instance->name|escape:'htmlall':'UTF-8'} where ever you want it to show up. I hope this helps some people out. xxx
  44. 1 point
    Hi everybody, Excuse me in advance, from my bad practice of English ... I think I have a solution, for me it works. 1/ You must override the class Dispatcher.php (override/classes/Dispatcher.php) for removing id_product_attribute from the default route table 2/ Then you can edit the PS_ROUTE_product_rule parameter directly in database or from the form (/admin/index.php?controller=AdminMeta) SELECT * FROM `ps_configuration` where name like '%PS_ROUTE_%' 3/ it is also necessary to override ProductAssembler.php Prestashop class. Some modules rely on this class to present articles. (override/classes/ProductAssembler.php) 4/ And finally, override Link.php (override/classes/Link.php) for remove from getProductLink method the anchor Here is an example of an url: http://exemple.com/1-hummingbird-printed-t-shirt.html Thank you, iradorn
  45. 1 point
    https://prestabuilder.com/2017-05-19/display-full-width-tabs-product-detail-page-prestashop-1-7/
  46. 1 point
    Try this: http://nemops.com/extending-prestashop-objects/#.V39kafn5jmg Definition is static
  47. 1 point
    This is not the correct code class PDFGeneratorCoreOverride extends PDFGeneratorCore { It should be this... class PDFGenerator extends PDFGeneratorCore {
  48. 1 point
    Check http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Quickinstallationinstructions So in your folder where you installed PrestaShop locate admin folder, it have some numbers after admin, like admin12345. And url would be 127.0.0.1/www/prestashop/admin12345
  49. 1 point
    Gracias, me ha servido, he tenido que eliminar el "displayFooterProduct" y por otra parte : En la configuracion del modulo de paypal, hay una opcion que dice: Utilice Pago exprés (acceso rápido) señalar:No. Gracias a todos.
  50. 1 point
    All I'm getting is a blank file after selecting fields and clicking export. Any clues as to how to fix?
×
×
  • Create New...

Important Information

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