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

#   How to override cart helper

##

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

Less More

- Posts: 51
- Thank you received: 1
-
-

13 years 11 months ago [\#81830](#81830) by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")  *[How to override cart helper](/forum/2-general-talk-about-hikashop/76706-how-to-override-cart-helper#81830 "I am trying to change the configuration for the popup notice box administrator/components/com&#95;hikashop/helpers/cart.php line 220  function getJS -&gt; function displayButton -&gt; class hikashopCartHelper  I tried overriding in the template as per   www.hikashop.com/ja/support/documentatio...tation.html#override  and I have tried overriding with a system plugin as per   www.hikashop.com/en/support/documentatio...ation-temp.html#cart  but can't get either to work. What is the best way without hacking the core file?")* was created by *[Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")*

I am trying to change the configuration for the popup notice box
**administrator/components/com\_hikashop/helpers/cart.php line 220**Code:

'&lt;a rel="{handler: \'iframe\',size: {x: 480, y: 140}}" id="hikashop_notice_box_trigger_link" href="'.hikashop_completeLink('checkout&amp;task=notice'.$url_itemid,true).'"&gt;&lt;/a&gt;'.

function getJS -&gt; function displayButton -&gt; class hikashopCartHelper

I tried overriding in the template as per [ www.hikashop.com/ja/support/documentatio...tation.html#override](http://www.hikashop.com/ja/support/documentation/integrated-documentation/62-hikashop-developer-documentation.html#override)
and I have tried overriding with a system plugin as per [ www.hikashop.com/en/support/documentatio...ation-temp.html#cart](http://www.hikashop.com/en/support/documentation/integrated-documentation/131-developer-documentation-temp.html#cart)

but can't get either to work. What is the best way without hacking the core file?

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

13 years 11 months ago [\#81968](#81968) 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 override cart helper](/forum/2-general-talk-about-hikashop/76706-how-to-override-cart-helper#81968 "I am trying to change the configuration for the popup notice box administrator/components/com&#95;hikashop/helpers/cart.php line 220  function getJS -&gt; function displayButton -&gt; class hikashopCartHelper  I tried overriding in the template as per   www.hikashop.com/ja/support/documentatio...tation.html#override  and I have tried overriding with a system plugin as per   www.hikashop.com/en/support/documentatio...ation-temp.html#cart  but can't get either to work. What is the best way without hacking the core file?")*

Hi,

You can override this display thanks to the function "hikashop_popup_render".
[ www.hikashop.com/en/forum/11-russian/38532----.html#39814](http://www.hikashop.com/en/forum/11-russian/38532----.html#39814)

Regards,

---

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

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

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