Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Hello, I am having this message "500 Internal Server Error" when I am trying to open my website, back-office and the main site. This happened when I did a restore to my website after updating it to the last version with the module 1 click update. Any ideas on how I can fix the problem, and try to connect to my website ? Thanks.
  3. Asegúrate que el módulo sea compatible con tu versión. Mira si el módulo tiene alguna opción para pedidos no terminados, puede que sea parte de su configuración.
  4. Hello, Did you find the solution via Webservice for this?
  5. Today
  6. I would like to create a page describing various product properties, and under each text I would like to place, for example, 3 selected product thumbnails. Is there any hook I can use to do this? ----------
  7. Hi, Modify the product page template (product.tpl) in your theme to conditionally hide the shipping section or display "Shipping: N/A" for products that are only available for click and collect. You can use PHP logic to check if the product belongs to a category or has a specific attribute indicating it's only available for click and collect. If so, display "Shipping: N/A" or hide the shipping section altogether. OR Look for a module in the Prestashop marketplace that allows you to manage shipping options more granularly. Ref : https://addons.prestashop.com/en/search?search_query=shipping Hope this would help. Thanks!
  8. Bonjour tout le monde, voilà j'ai fini de développé depuis quelques jour un module qui utilise l'API Google Maps pour autocompléter les adresse, il est 100% fonctionnel en local et sur un site de test également, sous le thème de base "classic" Je l'ai donc installer directement via le BO avec le dossier de mon module en .zip et je l'ai configuré. Et à ma grande surprise, il ne fonctionne pas. Et je remarque que sur l'enregistrement de mes script, seul l'appel à l'API fonctionne, pas pas l'appel à mon fichier JS de mon module, je vous partage l'extrait ci-dessous : public function hookActionFrontControllerSetMedia() { // Vérifier si nous sommes sur la page de commande ou de l'adresse $currentUrl = $_SERVER['REQUEST_URI']; if (strpos($currentUrl, '/commande') !== false || strpos($currentUrl, '/adresse') !== false) { $this->context->controller->registerJavascript( 'module-googleadressautocomplete', 'modules/' . $this->name . '/views/js/googleadressautocomplete.js', array('position' => 'bottom', 'priority' => 10) ); $countries = Configuration::get('GOOGLEADRESSAUTOCOMPLETE_COUNTRIES'); Media::addJsDef(array('autocompleteCountries' => explode(',', $countries))); $apiKey = Configuration::get('GOOGLEADRESSAUTOCOMPLETE_APIKEY'); $this->context->controller->registerJavascript( 'google_maps_api', 'https://maps.googleapis.com/maps/api/js?key=' . $apiKey . '&callback=initAutocomplete&libraries=places', array('server' => 'remote', 'position' => 'bottom', 'priority' => 20) ); } } la seconde partie est bien prises en compte et fonctionne, le script du lien de l'API est bien charger sur ma page, mais le premier bout de code qui veut injecter mon fichier javascript de mon module n'est pas récupérer sur le site. Comment est-ce possible ? Je m'arrache les cheveux depuis hier après-midi. Si quelqu'un à déjà eu le cas, ce serais cool, merci à vous et bonne journée !
  9. Hi, Check that your email settings in Prestashop are correctly configured. Double-check the SMTP server settings (host, port, username, password, encryption) provided by your email service provider. Sometimes, incorrect SMTP settings can prevent emails from being sent. Enable debug mode in PrestaShop to get more detailed error messages. Hope this would help. Thanks!
  10. 1.6 i 8 przecież bazy danych różnią się, sama zmiana adresu sklepu nie pomoże chyba że zastosujesz zmiany w msql,
  11. Hi, In your Prestashop admin panel, go to Catalog > Products and filter products by "Out of stoc." Then, edit each product and change its visibility to "Nowhere." This will hide the products from catalog listings and search results. Instead of directly modifying the core controllers, you should override them in your custom module or theme. This allows you to maintain the original functionality while adding your custom logic. Override the templates responsible for displaying product listings in your theme. Here, you can add logic to check if the product is out of stock and conditionally display it. This way, the products will still be accessible via direct URL but won't appear in search results or catalog listings. When overriding controllers or templates, make sure to handle pagination correctly to avoid issues like missing products or incorrect page counts. Thoroughly test your changes to ensure that hiding out-of-stock products doesn't break any existing functionality and that products remain accessible via URL. Hope this would help. Thanks!
  12. Hola Juanman, ya tengo instalado la versión en mi servidor, lo que pasa es que he instalado y estoy terminando de diseñar la plantilla Panda. Cuando haga la migración tengo que seleccionar la plantilla original o como? Gracias compañero
  13. W preferencjach wysyłki mam ustawione Darmowa dostawa obowiązuje od 300 zł @Mabcin nie używam takiego modułu ja nie jestem aż tak ogarnięty w prestashop same podstawy ogarniam (robili nam stronę to tam swoje moduły dodawali) więc szukam rozwiązania jak sam to zrobić mogę bardzo proszę o pomoc waszą !:)
  14. better to make another type of approach Modify the _getProducts function, either by modifying the query to add the _getProductID value, or directly modifying or creating a new array to add a new key. eg public function hookDisplayProductAdditionalInfo($params) { $id_shop = Context::getContext()->shop->id; $products = $this->_getProducts($id_shop); $product_with_ids = array(); foreach ($products as $product) { $id_product_from_db = $this->_getProductID($product['id_product']); $product_with_ids[] = array_merge($product, ['id_product_from_db' => $id_product_from_db]); } $this->context->smarty->assign([ 'products' => $product_with_ids ]); return $this->display(__FILE__, 'product.tpl'); } in tpl {foreach from=$products item=product} {$product.id_product_from_db} {/foreach}
  15. Yesterday
  16. However, I need to get the value after {foreach} on the .tpl page, like this example: {foreach from=$countries item=c} {assign var='id_country' value=$page->_getCountID($c.id_country)} {/foreach} {foreach from=$products item=p} {assign var='id_product' value=$page->_getProductID($p.id_product)} {/foreach} and, on the smarty array in .php file $this->context->smarty->assign([ 'countries' =>$countries, 'products' =>$products, 'page' =>$this, ]); return $this->display(__FILE__, 'product.tpl'); this script causes an error 'page' =>$this, BAD ENGLISH, Sorry
  17. ich halte es für einen Fehler zu viele Produkte in einen Shop zu haben. Besser ist m.M. das mehrere Shop besser ranken. Und wenn einer untergeht das bleiben die andern noch online.
  18. Bonjour, Dans Prestashop 8.1.5, j'ai importé sans problème mes 1090 clients en un fichier SCV via Paramètres Avancés>Importer. Je tente à présent d'importer le fichier SCV des 1090 adresses : l'import bloque à la ligne 605 avec le message d'erreur "La propriété Address->city n'est pas valide". Rien n'est importé. Je me suis dis "le fichier contient peut-être trop de données, je vais le scinder en deux ou trois fichiers. J'ai importé sans problème le 1er fichier contenant 550 adresses. Quand j'importe le 2ème fichier il bloque à la ligne 105, il faut donc que je divise ce fichier en fichiers de moins de 105 lignes : ça passe. Ensuite il bloque à 65, puis à 5 lignes. C'est l'enfer, il faut que je divise en petits fichiers de 4 lignes. Est-ce que quelqu'un comprend ce qu'ils se passe ? Merci !
  19. Ale chyba stosując ten pomysł co podałeś nie będzie mu działał moduł wyświetlający "do darmowej dostawy brakuje..." oczywiście jeśli go używa.
  20. Cześć, Czy mógłbyście podpowiedzieć mi czy dobrze myślę i to co chcę zrobić ma sens? Mam mały sklep na starej prestashop 1.6.1.20. Chciałem sobie go zaktualizować do presty 8+ pomyślałem więc by stworzyć nowy czysty sklep na 8 (nie bawić się ze śmieciami, które zapewne przez tyle lat na 1.6 już mam) na subdomenie np. dev by móc poinstalować i skonfigurować różne moduły, które mają ograniczenia na domenę. Czy to dobry pomysł czy lepszym rozwiązaniem jednak będzie grzebanie się w aktualizacje 1.6? Czy po instalacji 8 na subdomenie np. dev wystarczy wszystkie pliki starego sklepu usunąć z public_html i przenieść te pliki z folderu dev do public_html? Czy później wystarczy w bazie Mysql zmienić w _shop_url domain oraz domain_ssl z dev.mojadomena.pl na mojadomena.pl i to wszystko?
  21. Vekia hat sich leider hier aus dem Forum zurückgezogen und es gibt einige Beiträge dass er keinen Support für seine Module mehr leistet. Das Einfügen der Spalte ist eigentlich kein großes Problem, was normalerweise nicht funktioniert ist mit einem Filter mehrere Seiten durchzublättern. Was genau ist denn das problem mit dem Modul?
  22. I am trying to hide out of stock products from Catalog and Search but leave accesible via URL. How to do it? Are there modules for it? Tried to modify search controller but in search I lost paging (not all product showed). Any tips?
  23. Hola, haces la instalación de la nueva versión en tu servidor o en local y migras los datos que necesites de la tienda de origen. Al ser una nueva instalación tendrás que trabajar con la plantilla de la nueva versión. El proceso es rápido y al menos en la migración no he tenido problemas. Luego ya está el tema de configurar prestashop 8 y el tema del diseño que es lo que realmente lleva tiempo.
  24. I didn't understand it well try this 'page' => $this->_getProductID($params['product']->id)
  25. Hello, I just had a look. This is not really a PrestaShop specific issue, but a CSS issue. In custom.css you have the following: &:nth-child(1) { top: 180px; transform: scale(0.9); } The transform property is causing the issue. As you can see highlighted in my screenshot, once that is removed/commented, the page behaves as expected (at least in my case).
  26. Hi @jamshidpour, I had a look over it and the problem seems to be the fact that the module is not declared as compatible with PrestaShop 8. Other than that, it still works fine. You can just do the following in order to make it work: - download the latest archive - unarchive it - go into the fixconfigurationlang directory - edit the fixconfigurationlang.php file - replace line 44 ('max' => '1.7.99.99',) with the following: 'max' => '8.99.99', - save the file - archive the directory fixconfigurationlang directory Once these steps are completed, you can try and upload the new archive. It should work at this point.
  27. Zakładam że przeinstalowanie samego modułu powinno wystarczyć.
  1. Load more activity
×
×
  • Create New...