VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Kuubs on April 17, 2018, 11:37:49 AM

Title: PDF change
Post by: Kuubs on April 17, 2018, 11:37:49 AM
Hello,

How can I change the PDF? I have 3 times the name of the store on top of the PDF, i want to remove the two mentions so that only one time the name of the store is mentioned.
Title: Re: PDF change
Post by: jenkinhill on April 17, 2018, 12:03:49 PM
Do you mean the pdf invoice?
Title: Re: PDF change
Post by: Kuubs on April 17, 2018, 15:14:47 PM
Yeah
Title: Re: PDF change
Post by: jjk on April 17, 2018, 15:29:55 PM
Have a look at your 'Shop' settings. Probably you have the placeholder {vm:vendorname} in the 'Invoice Head' under the 'Invoices/Emails' tab and perhaps also a entry in the 'Company Name' field of your 'Shop' > 'Shopper Information' tab.
Title: Re: PDF change
Post by: Kuubs on April 17, 2018, 16:52:19 PM
Nope, nothing under there. I think I need to edit the template
Title: Re: PDF change
Post by: jjk on April 17, 2018, 17:02:40 PM
Perhaps first check if you have a template override in the yourtemplate/html folder.
Title: Re: PDF change
Post by: Kuubs on April 17, 2018, 20:59:31 PM
I have, but it also displays when I disable the override.

It's basically:

{LOGO}
{NAME IN H1 (?)}
{NAME IN P} -

ORDER INFORMATION

etc. etc.

It's weird because I cannot find this anywhere.
Title: Re: PDF change
Post by: jjk on April 17, 2018, 21:17:48 PM
Quote from: Huubs on April 17, 2018, 20:59:31 PM
I have, but it also displays when I disable the override.

Don't forget to clear all cache in Joomla, VirtueMart (site and administration) and your Browser.
Title: Re: PDF change
Post by: Kuubs on April 17, 2018, 21:18:27 PM
Did :)

I have a image:

https://imgur.com/a/LBpF3
Title: Re: PDF change
Post by: Kuubs on April 18, 2018, 17:28:47 PM
Anyone has an idea?

I find it strange that there is no override for the PDF. It just states get_ob_contents();