VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: juanvilchez on January 15, 2021, 20:40:07 PM

Title: Disabling PDF invoice attachment on order emails
Post by: juanvilchez on January 15, 2021, 20:40:07 PM
Hello everyone!

I would like to disable the PDF that is sent via email when the order is confirmed.

Some clients find it confusing, as it is not the real invoice and most times we have to generate the real invoice on purpose and send it later.



How could it be done?
Title: Re: Disabling PDF invoice attachment on order emails
Post by: Jörgen on January 15, 2021, 21:06:33 PM
VM configuration, tab e-mails


Jörgen @ Kreativ Fotografi
Title: Re: Disabling PDF invoice attachment on order emails
Post by: juanvilchez on January 15, 2021, 22:30:33 PM
Quote from: Jörgen on January 15, 2021, 21:06:33 PM
VM configuration, tab e-mails


Jörgen @ Kreativ Fotografi

Thanks.

I did change it, but it enables itself again:

Loaded virtuemart default configuration from file virtuemart.cfg
Title: Re: Disabling PDF invoice attachment on order emails
Post by: Jörgen on January 16, 2021, 01:19:01 AM
Are you really sure ?
If that happens, try editing the configuration file directly.
Jörgen
Title: Re: Disabling PDF invoice attachment on order emails
Post by: jenkinhill on January 16, 2021, 13:09:22 PM
If you don't want to send an invoice you should have no entry against "Status to create Invoice" on the Configuration/Orders tab. Alternatively set the order status when an invoice should be created there. You can also set "Default Order Status to send email to shopper" to whatever status is best for your business.

Any change saved in Configuration will cause the virtuemart.cfg file to reload, but that file contains no settings for invoice/emails.
Title: Re: Disabling PDF invoice attachment on order emails
Post by: GJC Web Design on January 16, 2021, 13:49:07 PM
Further to Jenks post

if u mean
Invoices Settings
Status to create Invoice

you need to select "None" ..  if u deselect all of them then "Confirmed" will be reselected when you save the cfg
Title: Re: Disabling PDF invoice attachment on order emails
Post by: jenkinhill on January 16, 2021, 16:33:47 PM
Shoot! I meant to put "None" - but put no entry.  Brain fog!