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

#   Sub Order Status Update and Parent Order Email URL

##

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

Less More

- Posts: 19
- Thank you received: 0
-
-
-

9 years 8 months ago [\#262083](#262083) by [mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")  *[Sub Order Status Update and Parent Order Email URL](/forum/23-market-how-to/888795-sub-order-status-update-and-parent-order-email-url#262083 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4  Hello  1- How to make editing status of a sub-order in front-end also update the status of the parent order?  2- In Vendor order status notification email how to include the URL of the parent order, not sub-order?  Thanks and regards.")* was created by *[mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")*

-- HikaShop version -- : 2.6.4
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.6.4

Hello

1- How to make editing status of a sub-order in front-end also update the status of the parent order?

2- In Vendor order status notification email how to include the URL of the parent order, not sub-order?

Thanks and regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4Nzk1LXN1Yi1vcmRlci1zdGF0dXMtdXBkYXRlLWFuZC1wYXJlbnQtb3JkZXItZW1haWwtdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)
-

9 years 8 months ago [\#262084](#262084) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sub Order Status Update and Parent Order Email URL](/forum/23-market-how-to/888795-sub-order-status-update-and-parent-order-email-url#262084 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4  Hello  1- How to make editing status of a sub-order in front-end also update the status of the parent order?  2- In Vendor order status notification email how to include the URL of the parent order, not sub-order?  Thanks and regards.")*

Hi,

1 - If the vendor can edit his sub order, the parent order will be automatically update when all sub order will have the same status.
So depending how your store is configured, as long as the customer order just have products from one single vendor, there will be just one sub order which mean that when the vendor will edit his sub order, the main order will follow.

2 - You can customize the HikaMarket vendor order status notification.
But if you put a link to the parent order, I'm afraid that link won't work for the vendors. They can just access to their content so they can't access to the store main order (via HikaMarket) or to the customer order (via HikaShop).

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4Nzk1LXN1Yi1vcmRlci1zdGF0dXMtdXBkYXRlLWFuZC1wYXJlbnQtb3JkZXItZW1haWwtdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 19
- Thank you received: 0
-
-
-

9 years 8 months ago [\#262102](#262102) by [mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")  Replied by *[mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")* on topic *[Sub Order Status Update and Parent Order Email URL](/forum/23-market-how-to/888795-sub-order-status-update-and-parent-order-email-url#262102 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4  Hello  1- How to make editing status of a sub-order in front-end also update the status of the parent order?  2- In Vendor order status notification email how to include the URL of the parent order, not sub-order?  Thanks and regards.")*

Thanks Jerome

About 2nd point, can you please tell me how to include the URL of the parent order in the Vendor order status notification email?

Do not worry about permissions I'll keep that in mind.

Thanks and regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4Nzk1LXN1Yi1vcmRlci1zdGF0dXMtdXBkYXRlLWFuZC1wYXJlbnQtb3JkZXItZW1haWwtdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)
-

9 years 8 months ago [\#262143](#262143) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sub Order Status Update and Parent Order Email URL](/forum/23-market-how-to/888795-sub-order-status-update-and-parent-order-email-url#262143 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4  Hello  1- How to make editing status of a sub-order in front-end also update the status of the parent order?  2- In Vendor order status notification email how to include the URL of the parent order, not sub-order?  Thanks and regards.")*

Hi,

In the email, you'll have access to the order object.
In that object you will find the value under the key : "order_parent_id".
Thanks to that "order_parent_id", you can create a link to the parent order, using his ID.
Afterwards, the link will depend on what you want to link exactly ; like I wrote previously.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4Nzk1LXN1Yi1vcmRlci1zdGF0dXMtdXBkYXRlLWFuZC1wYXJlbnQtb3JkZXItZW1haWwtdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.191 seconds

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

[](#top)
