News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

cannot install tcpdf component/ override invoice and delivery note appearance

Started by Renata, October 31, 2018, 11:36:13 AM

Previous topic - Next topic

Renata

I understand, i must be more specific:

As you can see in the example i enclosed before, some words are split into 2 sentences. That is not nice to look at and unprofessional. I want to change that:

There are two ways i think how you can do that:

1: the dutch translation which is used is very long: f.a.: artikelstatus. This could be shortened into: status. If i change that translation probably the problem is solved. So where can i find translations of the pdf invoice and delivery notes?
2: or we change the genereal settings of these notes as you also suggested: set the table width of that part of the invoice/delivery note. But where do i do that?

I prefer posssibily 1. If that solves the problem, not a lot of work is needed.
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

GJC Web Design

2

templates\xxxx\html\com_virtuemart\invoice\invoice_items.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Renata

There is no such file in templates\xxxx\html\com_virtuemart\invoice\invoice_items.php ?

Are these invoices not generated by TCPDF?
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

jenkinhill

OK so you are not overriding that file yet.  In which case it will be components/com_virtuemart/views/invoice/tmpl/invoice_items.php

TCPDF creates the invoice using templates, this is the items one.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Renata

Thank you! I understand now.
I prefer to override, Is there a tutorial somewhere specially for this case?

Thanks
Kind regards
Renata!
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

GJC Web Design

QuoteI prefer to override, Is there a tutorial somewhere specially for this case?

GOOGLE

just put the file discussed invoice_items.php  in the path I said

templates\xxxx\html\com_virtuemart\invoice\

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Renata

#21
Google? I have done that a lot! I have not found any info concerning override tcpdf forms. so i ask it here, a help forum for people who need help concerning VM....

I cannot just put a file somewhere. there must be a redirection to this new file from the original file? But i will try to sort it out myself...

Thanks

Kind regards
Renata
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

jenkinhill

It is just a template you are going to edit and override. Template override functions have been included in Joomla since the launch of J2.

Try:
https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
https://www.joomlashack.com/blog/joomla/overrides/

and a lot more listed in Google.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Renata

#25
Dear GJC Web Design and Jenkinhill

Thanks to your help i fixed it! Now the delivery note is looking good!

for the readers:
i downloaded the file: components/com_virtuemart/views/invoice/tmpl/invoice_items.php

the invoice_items.php i uploaded in
templates\YOURTEMPLATENAME\html\com_virtuemart\invoice\invoice_items.php (you have to make the folders: com_viruemart and invoice)

You can change the width in % from line 60 to your own preferences

Thank you!

Kind regards
Renata
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.