09.12.2021 14:23
|
|
CCD
Name: Frank
31.10.2014
Posts: 58
|
Change Invoice and delivery note in JS 5
Hello,
how can I change the invoice form and the delivery note in Joomshopping 5?
In Joomshopping 4 it was still under components \ com_jshopping \ lib \ generate_pdf_order.php and for the delivery note jorderdeliverypdf.php!!
Next Question is to change ther length of the invoice order number from 8 to 3.
Thanks, Frank
Letzte Änderung: 09.12.2021 14:26
|
|
09.12.2021 16:19
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25922
|
Aw: Change Invoice and delivery note in JS 5
1. components\com_jshopping\Pdf\Order.php
2. plugins\jshoppingorder\jshop_delivery\...
3. components\com_jshopping\config\default_config.php
$config->ordernumberlength = 8;
Letzte Änderung: 09.12.2021 16:22
|
|
12.12.2021 17:15
|
|
CCD
Name: Frank
31.10.2014
Posts: 58
|
Aw: Change Invoice and delivery note in JS 5
Thanks, Frank
|
|
22.12.2021 14:00
|
|
CCD
Name: Frank
31.10.2014
Posts: 58
|
Aw: Change Invoice and delivery note in JS 5
Hello,
how can I save my changes to the invoice with a user_config.php??
<?php
$config->file_Order = $config->path."Pdf/user_Order.php";
?>
At the moment it doesn't work in Joomla 4!
Thanks for the help, Frank
|
|
22.12.2021 21:33
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25922
|
Aw: Change Invoice and delivery note in JS 5
1. create
components\com_jshopping\config\user_config.php
2. in components\com_jshopping\config\user_config.php
add row
$config->file_generete_pdf_order = '\\Joomla\\Component\\Jshopping\\Site\\Pdf\\Ordermy';
3. copy
components\com_jshopping\Pdf\Order.php
to
components\com_jshopping\Pdf\Ordermy.php
|
|
27.12.2021 15:45
|
|
CCD
Name: Frank
31.10.2014
Posts: 58
|
Aw: Change Invoice and delivery note in JS 5
Hello,
I did it according to your description and get the error message in the attachment. Can you please check it again.
Thank you, Frank
Joomla: 4.0.5. JoomShopping: 5.0.2 PHP: 7.4 MySQL: 5.7.25 Website Url: www.capri-ersatzteile.de
|
|
27.12.2021 20:12
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25922
|
Aw: Change Invoice and delivery note in JS 5
Ordermy.php
need change class
class Order
to
class Ordermy
|
|
29.12.2021 17:19
|
|
CCD
Name: Frank
31.10.2014
Posts: 58
|
Aw: Change Invoice and delivery note in JS 5
Thank you so much. It works fine!
All the best for 2022, Frank
|
|