Jump to content

Leaderboard


Popular Content

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

  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
    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
  5. 1 point
  6. 1 point
  7. 1 point
    Sorry, I cannot help you when you talk in steno. Show the code. Show what you did. Show what went wrong.
  8. 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 ❤️
  9. 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 !
  10. 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
  11. 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
  12. 1 point
    O problema é no seu arquivo ZIP, não está no formato certo para upload no PrestaShop. Descompacte ele em seu PC, depois sobre via FTP ou corrige o zip. Dentro do zip deve ter uma pasta com o nome do módulo apenas e dentro dessa pasta os arquivos.
  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
    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 !
  15. 1 point
    Diciamo di si rifacendo il sito da capo
  16. 1 point
    Hola, podrías linkear la tienda?
  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
    You can also add conditions to the code for which templates you want to use the hook. E.g. public function hookActionEmailSendBefore($param) { ... /* list of email templates for which I want a hook */ $tpl_names = array('order_conf', 'bankwire', 'in_transit'); $tpl_name = (string) $param['template']; $id_lang = (int) $param['id_lang']; /* when the email template is in the list */ if (in_array($tpl_name, $tpl_names, true)) { .... } }
  21. 1 point
  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
    Tried your code, @D. Tengler, and it worked PERFECTLY. Many thanks, it really is much appreciated.
  24. 1 point
    Insert {$product | @var_dump} into the tpl template and you will see all the variables.
  25. 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.
  26. 1 point
    many thanks, css height does the trick.
  27. 1 point
    In primis ringrazio tutti per il supporto e mi spiace siano nate alcune incomprensioni: senza entrare nel merito di quanto fosse corretto/standard la procedura suggerita da PrestaServicePro, volevo avvisarvi che mediante quella procedura ho migrato il sito senza problemi.
  28. 1 point
    ¡Hola Foro! Desde Hcc Soft estamos buscando un programador junior freelance para incorporarse al equipo ayudándonos con algunos aspectos. Interesados escribídme, Gracias.
  29. 1 point
    Hi, Activate debug mode of the shop and see the error result. Also, check if you have custom modules and disable/enable them one by one. Maybe some of them make a conflict.
  30. 1 point
  31. 1 point
    Hello, before save the file open inspect element page like the shown image: https://jmp.sh/ZvUo6bH Then try to save product again, in the opened "inspect element" tab you will see the request. One of them will be in red color. Click it and share this image here please.
  32. 1 point
    Or create custom hook and add to product-add-to-cart.tpl Module: <?php if (!defined('_PS_VERSION_')) { exit; } class my_module extends Module { public function __construct() { $this->name = 'my_module'; $this->tab = 'other'; $this->version = '1.0.0.0'; $this->author = ''; $this->author_email = ''; $this->author_website = ''; $this->bootstrap = true; parent::__construct(); $this->displayName = 'Add my text to product detail page'; $this->description = 'Module add my text to product page'; $this->confirmUninstall = 'Uninstall?'; $this->ps_versions_compliancy = array('min' => '1.7.0', 'max' => '1.7.6.9'); $this->default_lang = (int)Configuration::get('PS_LANG_DEFAULT'); } public function uninstall() { $id_hook = Hook::getIdByName('displayMyProductActions'); $hook = new Hook($id_hook); $hook->delete(); if (Shop::isFeatureActive()) { Shop::setContext(Shop::CONTEXT_ALL); } if (!parent::uninstall()) { return false; } return true; } public function install() { if (Shop::isFeatureActive()) { Shop::setContext(Shop::CONTEXT_ALL); } if (!parent::install()) { return false; } if (!$id_hook = Hook::getIdByName('displayMyProductActions')) { $hook = new Hook(); $hook->name = 'displayMyProductActions'; $hook->title = 'My new hook'; $hook->description = 'This is a custom hook!'; $hook->position = 1; $hook->add(); // return true on success } $this->registerHook('displayMyProductActions'); return true; } public function hookDisplayMyProductActions($params) { $id_product = Tools::getValue('id_product'); $my_query = Db::getInstance()->getValue('SELECT my_value FROM'._DB_PREFIX_.'my_table WHERE id_product = '.$id_product); if ($my_query){ return '<span class="my-variable">'.$my_query.'</span>'; } else { return ''; } } } HOOK in product-add-to-cart.tpl: {hook h='displayMyProductActions' product=$product}
  33. 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
  34. 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?
  35. 1 point
    I see you are forced to select a layout for the wallet which is good, is that a modification to Prestashop or are you using a addon module?
  36. 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).
  37. 1 point
    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
  38. 1 point
  39. 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...
  40. 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!
  41. 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
  42. 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
  43. 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/
  44. 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
  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
    1. where exactly, by this i mean what file you changed? (literal tags doesnt work in editor in preferences -> CMS) you can add simple {if} condition where you can check id of the CMS page. i mean: {if $cms->id==1} {literal} SCRIPT CODE HERE {/literal} {/if} $cms->id==1 1 is an ID of the cms page for which you want to include script. you can get ID of cms page in preferences -> CMS
×
×
  • Create New...

Important Information

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