[Skip to main content](#vessel-content)

#   Sent pdf invoice automatically to my warehouse

##

- **[Rokell](/forum/user/32710-rokell "View Rokell's Profile")**
- [![Rokell's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32710-rokell "View Rokell's Profile") Topic Author
- [ Offline](/forum/user/32710-rokell)

Less More

- Posts: 159
- Thank you received: 2
-
-

12 years 2 months ago [\#168025](#168025) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  *[Sent pdf invoice automatically to my warehouse](/forum/20-market-feature-requests/870463-sent-pdf-invoice-automatically-to-my-warehouse#168025 "-- 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")* was created by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3MDQ2My1zZW50LXBkZi1pbnZvaWNlLWF1dG9tYXRpY2FsbHktdG8tbXktd2FyZWhvdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#168046](#168046) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sent pdf invoice automatically to my warehouse](/forum/20-market-feature-requests/870463-sent-pdf-invoice-automatically-to-my-warehouse#168046 "-- 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")*

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 &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3MDQ2My1zZW50LXBkZi1pbnZvaWNlLWF1dG9tYXRpY2FsbHktdG8tbXktd2FyZWhvdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Rokell](/forum/user/32710-rokell "View Rokell's Profile")**
- [![Rokell's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32710-rokell "View Rokell's Profile") Topic Author
- [ Offline](/forum/user/32710-rokell)

Less More

- Posts: 159
- Thank you received: 2
-
-

12 years 2 months ago [\#168118](#168118) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Sent pdf invoice automatically to my warehouse](/forum/20-market-feature-requests/870463-sent-pdf-invoice-automatically-to-my-warehouse#168118 "-- 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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3MDQ2My1zZW50LXBkZi1pbnZvaWNlLWF1dG9tYXRpY2FsbHktdG8tbXktd2FyZWhvdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#168142](#168142) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sent pdf invoice automatically to my warehouse](/forum/20-market-feature-requests/870463-sent-pdf-invoice-automatically-to-my-warehouse#168142 "-- 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")*

Hi,

You can modify the plugin "attachinvoice" in order to authorize new mail names, by replacing this line Code:

if(empty($data-&gt;mail_name) &#124;&#124; empty($data-&gt;data-&gt;order_status) &#124;&#124; !in_array($data-&gt;mail_name,array('order_status_notification','order_creation_notification')) &#124;&#124; $data-&gt;data-&gt;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 &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3MDQ2My1zZW50LXBkZi1pbnZvaWNlLWF1dG9tYXRpY2FsbHktdG8tbXktd2FyZWhvdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Rokell](/forum/user/32710-rokell "View Rokell's Profile")**
- [![Rokell's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32710-rokell "View Rokell's Profile") Topic Author
- [ Offline](/forum/user/32710-rokell)

Less More

- Posts: 159
- Thank you received: 2
-
-

12 years 1 month ago [\#170329](#170329) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Sent pdf invoice automatically to my warehouse](/forum/20-market-feature-requests/870463-sent-pdf-invoice-automatically-to-my-warehouse#170329 "-- 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")*

Hi Jerome,
where can I find this plugin?
Thanks
Roger

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3MDQ2My1zZW50LXBkZi1pbnZvaWNlLWF1dG9tYXRpY2FsbHktdG8tbXktd2FyZWhvdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#170333](#170333) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sent pdf invoice automatically to my warehouse](/forum/20-market-feature-requests/870463-sent-pdf-invoice-automatically-to-my-warehouse#170333 "-- 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")*

Hi,

The plugin "attachinvoice" is also called "Pdf Invoice".
[ hikashop.com/component/hikashop/product/cid-18.html](https://hikashop.com/component/hikashop/product/cid-18.html)

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3MDQ2My1zZW50LXBkZi1pbnZvaWNlLWF1dG9tYXRpY2FsbHktdG8tbXktd2FyZWhvdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Rokell](/forum/user/32710-rokell "View Rokell's Profile")**
- [![Rokell's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32710-rokell "View Rokell's Profile") Topic Author
- [ Offline](/forum/user/32710-rokell)

Less More

- Posts: 159
- Thank you received: 2
-
-

12 years 1 month ago [\#170413](#170413) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Sent pdf invoice automatically to my warehouse](/forum/20-market-feature-requests/870463-sent-pdf-invoice-automatically-to-my-warehouse#170413 "-- 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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3MDQ2My1zZW50LXBkZi1pbnZvaWNlLWF1dG9tYXRpY2FsbHktdG8tbXktd2FyZWhvdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#170426](#170426) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sent pdf invoice automatically to my warehouse](/forum/20-market-feature-requests/870463-sent-pdf-invoice-automatically-to-my-warehouse#170426 "-- 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")*

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 &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIwLW1hcmtldC1mZWF0dXJlLXJlcXVlc3RzLzg3MDQ2My1zZW50LXBkZi1pbnZvaWNlLWF1dG9tYXRpY2FsbHktdG8tbXktd2FyZWhvdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.103 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
