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

#   Where is the code of "options" for Hikashop menu

##

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

Less More

- Posts: 107
- Thank you received: 1
-
-

13 years 5 months ago -  13 years 5 months ago [\#104288](#104288) by [tinachou](/forum/user/11887-tinachou "View tinachou's Profile")  *[Where is the code of "options" for Hikashop menu](/forum/4-how-to/81961-where-is-the-code-of-options-for-hikashop-menu#104288 "Hi there,  I hope to change some code of &quot;options&quot; for &quot;the menu item of Hikashop type&quot; in the Joomla Menu. But I couldn't find which source file to edit. Could someone give me a hand? :)  Really thanks!")* was created by *[tinachou](/forum/user/11887-tinachou "View tinachou's Profile")*

Hi there,

I hope to change some code of "options" for "the menu item of Hikashop type" in the Joomla Menu. But I couldn't find which source file to edit. Could someone give me a hand? ![:)](/media/kunena/emoticons/3.png ":)")

[ ![Option.png](/forum/attachment/10190) ](/forum/attachment/10190 "Option.png")

Really thanks!

- [ ![Option.png](/forum/attachment/10190) ](/forum/attachment/10190 "Option.png") [ ](/forum/attachment/10190?download=1 "Option.png")

Last edit: 13 years 5 months ago by [tinachou](/forum/user/11887-tinachou "View tinachou's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxOTYxLXdoZXJlLWlzLXRoZS1jb2RlLW9mLW9wdGlvbnMtZm9yLWhpa2FzaG9wLW1lbnU/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 5 months ago [\#104292](#104292) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Where is the code of "options" for Hikashop menu](/forum/4-how-to/81961-where-is-the-code-of-options-for-hikashop-menu#104292 "Hi there,  I hope to change some code of &quot;options&quot; for &quot;the menu item of Hikashop type&quot; in the Joomla Menu. But I couldn't find which source file to edit. Could someone give me a hand? :)  Really thanks!")*

It's the file components/com_hikashop/fields/selectoptions.php

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

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

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

Less More

- Posts: 107
- Thank you received: 1
-
-

13 years 5 months ago [\#104743](#104743) by [tinachou](/forum/user/11887-tinachou "View tinachou's Profile")  Replied by *[tinachou](/forum/user/11887-tinachou "View tinachou's Profile")* on topic *[Where is the code of "options" for Hikashop menu](/forum/4-how-to/81961-where-is-the-code-of-options-for-hikashop-menu#104743 "Hi there,  I hope to change some code of &quot;options&quot; for &quot;the menu item of Hikashop type&quot; in the Joomla Menu. But I couldn't find which source file to edit. Could someone give me a hand? :)  Really thanks!")*

Hello,

Thank you so much. ![:)](/media/kunena/emoticons/3.png ":)")

Unfortunately, my problem is that the function of "options" is no longer valid. Now when I press "options", there is no reaction. It seems it has lost its link and I do not know where to fix it.

The file you provided seems not directly match to the Joomla menu parameter setting. Do you know some other files which could cause the problem? ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 5 months ago [\#104777](#104777) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Where is the code of "options" for Hikashop menu](/forum/4-how-to/81961-where-is-the-code-of-options-for-hikashop-menu#104777 "Hi there,  I hope to change some code of &quot;options&quot; for &quot;the menu item of Hikashop type&quot; in the Joomla Menu. But I couldn't find which source file to edit. Could someone give me a hand? :)  Really thanks!")*

Hi,

The file given By Nicolas, is the view called in the Joomla menu parameters when the menu type is HikaShop.
So if you want to change something here, it's the file to edit.

It's no more working maybe because you have wrongly edited it.
This file is just calling the "menus" controller of HikaShop, so you will maybe have to make some modifications in the controller.

Here is the default content of the file "selectoptions.php" if you need to revert back the file. Code:

&lt;?php class JFormFieldSelectoptions extends JFormField{ protected $type = 'selectoptions'; protected function getInput() { if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); if(!function_exists('hikashop_config') &amp;&amp; !include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')){ return 'This menu options cannot be displayed without the Hikashop Component'; } $config =&amp; hikashop_config(); if(!hikashop_isAllowed($config-&gt;get('acl_menus_manage','all'))){ return 'Access to the HikaShop options of the menus is restricted'; } $id = JRequest::getInt('id'); if(!empty($id)){ $text = '&lt;a title="'.JText::_('HIKASHOP_OPTIONS').'" href="'.JRoute::_('index.php?option=com_hikashop&amp;ctrl=menus&amp;fromjoomla=1&amp;task=edit&amp;cid[]='.$id).'" &gt;'.JText::_('HIKASHOP_OPTIONS').'&lt;/a&gt;'; }else{ $text = JText::_('HIKASHOP_OPTIONS_EDIT'); } return $text; } }

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

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

Time to create page: 0.073 seconds

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

[](#top)
