Hi!
When editing an order on frontend, I wanted to let the subvendor to notify the user, but email was not sent out.
I've found
this thread
, and just noticed there's this notify checkbox in the code. But this just shown to the main vendor, for subvendors not. I've modified this:
if(isset($this->edit) && $this->edit === true && ($this->vendor->vendor_id == 0 || $this->vendor->vendor_id == 1) && hikamarket::acl('order_edit_notify')) {
to this
if(isset($this->edit) && $this->edit === true && hikamarket::acl('order_edit_notify')) {
Also modified:
<input type="checkbox" id="data[notify]" name="data[notify]"/>
to:
<input type="checkbox" id="data[notify]" name="data[notify]" checked="checked"/>
Now the fields are shown, but system is just sending out the email if I'm the main vendor, for subvendor no emails arriving. Any option to get this work for subvendors (and subvendor users) as well?
Thanks for your help in advance.