- Posts: 77
- Thank you received: 3
Additional Emails Needed
13 years 2 months ago #114855
by colpc
Additional Emails Needed was created by colpc
We sell videos, most as downloads. On occasion people may order in DVD format.
An email needs to be sent to the warehouse in order to fulfill this order.
We ONLY want an email to be sent to the warehouse email, when a DVD order is placed not for ALL others.
Can you explain in detail how if possible to achieve this ?
An email needs to be sent to the warehouse in order to fulfill this order.
We ONLY want an email to be sent to the warehouse email, when a DVD order is placed not for ALL others.
Can you explain in detail how if possible to achieve this ?
Please Log in or Create an account to join the conversation.
13 years 2 months ago #114911
by nicolas
Replied by nicolas on topic Additional Emails Needed
Hi,
You can potentially modify the code of the order status notification email to parse through the products of the order, load the products to see if they are virtual or not and then send the email you want to the email you want. That will require a developer to help you.
However, a much simpler solution, which doesn't require any coding, would be to assign each product to a vendor using HikaMarket Multivendor.
The vendor will then be notified automatically of purchases of his products (and only his).
That way, you would even have several warehouses with different products and they would still get the correct emails when needed for the products they need to send.
You can potentially modify the code of the order status notification email to parse through the products of the order, load the products to see if they are virtual or not and then send the email you want to the email you want. That will require a developer to help you.
However, a much simpler solution, which doesn't require any coding, would be to assign each product to a vendor using HikaMarket Multivendor.
The vendor will then be notified automatically of purchases of his products (and only his).
That way, you would even have several warehouses with different products and they would still get the correct emails when needed for the products they need to send.
Please Log in or Create an account to join the conversation.
13 years 1 month ago #116268
by colpc
Replied by colpc on topic Additional Emails Needed
Nicolas,
We are just about to now purchase the multivendor.
I just wanted to re- touch on this topic before we do.
We need to email the distribution center, but ONLY for Confirmed orders.
We have had issues with the regular Hikashop business, in that it always sends the CREATED email as well.
This would certainly mess them up. Can we easily tell hikashop to ONLY send the confirm without a code hack ?
If so, can you explain?
Thanks
We are just about to now purchase the multivendor.
I just wanted to re- touch on this topic before we do.
We need to email the distribution center, but ONLY for Confirmed orders.
We have had issues with the regular Hikashop business, in that it always sends the CREATED email as well.
This would certainly mess them up. Can we easily tell hikashop to ONLY send the confirm without a code hack ?
If so, can you explain?
Thanks
Please Log in or Create an account to join the conversation.
13 years 1 month ago #116274
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Additional Emails Needed
Hi,
HikaMarket have a processing email class which redirect emails to the vendor when a "sub-order" is modified.
Because we don't want to notify the customer several time (only for the main order, not for the sub-orders), we implemented this system.
It allows HikaMarket to redirect the admin emails for the sub-orders to the vendors. So the "order_admin_notification" email is send to the vendor for his sub-order.
The email redirection rules are for the moment "hard coded" in HikaMarket but I think we will add options to configure it before the new email system that we are implementing.
So for the moment you have to edit the "class file" in HikaMarket in order to specify which mail you want to redirect to the vendor and which mail you just want to not send.
By changing "order_status_notification" to "1", the vendor will receive the user email for his sub-order.
The user will still receive his status notification email for the main order (with all products, etc) and the vendor will receive the same kind of email but with just his products.
So the vendor won't see any information about the rest of the order.
Regards,
HikaMarket have a processing email class which redirect emails to the vendor when a "sub-order" is modified.
Because we don't want to notify the customer several time (only for the main order, not for the sub-orders), we implemented this system.
It allows HikaMarket to redirect the admin emails for the sub-orders to the vendors. So the "order_admin_notification" email is send to the vendor for his sub-order.
The email redirection rules are for the moment "hard coded" in HikaMarket but I think we will add options to configure it before the new email system that we are implementing.
So for the moment you have to edit the "class file" in HikaMarket in order to specify which mail you want to redirect to the vendor and which mail you just want to not send.
Code:
private $orderEmails = array(
'order_admin_notification' => 1,
'order_cancel' => 0,
'order_creation_notification' => 0,
'order_notification' => 0,
'order_status_notification' => 0
);
The user will still receive his status notification email for the main order (with all products, etc) and the vendor will receive the same kind of email but with just his products.
So the vendor won't see any information about the rest of the order.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
13 years 1 month ago #116289
by colpc
Replied by colpc on topic Additional Emails Needed
OK thanks Jerome..
I guess that will work for now.
DO you think a better system can be put in place in order to have a little more control and flexability ?
As I said, this is kind of a big issue, we dont mind getting the created emails, along with the confirmed.
But for others to get them will simply confuse everyone.
I`ll be fixing orders for days ..
Also, where is class file ?
Thanks
I guess that will work for now.
DO you think a better system can be put in place in order to have a little more control and flexability ?
As I said, this is kind of a big issue, we dont mind getting the created emails, along with the confirmed.
But for others to get them will simply confuse everyone.
I`ll be fixing orders for days ..
Also, where is class file ?
Thanks
Please Log in or Create an account to join the conversation.
13 years 1 month ago #116311
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Additional Emails Needed
Hi,
The mail class is in the file "mail.php" in that same folder.
Regards,
Like I said in my previous message: yes.DO you think a better system can be put in place in order to have a little more control and flexability ?
With the other classes files in HikaMarket, in the folder "administrator/components/com_hikamarket/classes".Also, where is class file ?
The mail class is in the file "mail.php" in that same folder.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
13 years 1 month ago #116322
by colpc
Replied by colpc on topic Additional Emails Needed
k thanks
Please Log in or Create an account to join the conversation.
13 years 1 month ago #118349
by colpc
Replied by colpc on topic Additional Emails Needed
OK we have purchased Multivendor.
Just about to install and implement.
As I said before, it`s very important the distribution center ONLY get confirmed emails.
NOT created. With the Multivendor, I understand that the products need to be assigned to this vendor( department)
But how can I control the created email does not get sent? Is this different in multivendor ?
Can you explain ?
Thanks
Just about to install and implement.
As I said before, it`s very important the distribution center ONLY get confirmed emails.
NOT created. With the Multivendor, I understand that the products need to be assigned to this vendor( department)
But how can I control the created email does not get sent? Is this different in multivendor ?
Can you explain ?
Thanks
Please Log in or Create an account to join the conversation.
13 years 1 month ago #118356
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Additional Emails Needed
Hi,
In HikaMarket the emails which are sent to the vendors are the same than the emails sent to the administrator.
Like I explain before, you can configure which email that is generally sent to the administrator, to the vendor.
In the HikaShop backend, when you edit a product, you can select an HikaMarket vendor. That how you can make the vendor assignation.
Regards,
In HikaMarket the emails which are sent to the vendors are the same than the emails sent to the administrator.
Like I explain before, you can configure which email that is generally sent to the administrator, to the vendor.
In the HikaShop backend, when you edit a product, you can select an HikaMarket vendor. That how you can make the vendor assignation.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds