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

#   How to obtain Hikashop / Hikamarket version via PHP Code

##

- **[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
-
-

7 years 3 days ago [\#313263](#313263) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[How to obtain Hikashop / Hikamarket version via PHP Code](/forum/19-hikamarket/898705-how-to-obtain-hikashop-hikamarket-version-via-php-code#313263 "-- HikaShop version -- : 4.2.2 -- HikaMarket version -- : 3.0.2  Hi,  Is there a easy way to know which version of Hikashop and Hikamarket is installed on my website using a function?  Thanks in advance.  -- Victor")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 4.2.2
-- HikaMarket version -- : 3.0.2

Hi,

Is there a easy way to know which version of Hikashop and Hikamarket is installed on my website using a function?

Thanks in advance.

--
Victor

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

7 years 3 days ago [\#313264](#313264) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to obtain Hikashop / Hikamarket version via PHP Code](/forum/19-hikamarket/898705-how-to-obtain-hikashop-hikamarket-version-via-php-code#313264 "-- HikaShop version -- : 4.2.2 -- HikaMarket version -- : 3.0.2  Hi,  Is there a easy way to know which version of Hikashop and Hikamarket is installed on my website using a function?  Thanks in advance.  -- Victor")*

Hi,

Yes.
You can use such code for HikaShop: Code:

if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php'); $config = hikashop_config(); echo $config-&gt;get('version');

And for HikaMarket: Code:

if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikamarket'.DS.'helpers'.DS.'helper.php'); $config = hikamarket::config(); echo $config-&gt;get('version');

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

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

7 years 3 days ago [\#313290](#313290) 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 obtain Hikashop / Hikamarket version via PHP Code](/forum/19-hikamarket/898705-how-to-obtain-hikashop-hikamarket-version-via-php-code#313290 "-- HikaShop version -- : 4.2.2 -- HikaMarket version -- : 3.0.2  Hi,  Is there a easy way to know which version of Hikashop and Hikamarket is installed on my website using a function?  Thanks in advance.  -- Victor")*

Thanks a lot!!

This is what I need!

--
Victor

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

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