Post by sicilian_najdorf » Wed Jul 15, 2020 3:11 pm

Code: Select all

class ModelCheckoutOrder extends Model {
  	public function addOrderHistory($order_id, $order_status_id, $comment = '', $notify = false, $override = false) {
	}
}
In the admin page after checking Notify Customer and clicking add history button, aside from the customer i want to also add another email that can receive the notification. So in the function above, i add the other email on the email codes. But it is not receiving the email. Am i modifying the correct code?


Posts

Joined
Wed Nov 23, 2016 4:13 pm

Post by paulfeakins » Wed Jul 15, 2020 5:40 pm

I'm sure there are extensions that do this, you'd be better off using one of those rather than tinkering with your core files.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by sicilian_najdorf » Thu Jul 16, 2020 11:44 am

yeah. but i am wondering, where is the code for this.


Posts

Joined
Wed Nov 23, 2016 4:13 pm

Post by paulfeakins » Thu Jul 16, 2020 4:33 pm

sicilian_najdorf wrote:
Wed Jul 15, 2020 3:11 pm
So in the function above
You haven't said what file that's from?

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by sicilian_najdorf » Wed Jul 22, 2020 11:46 am

paulfeakins wrote:
Thu Jul 16, 2020 4:33 pm
sicilian_najdorf wrote:
Wed Jul 15, 2020 3:11 pm
So in the function above
You haven't said what file that's from?
it is in public_html/catalog/model/checkout/order.php


Posts

Joined
Wed Nov 23, 2016 4:13 pm
Who is online

Users browsing this forum: No registered users and 34 guests