EAN on Product Page but not in E-Mail / Invoice and Delivery Note

08.11.2022 15:20
#1
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
EAN on Product Page but not in E-Mail / Invoice and Delivery Note

i have activated the article number on the product detail page.

now ean is also on invoice, delivery note and gutschrift. But I do not want that.

I have changed all entries in php files (Order.php, jshop_delivery.php and generete_pdf_gutschrift.php) from
show_product_code_in_order
to
show_product_code_in_orde

(delete "r" at the end).

Now the Ean Numbers are gone - that´s good, but I´m not sure if my method is ok. the query is no longer relevant, is this ok? I don't want to cause self-made mistakes. Or is there a more elegant method?


Letzte Änderung: 08.11.2022 15:29
 
08.11.2022 19:48
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25935
Quote
Aw: EAN on Product Page but not in E-Mail / Invoice and Delivery Note

No.
----
Only possible create plugin.

 
08.11.2022 19:55
#3
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Aw: EAN on Product Page but not in E-Mail / Invoice and Delivery Note

I did not understand you, what do you mean with „no“?

My method works, what is the problem?

Thanks in advance.


Letzte Änderung: 08.11.2022 19:56
 
08.11.2022 20:09
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25935
Quote
Aw: EAN on Product Page but not in E-Mail / Invoice and Delivery Note

- there a more elegant method?
No.

-My method works, what is the problem?
No problem.

 
08.11.2022 20:30
#5
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Aw: EAN on Product Page but not in E-Mail / Invoice and Delivery Note

Ok, I understand.

I've now done it the other way around. Ean display in the backend has been deactivated.

In product detail php delete <?php if ($this->config->show_product_code){?> .... ?php }?>

the other php files changed back to original.

I think thats more elegant ;)


Letzte Änderung: 08.11.2022 20:32
 


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.