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

#   get hikashop order info in custom component

##

- **[kaya](/forum/user/25605-kaya "View kaya's Profile")**
- [![kaya's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/25605-kaya "View kaya's Profile") Topic Author
- [ Offline](/forum/user/25605-kaya)

Less More

- Posts: 120
- Thank you received: 2
-
-
- [](http://arasjoomla.ir)
-

11 years 3 months ago [\#211105](#211105) by [kaya](/forum/user/25605-kaya "View kaya's Profile")  *[get hikashop order info in custom component](/forum/35-orders-management/878675-get-hikashop-order-info-in-custom-component#211105 "-- HikaShop version -- : 2.x.x -- Joomla version -- : 3  Hi dear I need get hikashop order class methods and order info by order id in custom component. How can get it?  thank you")* was created by *[kaya](/forum/user/25605-kaya "View kaya's Profile")*

-- HikaShop version -- : 2.x.x
-- Joomla version -- : 3

Hi dear
I need get hikashop order class methods and order info by order id in custom component.
How can get it?

thank you

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

11 years 3 months ago [\#211107](#211107) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[get hikashop order info in custom component](/forum/35-orders-management/878675-get-hikashop-order-info-in-custom-component#211107 "-- HikaShop version -- : 2.x.x -- Joomla version -- : 3  Hi dear I need get hikashop order class methods and order info by order id in custom component. How can get it?  thank you")*

Hi,

You need to include the HikaShop helper. Code:

if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php');

Then you will have access to HikaShop function and cat retrieve the HikaShop order class. Code:

$orderClass = hikashop_get('class.order');

Regards,

---

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

The following user(s) said Thank You: [kaya](/forum/user/25605-kaya "View kaya's Profile")

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

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

Time to create page: 0.047 seconds

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