Jump to content

Search the Community

Showing results for tags 'order_conf.html'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 9 results

  1. hello everyone, I'm trying to modify PaymentModule.php to have in the order confirmation email to the customer the link to the product (a href ......) throung the product name in the table. I modified PaymentModule.php (studying on the forum) from line 423 as follows (//link evidence the mods) // Construct order detail table for the email $products_list = ''; $virtual_product = true; $product_var_tpl_list = []; foreach ($order->product_list as $product) { $price = Product::getPriceStatic((int) $product['id_product'], false, ($product['id_product_attribute'] ? (int) $product['id_product_attribute'] : null), 6, null, false, true, $product['cart_quantity'], false, (int) $order->id_customer, (int) $order->id_cart, (int) $order->{Configuration::get('PS_TAX_ADDRESS_TYPE')}, $specific_price, true, true, null, true, $product['id_customization']); $price_wt = Product::getPriceStatic((int) $product['id_product'], true, ($product['id_product_attribute'] ? (int) $product['id_product_attribute'] : null), 2, null, false, true, $product['cart_quantity'], false, (int) $order->id_customer, (int) $order->id_cart, (int) $order->{Configuration::get('PS_TAX_ADDRESS_TYPE')}, $specific_price, true, true, null, true, $product['id_customization']); $product_price = Product::getTaxCalculationMethod() == PS_TAX_EXC ? Tools::ps_round($price, Context::getContext()->getComputingPrecision()) : $price_wt; //link $link = $this->context->link->getProductLink($product['id_product']); // END LINK $product_var_tpl = [ 'id_product' => $product['id_product'], 'id_product_attribute' => $product['id_product_attribute'], 'reference' => $product['reference'], //name ORIGINAL 'name' => $product['name'] . (isset($product['attributes']) ? ' - ' . $product['attributes'] : ''), //link 'name' => '<a href='.$link.'>'.$product['name'].(isset($product['attributes']) ? ' - '.$product['attributes'] : '').'</a>', //end link 'price' => Tools::getContextLocale($this->context)->formatPrice($product_price * $product['quantity'], $this->context->currency->iso_code), 'quantity' => $product['quantity'], 'customization' => [], ]; but the result is the following: in the confirmation email the html code is shown as text and does not work as a href tag. and the html is <font size="2" face="Open-sans, sans-serif" color="#555454"> <strong>&lt;a href=https://www.sensiline-shop.it/online/calzini/8-calzini-leggeri-ed50011.html&gt;CALZINI LEGGERI - ED50011 - Colore: BIANCO - Taglia: S-35/38&lt;/a&gt;</strong> </font> Can someone help me? Thanks in advance
  2. hello everyone, I'm trying to modify PaymentModule.php to have in the order confirmation email to the customer the link to the product (a href ......) throung the product name in the table. I modified PaymentModule.php (studying on the forum) from line 423 as follows (//link evidence the mods) // Construct order detail table for the email $products_list = ''; $virtual_product = true; $product_var_tpl_list = []; foreach ($order->product_list as $product) { $price = Product::getPriceStatic((int) $product['id_product'], false, ($product['id_product_attribute'] ? (int) $product['id_product_attribute'] : null), 6, null, false, true, $product['cart_quantity'], false, (int) $order->id_customer, (int) $order->id_cart, (int) $order->{Configuration::get('PS_TAX_ADDRESS_TYPE')}, $specific_price, true, true, null, true, $product['id_customization']); $price_wt = Product::getPriceStatic((int) $product['id_product'], true, ($product['id_product_attribute'] ? (int) $product['id_product_attribute'] : null), 2, null, false, true, $product['cart_quantity'], false, (int) $order->id_customer, (int) $order->id_cart, (int) $order->{Configuration::get('PS_TAX_ADDRESS_TYPE')}, $specific_price, true, true, null, true, $product['id_customization']); $product_price = Product::getTaxCalculationMethod() == PS_TAX_EXC ? Tools::ps_round($price, Context::getContext()->getComputingPrecision()) : $price_wt; //link $link = $this->context->link->getProductLink($product['id_product']); // END LINK $product_var_tpl = [ 'id_product' => $product['id_product'], 'id_product_attribute' => $product['id_product_attribute'], 'reference' => $product['reference'], //name ORIGINAL 'name' => $product['name'] . (isset($product['attributes']) ? ' - ' . $product['attributes'] : ''), //link 'name' => '<a href='.$link.'>'.$product['name'].(isset($product['attributes']) ? ' - '.$product['attributes'] : '').'</a>', //end link 'price' => Tools::getContextLocale($this->context)->formatPrice($product_price * $product['quantity'], $this->context->currency->iso_code), 'quantity' => $product['quantity'], 'customization' => [], ]; but the result is the following: in the confirmation email the html code is shown as text and does not work as a href tag. and the html is <font size="2" face="Open-sans, sans-serif" color="#555454"> <strong>&lt;a href=https://www.sensiline-shop.it/online/calzini/8-calzini-leggeri-ed50011.html&gt;CALZINI LEGGERI - ED50011 - Colore: BIANCO - Taglia: S-35/38&lt;/a&gt;</strong> </font> Can someone help me? Thanks in advance
  3. Bonjour tout le monde, J'ai un petit souci avec les mails en html qui sont envoyés aux clients. Il s'agit de l'order_conf.html. Le mail est bien envoyé au client mais lorsqu'il l'affiche, la/les lignes produits sont décalées sur la droite et les blocs livraison, adresse de livraison et adresse de facturations sont sur la gauche. J'ai déjà essayé de reprendre un template que j'ai trouvé sur le web mais sans succès malheureusement. Avez-vous une idée svp? Merci Prestashop version 1.7.8.8 -> langue utilisée uniquement le français.
  4. Hi I am using PS 1.6.0.14 and wish to change the order conf. email to customers. I need to add product ID and remove reference. I did look in the order_conf.html, and changed the label, but I don't know where to change what is displayed for {products}. So I hope someone can help.
  5. Hi, I was wondering if it is possible to add the supplier details like (phone, name, address) into the order_conf.html template that goes out to the customer. for example: {supplier_name} = 'Supplier' {supplier_address} = 'Prestashop lane 231' etc... In classes/PaymentModule.php i tried to add the following code in the $data array (after line 560) $address_id=Address::getAddressIdBySupplierId($this->product->id_supplier); $data = array ( {supplier} => '$supplier->name', It is a wish of one of our customers, but we can't find a module, and i'm pretty new with prestashop, so any suggestions would be helpful Thanx!
  6. Dobre rano, Aktualne sa snazim riesti email sablonu: order_conf.html! Prikladam Vam html: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Language" content="sk"> <title>Message from {shop_name}</title> <style type="text/css"> a { color: #000000; } a:visited { color: #000000; } a:active { color: #000000; } .style1 { color: #FF0000; } .style3 { text-transform: uppercase; font-weight: bold; font-size: 12px; color: #FFFFFF; background-color: #000000; } .style4 { background-color: #000000; } .style5 { color: #FFFFFF; } .style6 { background-color: #FFFFFF; } .style7 { text-transform: uppercase; background-color: #000000; } .style8 { text-align: center; } .style9 { font-weight: bold; } </style> </head> <body> <table style="font-family: Verdana,sans-serif; border: 1px solid #ccc; border-radius: 3px; box-shadow: 0 0 5px #888; font-size: 11px; color: #374953; width: 550px;" align="center"> <tbody> <tr> <td align="left" style="width: 700px"> <a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a> </td> </tr> <tr><td style="width: 700px"> </td></tr> <tr> <td align="left" style="width: 700px">Dobrý deň <strong class="style1">{firstname} {lastname}</strong>,<br /><br /> Ďakujeme za Vašu objednávku v obchode <strong>{shop_name}</strong>!</td> </tr> <tr><td style="width: 700px"> </td></tr> <tr> <td align="left" style="padding: 0.5em 1em; width: 700px;" class="style3"> Detail vašej objednávky</td> </tr> <tr><td style="width: 700px"> </td></tr> <tr> <td align="left" style="width: 700px"> Objednávka: <strong><span class="style1">{order_name}</span> <br> </strong> Dátum objednávky: <strong>{date}</strong> <br >Platba: <strong>{payment}</strong> </td> </tr> <tr><td style="width: 700px"> </td></tr> <tr> <td align="left"> <table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;"> <!-- Title --> <tr style="background-color:#B9BABE; text-align:center;" class="style5"> <th style="width:200px; padding: 0.6em 0;" class="style7"> kód produktu</th> <th style="width:200px; padding: 0.6em 0;" class="style7"> názov produktu</th> <th style="width:100px; padding: 0.6em 0;" class="style7"> cena/ks</th> <th style="width:100px; padding: 0.6em 0;" class="style7"> počet</th> <th style="width:100px; padding: 0.6em 0;" class="style7"> cena spolu</th> </tr> <!-- Products --> {products} {discounts} <!-- Footer: prices --> <tr style="text-align:right;"> <td style="width: 200px"> </td> <td colspan="3" style="padding:0.6em 0.4em;">Produkty spolu:</td> <td style="padding:0.6em 0.4em; width: 100px;" class="style8">{total_products}</td> </tr> <tr style="text-align:right;"> <td style="width: 200px"> </td> <td colspan="3" style="padding:0.6em 0.4em;">Celková zľava:</td> <td style="padding:0.6em 0.4em; width: 100px;" class="style8">{total_discounts}</td> </tr> <tr style="text-align:right;"> <td style="width: 200px"> </td> <td colspan="3" style="padding:0.6em 0.4em;">Preprava:</td> <td style="padding:0.6em 0.4em; width: 100px;" class="style8">{total_shipping}</td> </tr> <tr style="text-align:right; font-weight:bold;"> <td style="width: 200px"> </td> <td colspan="3" style="padding:0.6em 0.4em;" class="style9"> Výsledná suma:</td> <td style="padding:0.6em 0.4em; width: 100px;" class="style8">{total_paid}</td> </tr> </table> </td> </tr> <tr><td style="width: 700px"> </td></tr> <tr> <td align="left" style="padding: 0.5em 1em; width: 700px;" class="style3"> Preprava</td> </tr> <tr><td style="width: 700px"> </td></tr> <tr> <td align="left" style="width: 700px"> Prepravca: <strong>{carrier}</strong> </td> </tr> <tr><td style="width: 700px"> </td></tr> <tr> <td> <table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;"> <tr style="background-color:#B9BABE; text-transform:uppercase;" class="style5"> <th style="text-align:left; padding: 0.3em 1em; width: 350px;" class="style4"> Dodacia adresa</th> <th style="text-align:left; padding: 0.3em 1em; width: 350px;" class="style4"> fakturačná adresa</th> </tr> <tr> <td style="padding:0.5em 0 0.5em 0.5em; " class="style6"> {delivery_block_html} </td> <td style="padding:0.5em 0 0.5em 0.5em; "> {invoice_block_html} </td> </tr> </table> </td> </tr> <tr><td style="width: 700px"> </td></tr> </table> </body> </html> Problem je v tom, ze v editore mail sablona vyzera upne inac ako v doslej poste zakaznika. Mail sablony nema instalovane v adresary sablony, iba v korenovom adresary. Dalej neviem, ako mam zarovnat vypis produktov, cien atd na stred v email potvrdeni...
  7. Hi When a customer finishes the order, the "order confirmation" mail is sent. As you can see on the attached image, an extra table cell is created at the begining and i would like to remove it. But that can't be done within order_conf.html file! Which php file should i modify? Becuase i'm assuming this is stored in {products} variable. I'm using PS 1.5.4.1 Thank you and best regards, Housy
  8. Hallo Experten, ich möchte einen weiteren Status mit eMail-Benachrichtiungin in den Bestellvorgang einfügen. Ich habe unter /mails/de die Dokumente auftragsb.html und auftragsb.txt neu erstellt und im Backend verknüpft. Den Inhalt habe ich 1:1 von order_conf rauskopiert und in die o.g Dokumente eingefügt, da ich das Gerüst und die Funktion genauso übernehmen möchte. Es zeigt mir jetzt leider beim Versand der Auftragsbestätigung nur die Variablen an. Keine Zahlen, Lieferadresse, Summierungen usw. Das einzige was stimmt ist der Name, Firma und Bruttogesamt. Wie kann ich das nun machen das die selben Funktionen 1:1 übernommen werden in das neu angelegt dokument. Danke + MfG
  9. Bonjour. Je souhaiterai redéfinir les valeurs de la balise {products} présente dans l'email de commande (order_conf.html) mais je n'arrive pas à trouver le fichier dont elle dépend. Est-ce que quelqu'un peut m'éclairer ? Merci. Prestashop version 1.3
×
×
  • Create New...