jeanjeanjeana
Members-
Posts
13 -
Joined
-
Last visited
Profile Information
-
First Name
jean
-
Last Name
Wittmann
jeanjeanjeana's Achievements
Newbie (1/14)
0
Reputation
-
Hello, I'd like to add some information on my invoice(with help of SQL query), so I'd like to use HookdisplayPDFinvoice, but I don't know how to use it ... should I put the function in my module or in a existing file that I have to override ? Should I create a new tpl file with the information that are going to be displayed at the end of the invoice thanks to the hookdisplayPDFInvoice function ? Thanks for help or a litle tut for how tu use this hook =) (I work with presta 1.6)
-
Bonjour, J'aimerais ajouter des informations sur ma facture que je récupèrerais grâce à des requetés SQL j'ai donc voulus utiliser le hook : hookdisplayPDFInvoice. Mais je n'ai aucune idée de comment l'utiliser !! Je dois le placer dans un fichier déjà existant de perstashop ? Que je vais devoir override ? Ou dans mon module (qui n’a pas de réel lien avec la facture). Dois-je créer un fichier tpl avec les informations à afficher en bas de la facture ? Ou dois-je le placer ? Si quelqu'un a une réponse ou un petit tuto sur comment faire cela. Merci =)
-
HookDisplayPDFInvoice
jeanjeanjeana replied to jeanjeanjeana's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
OK thanks for moving the topic ! I'm new in prestashop ^^ -
HookDisplayPDFInvoice
jeanjeanjeana replied to jeanjeanjeana's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
I work in localhost and with a normal prestashop install ^^ Like : C:\wamp\www\mywebsite -
Hello, I'd like to add some information on my invoice(with help of SQL query), so I'd like to use HookdisplayPDFinvoice, but I don't know how to use it ... should I put the function in my module or in a existing file that I have to override ? Should I create a new tpl file with the information that are going to be displayed at the end of the invoice thanks to the hookdisplayPDFInvoice function ? Thanks for help or a litle tut for how tu use this hook =)
-
[SOLVED]Regroup several Invoice
jeanjeanjeana replied to jeanjeanjeana's question in Getting started with PrestaShop Cloud
Solved myself ^^ I used : if(Configuration::get('PS_INVOICE_MODEL') == 'invoice-test') Thanks =) -
[SOLVED]Regroup several Invoice
jeanjeanjeana replied to jeanjeanjeana's question in Getting started with PrestaShop Cloud
Yes but this module is not free ^^ I want to modify this myself ! -
[SOLVED]Regroup several Invoice
jeanjeanjeana replied to jeanjeanjeana's question in Getting started with PrestaShop Cloud
I manag to regroup all the order on 1 invoice but know I have an other problem.... ! I can select different type of invoices ( picture below) and in OrderInvoices.php I need to execute different sql query depending on the file selected : i tried : if($templates == glob($directory.'invoice-test.tpl')) { execute sql query } else { execute an other sql query } but doesn't work.... (I think $template is the var where is the name of the file, if I understand correctly the enf of the file : admininvoicescontroller.php ) I work with PS version 1.6 Thanks ! =) -
[SOLVED]Regroup several Invoice
jeanjeanjeana posted a question in Getting started with PrestaShop Cloud
Hello ! When i select a date period in preatshop order/invoice, it generate an invoice per order, but I'd like to generate one invoice with all the order one under the other ( like in the picture below) . I realy don't know how to do it, so if someone has an idea it will be very welcome =) Thanks ! -
[SOLVED]Invoice.tpl override prestashop 1.6
jeanjeanjeana replied to jeanjeanjeana's question in Adapting and improving my PrestaShop Cloud
Oh ok I understand know ! Thank you very much for your answers ! =) It was a great help ! =)- 12 replies
-
- .tpl file override
- invoice.tpl
-
(and 1 more)
Tagged with:
-
[SOLVED]Invoice.tpl override prestashop 1.6
jeanjeanjeana replied to jeanjeanjeana's question in Adapting and improving my PrestaShop Cloud
OK, but I just want to modify the aspect of my invoice so this method is ok no ? And it will not cause any problems with the future update of prestashop software ? ( Sorry if I don't exactly understand what you are saying.. It has been only 3 weeks since I work on Prestashop ! )- 12 replies
-
- .tpl file override
- invoice.tpl
-
(and 1 more)
Tagged with:
-
[SOLVED]Invoice.tpl override prestashop 1.6
jeanjeanjeana replied to jeanjeanjeana's question in Adapting and improving my PrestaShop Cloud
Thank you for your very quick answers selectshop.at ! It work very well when I put my new invoice.tpl file in themes\default-bootstrap\pdf !! =)- 12 replies
-
- .tpl file override
- invoice.tpl
-
(and 1 more)
Tagged with:
-
Hello !! I want to modify my invoice, to add new or different fields without modifying the source code of invoice.tpl ( I don't want to have problems with the future update of the software), so I want to override this file (invoice.tpl) but I don' know where to override it because the original file is in /pdf/invoice.tpl and in /override there is no pdf directory... I work with prestashop 1.6 Thank for your help ! =)
- 12 replies
-
- .tpl file override
- invoice.tpl
-
(and 1 more)
Tagged with: