All Activity
- Past hour
-
500 Internal Server Error
Osama89 replied to Osama89's topic in Utilisation de PrestaShop : configuration et difficultés
-
Black Sheep Merch joined the community
-
Shree Balaji Marbles joined the community
-
500 Internal Server Error
ComGrafPL replied to Osama89's topic in Utilisation de PrestaShop : configuration et difficultés
Enable debug mode / depend on version clear cache in VAR folder. -
Osama89 started following 500 Internal Server Error
-
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.
-
JorgeGL started following Pago con Redsys graba pedidos aunque no se realice el pago
- Today
-
artursg started following Update product stock
-
Hello, Did you find the solution via Webservice for this?
- 5 replies
-
- prestashop api
- webservice
-
(and 1 more)
Tagged with:
-
swissamf changed their profile photo
-
AddWeb Solution started following Carrier (Click and Collect Only)
-
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!
-
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 !
-
My Contact Us did not working
AddWeb Solution replied to Truong Chan Duong's topic in General topics
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! -
izzakhan33 changed their profile photo
-
ourxline changed their profile photo
-
1.6 i 8 przecież bazy danych różnią się, sama zmiana adresu sklepu nie pomoże chyba że zastosujesz zmiany w msql,
-
lifestyleaesthetics changed their profile photo
-
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!
-
Jak wykluczyć przewoźnika z darmowej dostawy
oszman replied to oszman's question in Wsparcie i pomoc użytkowników
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ą !:) -
Indrani Enterprises changed their profile photo
-
digitalhub7 changed their profile photo
-
how to call php function in .tpl page
ventura replied to dysmant's topic in Configuring and using PrestaShop
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} -
sanjosetree changed their profile photo
-
vihaans changed their profile photo
- Yesterday
-
cbdremovalssydney changed their profile photo
-
how to call php function in .tpl page
dysmant replied to dysmant's topic in Configuring and using PrestaShop
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 -
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 !
-
Jak wykluczyć przewoźnika z darmowej dostawy
Mabcin replied to oszman's question in Wsparcie i pomoc użytkowników
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. -
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?
-
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?
-
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.
-
NDMIT - VARANASI changed their profile photo
-
how to call php function in .tpl page
ventura replied to dysmant's topic in Configuring and using PrestaShop
I didn't understand it well try this 'page' => $this->_getProductID($params['product']->id) -
Broken page / Margins around page / Pop up issues
Andrei H replied to Kyouma's topic in General topics
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).