Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 07/15/2020 in Posts

  1. 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.
  2. 2 points
    Ya te lo ha explicado @gusman126, pero por si no tienes claro el uso de los hooks, te lo intento explicar de otra forma: - Hay 2 tipos de hooks: de "display" y de "action". Los de display son para mostrar algo en un sitio determinado de la tienda. Por ejemplo, dentro de la ficha de producto, detrás del botón de compra. O en la página de inicio, detrás del banner principal. Hay muchos hooks que ya vienen creados por defecto, pero además se pueden añadir otros donde tú quieras (al final te explico cómo hacerlo). - Para que un hook funcione debes, primero, registrarlo en tu módulo. Esto se hace como te indica gus en la primera imagen que ha puesto ($this->registerHook('displayMyHook');). Luego, debes crear un método donde programes lo que necesites hacer y devuelvas un trozo de código HTML con lo que quieras que se muestre en el punto desde el que se ha llamado el hook (siguiendo el ejemplo, detrás del botón de compra en la ficha de producto). El HTML que devuelve el método lo puedes crear directamente usando PHP o puedes cargar una plantilla, que es como se suele hacer. Esto se muestra en la segunda imagen que te ha puesto gus. - Finalmente, si quieres que tu código se muestre en algún sitio que no tiene un hook específico, puedes añadir el tuyo propio. Para ello basta con que edites el archivo de la plantilla de tu tema correspondiente (por ejemplo /themes/nombre-de-tu-tema/templates/catalog/product.tpl), y lo añadas ahí, dentro de esa plantilla, en el punto donde quieras que aparezca el contenido que genera tu módulo. Por ejemplo: {hook h="displayMyHook"}. Si quieres que el hook solo sirva para tu módulo, puedes especificarlo así {hook h="displayMyHook" mod="nombre_de_mi_modulo"} Y adicionalmente, también puedes crear tu módulo como "widget", con lo cual no queda anclado a un sitio específico, sino que lo puedes ejecutar desde cualquier sitio de las plantillas, incluso repetirlo varias veces sin tener que programar varios hooks. Tienes más info sobre esto aquí: https://devdocs.prestashop.com/1.7/modules/concepts/widgets/
  3. 2 points
  4. 1 point
    Calcule ton tableau avant (en tag html), injecte-le dans une variable template et voilà.
  5. 1 point
    Tylko modułem albo modyfikacją. Możesz napisać na x13@x13.pl, robiłem dla nich taki moduł, możesz wspomnieć, że jesteś z forum z mojego polecenia. Moduł działa tylko z PrestaShop 1.7
  6. 1 point
    Isso depende da sua versão do PrestaShop e até mesmo do tema em uso; os arquivos não são necessariamente padronizados entre os temas. O ideal seria você criar um módulo pequeno (provavelmente do tipo widget) e utilizar o hook que melhor te atender. https://devdocs.prestashop.com/1.7/modules/concepts/hooks/
  7. 1 point
  8. 1 point
    Sorry, I cannot help you when you talk in steno. Show the code. Show what you did. Show what went wrong.
  9. 1 point
    Custom popup notification by PrestaCraft Current module version: 2.3.0 PrestaShop compatible: 1.6, 1.7 http://prestacraft.com/custom-popup-notification/ This module displays a popup with Your content on chosen pages. Note: If you run more than one language in Your store, fill the popup content for all languages to save it correctly. Features Cookie system - Module remembers if user has closed the popup. If You don't want to show it again, You can set cookie duration. User will see the popup again after that amount of time. Display options (colors, size, etc.) Popup content for each available language in Your shop Delay option: define how many seconds must pass to show the popup Display your popup wherever you want to – just select any hook(s) Friendly User Interface Screenshots Changelog http://prestacraft.com/custom-popup-notification/ Download - Current version custompopup_2.3.0.zip IF YOU LIKE THIS MODULE, PLEASE DONATE AND SHARE ❤️
  10. 1 point
    Keiner hat dich nach deiner meinungen gefragt, Behalte deine Meinungen für dich und hör auf Ständig alle anderen hier im Forum zu Beleidigen !!!..Sonst hat es irgendwann Rechtliche Folgen für dich !
  11. 1 point
    Nie ma zmiennych z tymi danymi, należałoby dokonać modyfikacji, która je doda lub wpisać te dane na sztywno. Zakładam, że zmieniają się tak rzadko, że to raczej żaden problem
  12. 1 point
    C'est un module qui vous permet de modifier la couleur de votre modèle PrestaShop 1.7 à partir du back office, sans modifier les fichiers source. Peu importe si vous n'avez pas de connaissances sur la conception, vous ne devez sélectionner que les couleurs des sections (boutons, liens, en-tête, etc.) et le module fera le reste pour vous Caractéristiques: Navigateur croisé Multilingue Multistore Video: Visit our site to get more Free modules/themes v2.1- option ajoutée pour désactiver l'arrière-plan v3.3 - H1/H4 and p colors colorchange.zip v1.0 colorchange.zip v2.1 colorchange.zipv3.3
  13. 1 point
    Thanks Tim It worked. I had to split out the exsisting tax rule for Spain so each state had separate rules.
  14. 1 point
    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 1.7.2.4 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
  15. 1 point
    Alors effectivement, le Google translate fera bien l'affaire... Pour ton problème initial, si tu as un bon serveur, le ralentissement sera infime. Tu pourras le passer dans un analyseur et voir le temps de chargement et si il convient pour l'indexation des moteurs de recherche. Bonnes ventes !
  16. 1 point
    Diciamo di si rifacendo il sito da capo
  17. 1 point
    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. 1 point
    Bonjour, J’aimerais faire une requête SQL pour connaître le total de vente que j’ai réalisé depuis l’ouverture de mon site internet. J’aimerais que cette requête propose : Date / Référence produit / Nom produit / coloris / Taille / quantité commandé / prix unitaire Pouvez-vous m’aider ? D'avance merci :)
  19. 1 point
    Concernant la wishlist, bonne nouvelle : ils vont enfin sortir une version gratuite officielle compatible avec PrestaShop 1.7.6.0 et + Vu l’avancement que je suis attentivement sur GitHub, ça ne saurait tarder, je dirais d’ici là fin du mois : https://github.com/PrestaShop/blockwishlist (branche new-module) Pour le bandeau, je pense qu’il y a moyen de modifier ce module : https://github.com/PrestaShopCorp/pscartbanner Pour faire en sorte qu’il s’affiche sur d’autres pages que le panier, à priori il faut faire sauter la condition dans le hook ici : https://github.com/PrestaShopCorp/pscartbanner/blob/9c49ad88319335149d0b361b35a10e03527aafa8/pscartbanner.php#L167
  20. 1 point
    No, that one is yet another module, there are many. In this thread there is a little free version, updated by Rowan_86 to work with latest version of PS (1.7.6.6 +). And I posted another one free from Datakick.
  21. 1 point
    Je viens de trouver le pourquoi du comment ! Alors en vérifiant mes logs BDD j'ai vu que Prestashop execute bien la requete de suppression, MAIS il applique par dessus un nouvel insert() par la suite de la même valeur ! Et la seule fonction exécutée après ma suppression et mon update() est : $new_cart->getCartRules() $new_cart->getCartRules(); En regardant getCartRules() je m’aperçois qu'il existe dans cette fonction une option "autoadd" qui si elle n'est pas définie ajoute les Rules au Cart lorsqu'elle est exécutée ! public function getCartRules($filter = CartRule::FILTER_ACTION_ALL, $autoAdd = true) { // Define virtual context to prevent case where the cart is not the in the global context $virtual_context = Context::getContext()->cloneContext(); $virtual_context->cart = $this; // If the cart has not been saved, then there can't be any cart rule applied if (!CartRule::isFeatureActive() || !$this->id) { return array(); } if ($autoAdd) { CartRule::autoAddToCart($virtual_context); <-- ICI !!! } Donc en utilisant la fonction avec les paramètres suivants : $new_cart->getCartRules(CartRule::FILTER_ACTION_ALL, false); Plus de soucis, la suppression est bien faite et la règle du panier n'est pas recréée par dessus. Merci @Mediacom87 pour ton aide
  22. 1 point
    If you are experiencing problems like I had that all modules went into 'other' section and can't login to marketplace addons too I just reverted a mod and averything went back ok. The mod was to speed up backoffice: Search in the file classes/Tools.php and in the file src/Adapter/Addons/AddonsDataProvider.php and reverto to stock code: protected static $is_addons_up = true;
  23. 1 point
    Le x-robots-tag est mis soit dans votre .htaccess soit dans la configuration de votre serveur cer ce n'est pas une directive Prestashop de base. Cela peut aussi venir d'un module tiers. Recherchez ce genre de code dans vos fichiers: header("X-Robots-Tag: noindex, nofollow", true);
  24. 1 point
    Tried your code, @D. Tengler, and it worked PERFECTLY. Many thanks, it really is much appreciated.
  25. 1 point
    Thanks for the solution: had already discovered this and backrolled PHP version. At the time I was troubleshooting software I had not used before.
  26. 1 point
    Insert {$product | @var_dump} into the tpl template and you will see all the variables.
  27. 1 point
    Hello, I am configuring the hosting for a couple of PS 1.7. I have been working for the past years with Amazon, and I am quite satisfied with it. For now, I have set a t2.micro EC2 instance with a micro RDS Database for testing. I have configured the shop with CCC, no compilation, OPC Cache, etc. Which type of instance do you use? I will have about 2000 visits a day for starting. I guess I will need an EC2 medium with small RDS. Regards.
  28. 1 point
  29. 1 point
    l'option dans le BO peut-être modifiée, c'est l'index de Google qui est irrévocable si on ne désindexe pas cette redirection 301 chez lui.
  30. 1 point
  31. 1 point
    Hoi, Iemand nog iets gevonden qua koppeling tussen bol.com en prestashop? Wat is het meest belangrijke delen van koppeling voor jullie? Is het belangrijk om een product koppeling te hebben of het is meest belangrijk om orders van bol.com binnen te krijgen?
  32. 1 point
    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 1.7.6.5).
  33. 1 point
  34. 1 point
    -> 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...
  35. 1 point
    You can rename you whole /var/cache folder to /var/cache_old - Presta will regenerate it with next page call
  36. 1 point
    Hi, I had the same problem. The errors are not very informative, misleading even. The solution was found by checking the compressed classic.zip: you see only content, not the main classic folder. So the problem in my case was that i zipped the main directory with the content, instead of only the content of the theme. To do it right: Export the classic file from the admin interface Unzip it to "classic" folder Go to the /config folder and change in the config.yml the name and display_name ("classicplus") Go up one directory level (so you are now in root of the "classic" folder) Select all files and folders Compress to zip, with the name for file as given in the namefield ("classicplus.zip") That file you can upload as a theme Hope this helps someone!
  37. 1 point
    Hello: For adding and extra action in AdminController of your module you do not need to touch any tpl or twig file. Just need some pieces of code in your AdminController.php file: $this->addRowAction('newaction'); then public function displayNewactionLink($token = null, $id = null) { $this->context->smarty->assign(array( 'href' => self::$currentIndex.'&'.$this->identifier.'='.(int)$id .'&action=newaction&token='.($token != null ? $token : $this->token), 'action' => $this->l('New Action'), 'icon' => 'icon-mail-forward', )); return $this->context->smarty->fetch($this->module->getLocalPath().'views/templates/admin/list_action_forward.tpl'); } Just copy the same code of the edit button action to your file list_action_forward.tpl and modifiy it. finally public function processNewaction() { //do something } Regards
  38. 1 point
    Pas mieux ! J'avais écrit un article il y a quelques années : https://www.johanncorbel.fr/le-dropshipping-bien-ou-pas-bien/
  39. 1 point
    Hi JBW, I did a few cache refreshes and the color has changed now ! A very BIG thank you from Belgium to help solving this problem ! Oli
  40. 1 point
    OK, i found the solution: remove public_html/controllers/front/listing/CategoryController.php Clear/toggle cache settings should probably clear contents of listing/
  41. 1 point
    Du coup, le problème venait bien du hook. Il n'existait tout simplement pas dans le controller par défaut ... Du coup j'ai fait un override en rajoutant le hook à la fonction d'update. Merci pour ton aide en tout cas !
  42. 1 point
    Old thread, but fresh solution for me. I had this error in my cart ( Minus / Plus/ delete buttons) were not updating the quantities. It was because I removed the 'footer' by commenting everything in the "themes\default-bootstrap\footer.tpl" file. But, at the end of this file there is an include of the global.tpl file ==> {include file="$tpl_dir./global.tpl"} And the baseUSri (for JS) is defined in this file. Moving the end of the comment " *} " just before the include line solved my issue. Hope this helps.
  43. 1 point
    Tienes el módulo gratuito de Vekia: https://www.prestashop.com/forums/topic/200127-modulo-gratis-unión-europea-cookie-ley-responsive/ https://mypresta.eu/modules/front-office-features/european-union-cookie-law.html Reseña del módulo: http://victor-rodenas.com/anadir-aviso-de-cookie-en-prestashop
  44. 1 point
    Eu am atat pe laptop (thunderbird) cat si pe telefon setat emailul pe care vin notificarile de comenzi noi. Fiecare mail nou vine cu sunetul aferent. Sper sa te ajute informatia.
  45. 1 point
    Hi there, I need to merge two v1.6 shops into a new v1.7 shop. I need to transfer the products, categories, users and orders. What is the best way to do this? Which addons can I use? I presume a export-merge-import solution is the best way to go. Thanks, Roger
  46. 1 point
    Busca esta parte <!--{if $packItems|@count > 0} <div class="short_description_pack"> <h3>{l s='Pack content'}</h3> {foreach from=$packItems item=packItem} <div class="pack_content"> {$packItem.pack_quantity} x <a href="{$link->getProductLink($packItem.id_product, $packItem.link_rewrite, $packItem.category)|escape:'html':'UTF-8'}">{$packItem.name|escape:'html':'UTF-8'}</a> <p>{$packItem.description_short}</p> </div> {/foreach} </div> {/if}--> </div> <!-- end short_description_block --> y debajo pon esto {if $content_only} {if $product->description} {$product->description} {/if}{/if}
  47. 1 point
    Mejor asi array( 'type' => 'swap', 'label' => $this->l('New multiple select'), 'desc' => $this->l('Show the multiple select'), 'name' => 'MULTIPLE_SELECT[]', 'required' => false, 'multiple' => true, 'default_value' => $this->l('Multiple select'), 'options' => array( 'query' => OrderState::getOrderStates((int)$this->context->language->id), 'id' => 'id_order_state', 'name' => 'name' ) ),
  48. 1 point
    Comme par magie, la bande "new" est revenue sur les images J'ai cherché partout et ça s'est aucune part : {if isset($product.new) && $product.new == 1} <a class="new-box" href="{$product.link|escape:'html':'UTF-8'}"> <span class="new-label">{l s='New'}</span> </a> {/if} Si quelqu'un a une idée. Merci
  49. 1 point
  50. 1 point
    สวัสดีครับผม :-) ผมเจมส์ครับ เพิ่งมาลองใช้ตัวนี้ เร็วดีครับ :-D
×
×
  • Create New...

Important Information

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