News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Error handling for the user in the text of the letter

Started by AnSit, September 17, 2015, 23:11:10 PM

Previous topic - Next topic

AnSit

In a letter to the appearance of the product in stock instead of a user name is always inserted the name of the vendor.

I looked at the code(mail_html_notify.php). There used to be:

<strong><?php echo vmText::sprintf ('COM_VIRTUEMART_MAIL_SHOPPER_NAME'$this->user); ?></strong><br/>

And now for some reason:

<strong><?php echo vmText::sprintf ('COM_VIRTUEMART_MAIL_SHOPPER_NAME'$this->vendor->vendor_store_name); ?></strong><br/>

If you use the old version, the message is not sent at all.

Why and how to fix it?