Skip to main content

Sent pdf invoice automatically to my warehouse

More
12 years 1 month ago #168025 by Rokell
-- HikaShop version -- : 2.3.2
-- HikaMarket version -- : 1.4.3
-- Joomla version -- : 3.3.3

Hi,
one of my vendors wants to send a pdf invoice via mail automatically to his warehouse, once the order status has been changed to confirmed. Is that possible?
Thanks
Roger

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #168046 by Jerome
Hi,

I want to say that with some development, mostly anything is possible.

But like that, your requirement can't be done like that in HikaMarket (or HikaShop) without a custom plugin.
The plugin "pdf invoice" just attach his PDF file to confirmation emails ; so if you want to send an email to a specific address with a specific content, it will require a custom plugin.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #168118 by Rokell
Hi,
if a order has be changed to confirmed I receive a mail to my administrator account. Could I attach a PDF invoice to this mail?
If not, what are my options with a custom plugin and howe much would it cost?
Thanks
Roger

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #168142 by Jerome
Hi,

You can modify the plugin "attachinvoice" in order to authorize new mail names, by replacing this line
Code:
if(empty($data->mail_name) || empty($data->data->order_status) || !in_array($data->mail_name,array('order_status_notification','order_creation_notification')) || $data->data->order_status != $confirmed) return;
The plugin attach the PDF in the emails "order_status_notification" and "order_creation_notification", so it does not attach in the HikaMarket emails or in the admin emails.
But by adding the email name in the list, you can change that.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
12 years 3 weeks ago #170329 by Rokell
Hi Jerome,
where can I find this plugin?
Thanks
Roger

Please Log in or Create an account to join the conversation.

More
12 years 3 weeks ago #170333 by Jerome
Hi,

The plugin "attachinvoice" is also called "Pdf Invoice".
hikashop.com/component/hikashop/product/cid-18.html

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
12 years 3 weeks ago #170413 by Rokell
Hi Jerome,
thanks for the link. Just to make sure I got it right...
This Plugin will attach an invoice to the status change mail, but not with HikaMarket.
I need to attach an invoice to the status change mail when a vendor changes the status for an order at HikaMarket frontend manually or automatically if the customer paid via Papypal.
Will this work with the plugin?
Thanks
Roger

Please Log in or Create an account to join the conversation.

More
12 years 3 weeks ago #170426 by Jerome
Hi,

The main goal of the plugin is to attach a PDF invoice to the customers' emails.
But with a little modification, you can change that rule and also attach the PDF to the vendor emails (the code I gave you in a previous message).

About the rule of the payment method, it is also possible but it will also require a modification of the plugin to add the custom rule.

Regards

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.219 seconds
Powered by Kunena Forum