VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: AhoyIT on July 01, 2019, 14:49:30 PM

Title: Email order-confirm AFTER order (Status PENDING) - Possible?
Post by: AhoyIT on July 01, 2019, 14:49:30 PM
Hello,
Is there an option (or plug) to send an "order confirmation" after checkout, altought status is PENDING and not CONFIRMED - i.e. send only order details and not INVOICE?
Title: Re: Email order-confirm AFTER order (Status PENDING) - Possible?
Post by: Jörgen on July 01, 2019, 15:04:45 PM
I think this is possible, check configuration->emails in VM back end. Add status pending in the array for sending email to customer.

Jörgen @ Kreativ Fotografi

Title: Re: Email order-confirm AFTER order (Status PENDING) - Possible?
Post by: AhoyIT on July 01, 2019, 15:11:50 PM
There is no "PENDING" option to be selected in "Default Order Status to send email to shopper" field ... Exactly the problem.
Title: Re: Email order-confirm AFTER order (Status PENDING) - Possible?
Post by: jenkinhill on July 01, 2019, 15:22:56 PM
You can only select to send email on a pending order under "Default Order Status to send email to vendor". This is to let the vendor know that an order has been placed but not yet paid for (in PayPal for example), to give the vendor the option to contact the buyer and ask if they actually do want to buy the product. 
You can select if an invoice is to be created for all the order statuses except pending.
Title: Re: Email order-confirm AFTER order (Status PENDING) - Possible?
Post by: AhoyIT on July 01, 2019, 16:53:20 PM
Such a feature is really needed - When for example you pay via Telephone & still want to get an email w/ your order details.

I've added it via code on order_done.php, but a swith on CONFIG would be nice.
Title: Re: Email order-confirm AFTER order (Status PENDING) - Possible?
Post by: jenkinhill on July 01, 2019, 16:56:37 PM
You can add your own special order status and configure it to suit your requirement.  Page is    /administrator/index.php?option=com_virtuemart&view=orderstatus
Title: Re: Email order-confirm AFTER order (Status PENDING) - Possible?
Post by: AhoyIT on July 01, 2019, 17:20:13 PM
Quote from: jenkinhill on July 01, 2019, 16:56:37 PM
You can add your own special order status and configure it to suit your requirement.  Page is    /administrator/index.php?option=com_virtuemart&view=orderstatus

OK - That worked ... Good to know!