All Activity
- Past hour
-
remodelingOmaha joined the community
-
xtramen started following PrestaShop Billing Context Error "ps_accounts_facade"
-
Hi guys, I have successfully integrated the Prestashop account into my module with this tutorial: https://docs.cloud.prestashop.com/4-prestashop-account/#prerequisites However, the Prestashop billing service does not want to work. I have strictly followed the official tutorial (https://docs.cloud.prestashop.com/5-prestashop-billing/3-tutorial/#edit-the-template-file), but I get the following error message: You have requested a non-existent service "#####.ps_billings_facade". Did you mean this: "######.ps_accounts_facade"? [Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException 0] Does anyone have an idea?
-
Prestashop 1.6.1.24 php 7.4 stable64
-
MiriamWalk joined the community
-
flin28 started following Problème de stock produits déclinaisons
-
Bonjour, Nous avons eu un problème de stock avec tout les produits qui ont des déclinaisons Par exemple: Quantité Nom Kit Pro New Colors - Couleur - Starport Black 5 Kit Pro New Colors - Couleur - Frozen Throne 0 Kit Pro New Colors - Couleur - Queen Heart 0 Si je saisie 5 dans le Starport Black, sur le site le quantité est dans Queen Heart. SOS, en vous remerciant par avance.
-
HustedLeach08 joined the community
-
Talent Movers joined the community
-
dgme started following Problém s EAN kódy v Prestashopu
-
dgme joined the community
-
Bonjour, j'aimerais pouvoir choisir les mots à mettre minuscule les mots suivants. Par exemple: - "Taille De La Capsule" devient "Taille de la capsule" - "68 Mm" devient "68 mm" - "Prix De Vente Au Japon" devient "Prix de vente au Japon" - "200 Yen" devient "200 yen" - " 5 Pcs" devient "5 pcs" - "25 G" devient "25 g" Comment changer ça dans Prestashop ou le code directement ? Quelqu'un peut m'aider ?
-
Royalinfinity changed their profile photo
-
Du hast doch beide Versionen im Download erhalten, oder? Die Angaben bei MyPresta sind etwas rätselhaft und ohne Datum / Angaben zur Versionsunterstützung, offenbar hat Prestashop die Produktseiten des BO irgendwann geändert (oder gibt es zwei gleichzeitig?). Ich würde das ältere Modul deinstallieren und das neue installieren, vielleicht ist das ältere nicht mit deiner Prestashop-Version kompatibel. Sicherheitshalber: Welche PHP-Version läuft bei dir?
- Today
-
AddWeb Solution started following Hide the left column in all brands page
-
Hide the left column in all brands page
AddWeb Solution replied to _Veronika_'s topic in General topics
Hi, In this directory, themes/classic/templates look for the code that usually enclosed within {block name="left_column"} and {/block} tags. Surround the code for the left column with a conditional statement that checks if the current page is a brand page or a manufacturer page. Sample code : {if $page.page_name == 'manufacturer' || $page.page_name == 'brand'} {block name="left_column"} // left column content here {/block} {/if} Clear the cache after making the changes and test if it works. I hope this would help. Thanks! -
ntitechpvtltd changed their profile photo
-
nathandymanservices changed their profile photo
-
Yoghi started following ERROR AL INSTALAR PRESTASHOP 8 EN LOCAL CON XAMPP
-
Ok, das ist schade, dass es keinen Support mehr gibt für diese Module. Vielleicht ist dann meine Prestashop Version zu neu. Vor dem Export/import der Produktdaten von unserem alten Webshop-System auf Prestashop hatten wir alle Produkte mit Brand-Artikelname benannt. Nun haben wir jedoch die Brand extrahiert und anders dargestellt. Deshalb soll nun der Brandname aus dem Artikelname verschwinden. Das macht jedoch dann die Suche nach allen Produkten einer Marke schwierig in der Artikelübersicht. Mit einer zusätzlichen Spalte, wo man per Drop-Down Menü die Marke auswählen kann, damit es dann alle Artikel dieser Marke anzeigt, wäre ich super happy. Falls das jemand programmieren kann, ich zahle dafür natürlich auch 🙂
-
Ich habe das Modul installiert und dann ist einfach nichts gekommen bei der Backoffice Übersicht bei Artikel. Ich weiss nicht, wie man das anders als "nicht funktioniert" deklarieren kann. Ok, ich bin kein ITler und kann nicht in den Codes nachprüfen, woran es scheitert. Vielleicht könnte ich dann eine genauere Auskunft geben.
-
Jeszcze sprawdź sobie tabelę ps_configuration, tab tez są url.
-
Czyli dokłanie takie coś jak pisałem wyżej, Ponowie pytanie czyli potem wystarczy zmienić w bazie tylko w 2 miejscach url tj: w _shop_url -> domain w _shop_url -> domain_ssl
-
Jak wykluczyć przewoźnika z darmowej dostawy
Mabcin replied to oszman's question in Wsparcie i pomoc użytkowników
Nie zauważyłem screana Twojego bo z telefonu pisałem. To może zostaw kuriera pobraniowego tak jak masz, że od wagi będzie dobierał odpowiednią stawkę za transport. A po prostu w inny przewożnikach typu np. paczkomat tak jak Ci podałem wyżej, że od ceny całkowitej. I zamówienia od 0 do 300 masz jakaś tam stawkę transportu, a powyżej 300 masz 0 -
Gurgaon Escort changed their profile photo
-
[SOLVED] PHP show all products with quantity combination equal to 0 ?
catzarov replied to catzarov's topic in Core developers
Hello, I found the solution myself, I will not use API but directly with database connection. The lower code for version 1.7.8.7 works correctly, which makes me very happy. I tested it on several products that were purchased in their last available sizes and had 0 quantity in the menu Monitoring -> "List of products with combinations but without available quantities for sale". With the code below, it is much faster to remove the 0 quantity. <?php $servername = "localhost"; // $username = ""; // $password = ""; // $dbname = ""; // $conn = new mysqli($servername, $username, $password, $dbname); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "SELECT id_product FROM ps17_product WHERE active = 1"; $result = $conn->query($sql); $active_products = array(); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { $active_products[] = $row["id_product"]; } } $zero_quantity_attributes = array(); foreach ($active_products as $product_id) { $sql = "SELECT pa.id_product_attribute FROM ps17_product_attribute pa JOIN ps17_stock_available sa ON pa.id_product_attribute = sa.id_product_attribute WHERE pa.id_product = $product_id AND sa.quantity = 0 AND pa.id_product_attribute NOT IN ( SELECT pa2.id_product_attribute FROM ps17_product_attribute pa2 JOIN ps17_stock_available sa2 ON pa2.id_product_attribute = sa2.id_product_attribute WHERE pa2.id_product = $product_id AND sa2.quantity > 0 )"; $result = $conn->query($sql); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { $zero_quantity_attributes[$product_id][] = $row["id_product_attribute"]; } } } $attribute_ids = array(); foreach ($zero_quantity_attributes as $product_id => $attributes) { foreach ($attributes as $attribute_id) { $sql = "SELECT id_attribute FROM ps17_product_attribute_combination WHERE id_product_attribute = $attribute_id"; $result = $conn->query($sql); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { $attribute_ids[$product_id][$attribute_id][] = $row["id_attribute"]; } } } } $attribute_names = array(); foreach ($attribute_ids as $product_id => $attributes) { foreach ($attributes as $attribute_id => $attribute_list) { foreach ($attribute_list as $attribute) { $sql = "SELECT name FROM ps17_attribute_lang WHERE id_attribute = $attribute AND id_lang = 1"; $result = $conn->query($sql); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { $attribute_names[$product_id][$attribute_id][] = $row["name"]; } } } } } if (count($attribute_names) > 0) { foreach ($attribute_names as $product_id => $attributes) { echo "<p>Product ID: $product_id</p>"; echo "<ul>"; foreach ($attributes as $attribute_id => $attribute_list) { foreach ($attribute_list as $attribute_name) { echo "<li>$attribute_name <form method='POST'><input type='hidden' name='product_id' value='$product_id'><input type='hidden' name='attribute_id' value='$attribute_id'><input type='submit' name='delete_attribute' value='DELETE'></form></li>"; } } echo "</ul>"; } } else { echo "No products with zero quantity found."; } if (isset($_POST['delete_attribute'])) { $product_id = $_POST['product_id']; $attribute_id = $_POST['attribute_id']; $sql_delete = "DELETE FROM ps17_product_attribute WHERE id_product = $product_id AND id_product_attribute = $attribute_id"; if ($conn->query($sql_delete) === TRUE) { echo "The attribute has been successfully deleted."; } else { echo "An error occurred when deleting the attribute: " . $conn->error; } } $conn->close(); ?> Best regards to all