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

#   How to print order details from the listing view

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

8 years 10 months ago [\#285667](#285667) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[How to print order details from the listing view](/forum/23-market-how-to/893414-how-to-print-order-details-from-the-listing-view#285667 "-- HikaShop version -- : 3.2.2 -- HikaMarket version -- : 1.7.1 Multivendor -- Joomla version -- : 3.8.2  Hi,  I want to put a button to send to the printer one order details from the vendor order listing view (ordermarket/listing).  I know that if I enter in the order details, I can click a button from the top menu that opens a modal with that option.  But it would be awesome if I can do the same thing from the list view.  There's some tweak to do it fast?  Thanks in advance.  -- Victor")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 3.2.2
-- HikaMarket version -- : 1.7.1 Multivendor
-- Joomla version -- : 3.8.2

Hi,

I want to put a button to send to the printer one order details from the vendor order listing view (ordermarket/listing).

I know that if I enter in the order details, I can click a button from the top menu that opens a modal with that option.

But it would be awesome if I can do the same thing from the list view.

There's some tweak to do it fast?

Thanks in advance.

--
Victor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODkzNDE0LWhvdy10by1wcmludC1vcmRlci1kZXRhaWxzLWZyb20tdGhlLWxpc3Rpbmctdmlldz90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 10 months ago [\#285674](#285674) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to print order details from the listing view](/forum/23-market-how-to/893414-how-to-print-order-details-from-the-listing-view#285674 "-- HikaShop version -- : 3.2.2 -- HikaMarket version -- : 1.7.1 Multivendor -- Joomla version -- : 3.8.2  Hi,  I want to put a button to send to the printer one order details from the vendor order listing view (ordermarket/listing).  I know that if I enter in the order details, I can click a button from the top menu that opens a modal with that option.  But it would be awesome if I can do the same thing from the list view.  There's some tweak to do it fast?  Thanks in advance.  -- Victor")*

Hello,

You can perform a view override (ordermarket / listing) and add a button/link to open the invoice popup.
The usage of the HikaShop popup helper would be better and regarding the url ; it's just Code:

hikamarket::completeLink('order&amp;task=invoice&amp;type=full&amp;cid='.(int)$order-&gt;order_id, true)

At the end you will have a similar button than the one in the toolbar while displaying the order details.
But please do not forget to add some checks in PHP regarding the HikaMarket ACL Code:

if(hikamarket::acl('order/edit/invoice')) { ... }

So you won't display the button if the vendor do not have the access.

Regards,

---

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

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

8 years 10 months ago [\#285710](#285710) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[How to print order details from the listing view](/forum/23-market-how-to/893414-how-to-print-order-details-from-the-listing-view#285710 "-- HikaShop version -- : 3.2.2 -- HikaMarket version -- : 1.7.1 Multivendor -- Joomla version -- : 3.8.2  Hi,  I want to put a button to send to the printer one order details from the vendor order listing view (ordermarket/listing).  I know that if I enter in the order details, I can click a button from the top menu that opens a modal with that option.  But it would be awesome if I can do the same thing from the list view.  There's some tweak to do it fast?  Thanks in advance.  -- Victor")*

Thanks a lot!

Another question: How I call the Hikashop popup helper?

Thanks in advance.

--
Victor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODkzNDE0LWhvdy10by1wcmludC1vcmRlci1kZXRhaWxzLWZyb20tdGhlLWxpc3Rpbmctdmlldz90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 10 months ago [\#285716](#285716) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to print order details from the listing view](/forum/23-market-how-to/893414-how-to-print-order-details-from-the-listing-view#285716 "-- HikaShop version -- : 3.2.2 -- HikaMarket version -- : 1.7.1 Multivendor -- Joomla version -- : 3.8.2  Hi,  I want to put a button to send to the printer one order details from the vendor order listing view (ordermarket/listing).  I know that if I enter in the order details, I can click a button from the top menu that opens a modal with that option.  But it would be awesome if I can do the same thing from the list view.  There's some tweak to do it fast?  Thanks in advance.  -- Victor")*

Hello,
Code:

$popupHelper = hikashop_get('helper.popup');

Afterwards I recommend you to take a look at some HikaShop code to see how it's used.
Here the display function definition : Code:

function display($text, $title, $url, $id, $params_width, $height = null, $attr = '', $icon = '', $type = 'button', $dynamicUrl = false)

Regards,

---

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

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

8 years 10 months ago -  8 years 10 months ago [\#285772](#285772) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[How to print order details from the listing view](/forum/23-market-how-to/893414-how-to-print-order-details-from-the-listing-view#285772 "-- HikaShop version -- : 3.2.2 -- HikaMarket version -- : 1.7.1 Multivendor -- Joomla version -- : 3.8.2  Hi,  I want to put a button to send to the printer one order details from the vendor order listing view (ordermarket/listing).  I know that if I enter in the order details, I can click a button from the top menu that opens a modal with that option.  But it would be awesome if I can do the same thing from the list view.  There's some tweak to do it fast?  Thanks in advance.  -- Victor")*

Thanks a lot for the answer.

--

Victor

Last edit: 8 years 10 months ago by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODkzNDE0LWhvdy10by1wcmludC1vcmRlci1kZXRhaWxzLWZyb20tdGhlLWxpc3Rpbmctdmlldz90bXBsPW1hcmtkb3du) 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.063 seconds

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