VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Jacson on October 08, 2017, 11:10:07 AM

Title: How to disable notice message?!
Post by: Jacson on October 08, 2017, 11:10:07 AM
I've unpublished and unrequired email in Shopper field list.
BY this way: Configuration -> Shopper Fields -> select it and choose Unpublish and unrequired bottom.
So as a Shopper in website I don't need to enter any Email. Sounds good.
But in last step, shopper has a Notice. (I've attached screenshot)
Question:
How can I remove this notice?
Even I sat "Error Reporting" on None in joomla.
Even I used the template override(That's weird becasue it seems language override doesn't work on this string) :-\
Joomla ver 3.8.1 -  PHP ver 5.6
Thank all of you.
Title: Re: How to disable notice message?!
Post by: jenkinhill on October 08, 2017, 12:42:28 PM
You must have a shopper email address so confirmation order emails can be sent, and is a required field for registration in Joomla.  Its not a system error so can't be turned off, it is telling you that you have a configuration problem.
Title: Re: How to disable notice message?!
Post by: Jacson on October 08, 2017, 17:02:28 PM
Mr. Jenkinhill thank you.
Ok. So, how can I change the message?! because I've tried with language override but doesn't change.
Question:
change the message of: "You must provide at least one recipient email address."
to "thank you for shopping"   :-\
Title: Re: How to disable notice message?!
Post by: jenkinhill on October 08, 2017, 20:00:44 PM
Create an override for PHPMAILER_PROVIDE_ADDRESS   - http://forum.virtuemart.net/index.php?topic=113895.0

As the error would be a system stopper, I'm not sure that the order would be completed.