Author Topic: wrong prefix for pdf invoice file name  (Read 129 times)

jaumearagay

  • Beginner
  • *
  • Posts: 7
  • A beginner
wrong prefix for pdf invoice file name
« on: April 24, 2017, 14:55:06 pm »
Hi there!

I have a site both in spanish and french with COM_VIRTUEMART_FILEPREFIX_INVOICE properly translated into spanish and french but it keeps creating "vminvoice_" for the PDF file name prefix. My site has spanish as default language for the admin too but the invoice PDF file name prefix is not created properly in any language.

I can override the constant in Joomla's backend, but it's only a patch and would work to create all the PDF files with the same prefix independently of the language the user was using when creating the invoice. Not an elegant solution! ;)

Johantofu

  • Beginner
  • *
  • Posts: 1
  • A beginner
Re: wrong prefix for pdf invoice file name
« Reply #1 on: April 24, 2017, 16:43:39 pm »
I know it sounds like something you might have checked already, but maybe you have some special characters in the prefix and thats causing the error?
Do not take life too seriously. You will never get out of it alive.

jaumearagay

  • Beginner
  • *
  • Posts: 7
  • A beginner
Re: wrong prefix for pdf invoice file name
« Reply #2 on: April 26, 2017, 16:00:50 pm »
Nope! No special chars around! vmtienda_ and vmboutique_ are the values for spanish and french constants.