Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 10/29/2021 in all areas

  1. Dear all, for who is still looking for a solution, thanks to the support received, the following solved my issue: replace core.js file from Prestashop 1.7.7.7 or other previous version. Themes ->core.js
    4 points
  2. that is not the correct answer, does not even make sense, why not say I will do better? it's not up to the poster to ask you for the 'how' because you did not provide, that's ridiculous answer. I'm not in mood to bump heads, but if you want to push it I'm go all in... Either post quality or don't answer. got it?
    3 points
  3. I needed a COD with fee module and since I couldn't find what I was looking for (for free), I decided to make one myself. Some features: Compatible with multiple currencies and multiple shops Ability to either integrate the COD fee with the Carrier's fee, or add a dummy product in the order to reflect the fee, with configurable tax. Many parameters to check for in order to apply the fee (cart total, delivery country, delivery zone, carrier, customer group, product categories, manufacturers, suppliers). Many ways to calculate the fee (fixed value, percentage of the cart value or a combination of the two). All parameters are defined in conditions, which each calculates a fee if is validated. You can choose to use the first one that was validated, or add all of the successful ones to define the fee. Ability to test a scenario to see if your condition will produce the desirable fee. Ability to store all the purchases done with this module, with a complete log of how the fee was calculated. Ability to check (or autocheck if configured) for an update. I intend to keep updating it, so please let me know if you have any problems or suggestions. You can find it in github as well if you want to contribute (sakgiok/codwfeeplus). Edit: v1.0.9 added real time cart summary update during checkout for Prestashop v1.7 Edit: v1.0.10 fixed a bug with carriers not listed when they were added by a module. Edit: v1.1.0 added a condition type field to be able to disable module when these conditions are met, plus a bug fix and some color redesign (Control+F5 to reload the page to see the new css). Edit: v1.1.1 Taxes are now displaying correctly in PS1.7 cart summary and in PS 1.6-1.7 invoice and added some helpful buttons in condition parameter editing. Edit: v1.1.2 Order State is available to be configured plus some bug fixing and visual fixes. Some sanity checks added to make sure all condition values are present in Prestashop. Edit v1.1.3 Fixed a serious bug in payment validation. Edit v1.1.4 Fixed some bugs reported here (cart summary in PS1.7, tax displaying, reordering with COD Product etc). Edit v1.1.5 Added compatibility for PS versions 1.6.0.6 and 1.6.1.24. Edit v1.1.6 Fixed a bug for some PS versions < 1.6.1.0 and added provision for PS version 1.7.6.0 Edit v1.1.7 Added "States" field in conditions to validate against the state of the delivery address. Edit v1.1.8 Fixed a bug that prevented the module to work when installed fresh. Download: codwfeeplus_1.1.8.zip GitHub Link: https://github.com/sakgiok/codwfeeplus Demo: https://ps17demo.sakgiok.gr/admin107ak3oho Username: [email protected] Password: demodemo
    2 points
  4. i solved the issue by removing a condition in the ReasuranceActivity.php i commented on github as well https://github.com/PrestaShop/blockreassurance/commit/37d0fb1eafe8c227281e12e9a1422980b0d76816#commitcomment-60858987 public static function getAllBlockByStatus($id_lang = 1, $id_shop = 1) { $sql = 'SELECT * FROM `' . _DB_PREFIX_ . 'psreassurance` pr LEFT JOIN ' . _DB_PREFIX_ . 'psreassurance_lang prl ON (pr.id_psreassurance = prl.id_psreassurance) WHERE prl.id_lang = "' . (int) $id_lang . '" AND prl.id_shop = "' . (int) $id_shop . '" AND pr.status = 1 ORDER BY pr.position'; $result = Db::getInstance()->executeS($sql); foreach ($result as &$item) { $item['is_svg'] = !empty($item['custom_icon']); /* {* removed this && (ImageManager::getMimeType(str_replace(__PS_BASE_URI__, _PS_ROOT_DIR_ . DIRECTORY_SEPARATOR, $item['custom_icon'])) == 'image/svg'); *} */ } return $result; } }
    2 points
  5. Server Error beim Warenkorb hinzufügen. Aktiviere den Debug Modus um die Fehlermeldung im Detail zu sehen
    2 points
  6. I did some dirty hard coded stuff to test it on my sandbox environment. To be able to share it I would have to extract it and make a proper module of it. Unfortunately my time is extremely limited right now. But when I find some time I will see if I can complete it and upload a module.
    2 points
  7. Mam poradnik jak to zrobić: https://www.youtube.com/watch?v=4zpnSMrik9w
    2 points
  8. Thank you for the error report. This was indeed a bug. The problem that the active shop was used as a template to fill all the fields of the ps_product_attribute_shop table. When there was no entry for the active shop things went wrong. I have now uploaded a new version (1.30m) where this is fixed.
    2 points
  9. When researching and wanting to buy a product, what external factors do you usually consider? For me, in addition to finding out the reviews and ratings of customers who have bought the product, there is one more factor that I also pay attention to is the number of products sold. With the mentality of a shopper, I believe that not only me but also most customers feel more secure and have more faith in products with many buyers. People tend to believe that products that have a lot of buyers are usually good. So, why don't we display the number of products sold in the front office so that all potential customers who visit your website can see, thereby stimulating them to buy? But wait, what about new products that don't have many buyers yet? We don't want to display products with such low sales, do we? So, is there any way to solve these problems? Rest assured! We have thought of that too and developed "Total Product Sold" - a free PrestaShop sale count module that can help you not only to count but also to adjust and display the quantity of sold products as you wish on the front office! Compatibility: Total Product Sold is compatible with PrestaShop 1.7. FEATURES Allow you to display the total product sold on the product detail page and the product listing page on the front office. Enable you to set the initial total product sold for your product, the module will add the actual total product sold automatically then display that number on the front office. You can set up the module to automatically count a product as sold based on order status. You also can generate an ideal number of sold items to display on the front office by adding "Sold factor". Just enter an integer to be the calculated value when 1 item of the product is sold. For example, if you enter "5", when there are 2 items sold, the total product sold displayed on the front end will be "10" items. Besides setting the display of the number of total sold items applied for all products in the store. You completely can set up to display the total sold number for a specific item. Support multi-store mode. Support multiple languages. DOWNLOAD There are 2 ways to download: 1. Download on our website (recommended for up-to-date versions): https://prestahero.com/prestashop-modules/174-prestashop-total-product-sold.html 2. Directly download the attached file here: v1.0.1-ets_totalproduct_sold.zip If you have any questions or need our support, you can leave a comment below, we will reply as quickly as possible!
    2 points
  10. The attributes don't have defaults. The Product-Attribute Combinations do. So you need to set per product which combination is the default.
    2 points
  11. Krótki skrypt, który został przerobiony na własne potrzeby, mam nadzieje, że się przyda. Skrypt ma na celu odliczanie do końca wysyłki. Powiedzmy, że na sklepie mamy, że gdy ktoś złoży zamówienie do 14:00 to na pewno zostanie wysłany towar tego samego dnia. Skrypt odlicza czas do 14:00 (różnica danego dnia do 14:00). Skrypt możemy dać gdziekolwiek. Można w całości lub zgodnie z punktami odniesień jak custom.css itp. HTML <div id='pozostaloW'> <p><span id="countdownTimer"> </span></p> </div> CSS #pozostaloW { border: 4px solid #045042; width: 100%; background: #f4f5f7; padding: 25px 20px 13px; border-radius: 5px; } Skrypt if (document.getElementById('countdownTimer')) { pad = function(n, len) { var s = n.toString(); return (new Array( (len - s.length + 1) ).join('0')) + s; }; var timerRunning = setInterval(countDown, 1000); function countDown() { var target = 14; // tu ustawiamy do której godziny max (że zamówienia do 14:00 wyślemy tego samego dnia) var now = new Date(); var weekday = now.getDay(); if(weekday == 0){ target += 24; } if(weekday == 6){ target += 48; } if((weekday>=1) && (weekday<=5)){ if (now.getHours() > target) { // zatrzymanie czasu $('#pozostaloW').hide(); // gdy czas = 0 to ukryj blok clearInterval(timerRunning) } } var hrs = (target - 1) - now.getHours(); if (hrs < 0) hrs = 0; var mins = 59 - now.getMinutes(); if (mins < 0) mins = 0; var secs = 59 - now.getSeconds(); if (secs < 0) secs = 0; var str = '<span style="font-weight:bold;color:red">' + pad(hrs, 2) + ' </span>godzin<span style="font-weight:bold;color:red"> ' + pad(mins, 2) + ' </span>minut<span style="font-weight:bold;color:red"> ' + pad(secs, 2) + ' </span>sekund'; if( hrs === 0 && mins === 0 && secs === 0) { $('#pozostaloW').hide(); clearInterval(timerRunning) // gdy czas = 0 to ukryj blok } document.getElementById('countdownTimer').innerHTML = 'Zamów w ciągu ' + str + ', a wyślemy jeszcze dziś!'; } } Z reguły takie moduły są mega płatne. Tu macie darmowe rozwiązanie
    2 points
  12. @ChineseNorris I saw few things after upgrades to latest 1.7.8.0 and here are some fixes. Note sure if it applies to you it depends on different thigs. - changing core.js in theme folder with one from original download - depending on theme this can help if button in checkout is disabled https://github.com/PrestaShop/PrestaShop/pull/18904#issuecomment-944348444 - search module have CSS style overflow: scroll; and it should be overflow: hidden; If you see scroll bars around search block. Again your and @Norca and original poster @MuniGod could have different issues. Also would be useful to add more details of errors. Like if you enable debug mode does any error shows. Some hint in console when you inspect element on page of log from hosting or var/log folder.
    2 points
  13. Γράψε τι έκανες για να ξέρουν και οι υπόλιποι αν τους τύχει. Το έκανες update ή το έκανες disabled? Παρακαλώ.
    2 points
  14. Hi PrestaShop-merchants, I have created a module for solving a age old problem: changing the order reference into something meaning full. The random string of characters is not a preferred order reference for most merchants. You can use variables to fill the order reference with, like $cart->id, $order->id, $shop->name, or a combination of those. You can use any variable from several PrestaShop Objects (main classes). For a more detailed explanation checkout: https://github.com/blauwfruit/orderreference See the latest releases: https://github.com/blauwfruit/orderreference/releases Give me your opinion! Thanks!
    2 points
  15. I had what appears to be the same problem. This solved it. Add this logic to the if on line 390 in src/Adapter/Product/AdminProductDataProvider.php if ($formatCldr && $product['price'] != null && $product['price_final'] != null) { $product['price'] = $localeCldr->formatPrice($product['price'], $currency->iso_code); $product['price_final'] = $localeCldr->formatPrice($product['price_final'], $currency->iso_code); }
    2 points
  16. grace à l'indication de Nico, j'ai fini par trouver. Sur Paypal ( en version professionnel ) dans la fenetre en haut à droite ( lien rapide ) il faut cliquer pour déplier Vous avez l'option : accepter des paiements En cliquant dessus, cela vous amène sur une page où se trouve paypal checkout ( cliquer dessus ) Choisir "intégration avancée" => faire une demande Vous remplissez le numéro de telephone et un mail de contact et c'est activé pour moi. Retour sur prestashop et les paiements carte bancaire sont approuvé et disponible. Plus de message d'erreur. paiement carte approuvé et disponible.
    2 points
  17. To edit this page you will need to edit the tpl file. See themes/yourtheme/stores.tpl. Remember to create a back-up prior to editing this page. Hope that helps! Marty Shue
    2 points
  18. Hola @thelastyear Para este tipo de acciones, recomiendo utilizar integración con formularios Active Campaing. 1 - Cereal el formulario en Active Campaing. 2 - Integrarlo en PrestaShop. 3 - Cuando alguien cumplimenta el formulario, recibe un correo con el enlace al documento.
    1 point
  19. Note that the ps_metrics module is infamous. When you search the forum you will find lots of entries about it. Consider completely removing the module (with FTP). If you want/need it you can later on install the latest version.
    1 point
  20. Bjr, Vérifiez que la version de votre prestashop dispose de la bonne version de PHP, vous êtes certainement trop haut en php
    1 point
  21. Eso ya tendras que hacerlo editando el css de tu theme. Pon la url de tu web y tratamos de ayudarte.
    1 point
  22. Mine is a gmail account so I went to those setting given from google and have "alt4.aspmx.l.google.com."
    1 point
  23. Ciao, non lo fare. Non ti porta nulla di utile a livello di seo e anzi ti preclude alcune cose. M.
    1 point
  24. Auch deshalb mit Updates besser etwas warten ...
    1 point
  25. Hola @sara11¿Qué tal estás? Te cuento al respecto, cuando adquieres un nuevo tema, dependiendo del tema, trae unas opciones u otras configuradas. Me explico... Por ejemplo, hay un módulo de megamenú para PrestaShop, pero algunos temas, sobre todo los de Leo theme, mi traen por defecto. Por lo tanto, aquí habéis que dejar solo uno. Si quieres, indícanos el tema e intentaré ayudarte en lo posible. En cuanto a que deberás volver a hacer, pues lo más probable es que tengas que reconfigurar muchas páginas a nivel visual.
    1 point
  26. Hola @PRAYAP si mi respuesta te ayudo a solucionar, dame un like que es el corazón que esta abajo a la derecha de la respuesta saludos
    1 point
  27. Ok, I see. Then you need to use a custom module to add more images to a store.
    1 point
  28. Hola En la versión ps 1.7.8.0 está pasando esto que comentas. Pon la ps 1.7.7.8 que funciona bien.
    1 point
  29. Buenas, Tal y como dice gusman, necesitas crear un módulo para poder tratar los datos en el hook correspondiente y si deseas pasar variables al fichero .tpl puedes mediante smarty: $this->context->smarty->assign([ 'products' => $products, 'feature' => $feature, ]); Y seguidamente tratar dicho valor en tu fichero .tpl de la siguiente manera: <body> <h1>Hello World!</h1> <p>This is a simple paragraph.</p> {if isset($products)} {foreach $products as $product} //código {/foreach} {/if} </body> Es un simple ejemplo para entender mejor la referencia pero obviamente debes tratar los datos en función de lo que necesites. De paso, te adjunto el listado de Hooks para que sepas donde tienes que enganchar tu código: https://devdocs.prestashop.com/1.7/modules/concepts/hooks/list-of-hooks/ Espero que te sirva de ayuda. Saludos,
    1 point
  30. Yes, I did. I found solution. It is in Payson Checkout configuration: "Show other payment methods. Select Yes to show a link to other payment methods". Now it is "Yes", and customers can choose other methods.
    1 point
  31. Merci beaucoup pour ton aide. le problème est résolu
    1 point
  32. Thanks Ivica, Its sad , because it should not be happen with updates , Thanks , have a good weekend !Jean
    1 point
  33. Bonjour à tous Je suis sur la version 1.7.7.2 je voudrais insérer le code google adsense, on me dit de le mettre entre les balises <head> et </head> j'ai fais des recherches, on dit de mettre le code dans le fichier head.tpl ou header.tpl entre les balises <head> et </head>. Sur mes fichiers aucune balises. Comment faire, pouvez-vous m'aider Merci Voici mon fichier header.tpl {block name='header_banner'} <div class="header-banner"> {hook h='displayBanner'} </div> {/block} {block name='header_nav'} <nav class="header-nav"> <div class="container"> <div class="row"> <div class="hidden-sm-down"> <div class="col-md-5 col-xs-12"> {hook h='displayNav1'} </div> <div class="col-md-7 right-nav"> {hook h='displayNav2'} </div> </div> <div class="hidden-md-up text-sm-center mobile"> <div class="float-xs-left" id="menu-icon"> <i class="material-icons d-inline">&#xE5D2;</i> </div> <div class="float-xs-right" id="_mobile_cart"></div> <div class="float-xs-right" id="_mobile_user_info"></div> <div class="top-logo" id="_mobile_logo"></div> <div class="clearfix"></div> </div> </div> </div> </nav> {/block} {block name='header_top'} <div class="header-top"> <div class="container"> <div class="row"> <div class="col-md-2 hidden-sm-down" id="_desktop_logo"> {if $page.page_name == 'index'} <h1> <a href="{$urls.base_url}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> </a> </h1> {else} <a href="{$urls.base_url}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> </a> {/if} </div> <div class="col-md-10 col-sm-12 position-static"> {hook h='displayTop'} <div class="clearfix"></div> </div> </div> <div id="mobile_top_menu_wrapper" class="row hidden-md-up" style="display:none;"> <div class="js-top-menu mobile" id="_mobile_top_menu"></div> <div class="js-top-menu-bottom"> <div id="_mobile_currency_selector"></div> <div id="_mobile_language_selector"></div> <div id="_mobile_contact_link"></div> </div> </div> </div> </div> {hook h='displayNavFullWidth'} {/block}
    1 point
  34. Was heißt Differenz, fehlten wie beim ersten Post genau die Cent? Da dort der Preis mit Punkt statt mit Komma geschrieben wurde, würde ich da einen möglichen Fehler vermuten.
    1 point
  35. Masz to w zakładce Moduły > Pozycje, tutaj masz poradnik do 1.7 ale zasada identyczna jak w 1.6 https://www.youtube.com/watch?v=UGbujUK8h9s
    1 point
  36. Hi Not sure why it is not working for you - I tried your code and it worked for me Using this for the source code (found top right corner of summary - <>) <p>låt oss se vad som händer när vi provar en mängd olika karaktärer i detta</p> <p></p> <p>den snabba bruna räven</p> <p></p> <p><iframe width="560" height="315" src="https://www.youtube.com/embed/zETUh50u8Vs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="allowfullscreen"></iframe></p> As for another way to do it try this In summary bar go to the Video tab Select Embed tab and paste it there click Ok and Save and hopefully it will work Good luck
    1 point
  37. Du hast Recht, da war ich nicht auf dem laufenden.
    1 point
  38. Te lo pone ahi, te dice que la colunna show_price esta mal en eses ids, revisalas por que algo mal esta.
    1 point
  39. Hello. I recently did an upgrade from 1.7.6.0 to 1.7.8.0 and I've lost the ability to update text related to Page Content, Product Titles, Product Summary, etc. The entire box that I would type in has disappeared. I heard that this can be caused by language issues, so I did an update to English and that did not fix the issue. I restored back to 1.7.6.0 and the text boxes reappeared. I then upgraded again and they disappeared again. Can someone help point me in the right direction?
    1 point
  40. Do you use a theme? For the default information, you should have a "Preferences" tab and then click on "Store Contacts"?
    1 point
  41. Hi, That was indeed a bug. Sorry. I fixed it and uploaded a new version. When you upgrade the free software, remember also to download the latest version of the paid part. You can get it by logging into your user account at the Prestools website. M
    1 point
  42. W zasadzie jest to dosyć prosta zmiana więc napisze jak to wykonać. Po zalogowaniu się do bazy danych tworzysz nowe zapytanie a w nim: UPDATE ps_product_lang SET description = REPLACE(description, 'http', 'https'); To w opisie wszystkich produktów zamienia http na https z tym że na początek zrobiłbym inaczej a mianowicie https:// zamieniłbym na // i później tak samo z http:// na // Dlatego że gdybyś wykonał w pierwszej kolejności zapytanie które podałem to w przypadku posiadanie gdzie linku https zostało by zamienione na httpss i już link by nie działał a linki // same dorobią sobie przedrostek http lub https.
    1 point
  43. Bonjour, J'ai eu le même problème aujourd'hui, avec Prestashop 1.7.6.8. Je ne sais pas pour quelle raison, mais l'affichage de l'image ne fonctionne que quand on donne un chemin relatif dans le template. Voici une solution possible en attendant une correction de Prestashop : 1) Ouvrez le fichier /pdf/header.tpl via FTP et copiez son contenu 2) Créez un nouveau fichier /themes/VOTRE_THEME/pdf/header.tpl et collez-y le contenu du fichier précédent. Cela créé une surcharge du template par défaut pour l'entête du pdf via votre thème, et permet de ne pas perdre les modifications lors des mises-à-jour de Prestashop. 3) Remplacez la ligne suivante... <img src="{$logo_path" style="width:{$width_logo}px; height:{$height_logo}px;" /> Par ce qui suit : <img src="{$logo_path|parse_url:$smarty.const.PHP_URL_PATH}" style="width:{$width_logo}px; height:{$height_logo}px;" /> Cette modification permet de découper l'URL pour n'en conserver que la partie relative. Bonne journée
    1 point
  44. Enabling the "sensio_framework_extra.router.annotations" configuration is deprecated since version 5.2. Set it to false and use the "Symfony\Component\Routing\Annotation\Route" annotation from Symfony itself. Hide context Hide trace [▼ "exception" => SilencedErrorContext {#5617 ▶} ] {▼ /customers/0/8/2/nettotruck.dk/httpd.www/vendor/sensio/framework-extra-bundle/DependencyInjection/SensioFrameworkExtraExtension.php:41 {▼ › if ($config['router']['annotations']) { › @trigger_error(sprintf('Enabling the "sensio_framework_extra.router.annotations" configuration is deprecated since version 5.2. Set it to false and use the "%s" annotation from Symfony itself.', \Symfony\Component\Routing\Annotation\Route::class), E_USER_DEPRECATED); › } /customers/0/8/2/nettotruck.dk/httpd.www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php:71 {▼ › › $extension->load($config, $tmpContainer); › } catch (\Exception $e) { } }
    1 point
  45. this answer solved my problem, now I am able to create direct link to image.... check in ps_image for the id_image and from there you can create the link, thank you !!
    1 point
  46. Bonjour, un peu tard amis cela peut aider d'autres ! Pour modifier le texte dans l'affichage de votre panier (popup et fixe) , rendez-vous sur votre B.O / et traduction modules/blockart. Vous trouverez tous les textes traduit pour le panier.
    1 point
  47. Solved, i had to add a directory "NL" to the folder mails. I copied the same files from the folder EN into NL. If you have others languages of "en", check if you have the good repertories. By example if you have french language installed and if you don't have the repertory /modules/mailalerts/mails/fr/ you don't receive the mail alert. I had the same problem, when you install mailalert module it doesn't install the repertory for your email language.
    1 point
  48. To remove Demo mode: Edit /controllers/admin/AdminDashboardController.php Locate and remove this code $this->page_header_toolbar_btn['switch_demo'] = array( 'desc' => $this->l('Demo mode', null, null, false), 'icon' => 'process-icon-toggle-'.(Configuration::get('PS_DASHBOARD_SIMULATION') ? 'on' : 'off'), 'help' => $this->l('This mode displays sample data so you can try your dashboard without real numbers.', null, null, false) ); Note: The better option would be to create an override of the above controller I don't see a troubleshooting button
    1 point
  49. I am working on solution, it will be small module, maybe this module help...
    1 point
  50. Je suis tombé aussi sur dolibarr je sais pas si quelqu'un utilise aussi cela. Bon le truc c'est qu'il faut disposer d'un mcd / mld de l'erp fiable, pour le moment j'en ai pas encore trouvé ( sauf en faisant un reverse avec workbench ) c'est quand même assez étonnant.
    1 point
×
×
  • Create New...

Important Information

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