VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: FREESERVIS on June 22, 2021, 13:38:02 PM

Title: Unable to set email sending when ordering status Pending to shopper
Post by: FREESERVIS on June 22, 2021, 13:38:02 PM
Hello,

with order status COM_VIRTUEMART ORDER STATUS_PENDING it is not possible to set sending email to shopper.

Is there a way to set up email sending when order status is COM_VIRTUEMART ORDER STATUS_PENDING?

Milan
Title: Re: Unable to set email sending when ordering status Pending to shopper
Post by: sirius on June 22, 2021, 14:14:08 PM
Hi,

the exact constant name is :
"COM_VIRTUEMART_ORDER_STATUS_PENDING"

yours is missing an underscore
Title: Re: Unable to set email sending when ordering status Pending to shopper
Post by: FREESERVIS on June 22, 2021, 15:02:10 PM
Quote from: sirius on June 22, 2021, 14:14:08 PM
Hi,

the exact constant name is :
"COM_VIRTUEMART_ORDER_STATUS_PENDING"

yours is missing an underscore
Yes, it should be an underscore: COM_VIRTUEMART_ORDER_STATUS_PENDING