order_id for pdf isn't the same as order id for purchase

12.10.2011 15:34
#1
Stella
Joomshopping forum user no avatar
Name: Stella
24.03.2011
Posts: 42
Quote
order_id for pdf isn't the same as order id for purchase

I changed the string for the pdf name and set it to

$name_pdf = $order->order_id."_"."_Badacenter.pdf";

1) As others have requested, I too would like to have the number after the text. I have tested several versions to no avail.

2) I have set the number for next invoice to "999004", but I get the number 11 for order id in the pdf name.

How must this line look to give a pdf name such as "Invoice_9001.pdf" with the invoice having the same number as the order_id?

Thank you very much!


Joomla: 1.7
JoomShopping: 3.2.7
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.