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

#   mod\_hikashop\_cart not working

##

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

Less More

- Posts: 57
- Thank you received: 5
-
-

12 years 9 months ago [\#144177](#144177) by [Hristov](/forum/user/12584-hristov "View Hristov's Profile")  *[mod\_hikashop\_cart not working](/forum/3-bug-report/865894-mod-hikashop-cart-not-working#144177 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  I am near the completion of a website I am developing for a client, and I just updated hikashop to 2.3.0 to test if I had forgotten to create overrides for the numerous core alternations I did to hikashop.  So far so good, looks like I have overrides for everything with the exception that the mod&#95;hikashop&#95;cart override now is not loading.  Path is mytemplate/html/mod&#95;hikashop&#95;cart/mod&#95;hikashop&#95;cart.php  All works as intended on version 2.2.2  Kind regards,  Drago. I")* was created by *[Hristov](/forum/user/12584-hristov "View Hristov's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2
-- PHP version -- : 5.3.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hello,

I am near the completion of a website I am developing for a client, and I just updated hikashop to 2.3.0 to test if I had forgotten to create overrides for the numerous core alternations I did to hikashop.

So far so good, looks like I have overrides for everything with the exception that the mod_hikashop_cart override now is not loading.

Path is mytemplate/html/mod_hikashop_cart/mod_hikashop_cart.php

All works as intended on version 2.2.2

Kind regards,

Drago.
I

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjU4OTQtbW9kLWhpa2FzaG9wLWNhcnQtbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

12 years 9 months ago [\#144196](#144196) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[mod\_hikashop\_cart not working](/forum/3-bug-report/865894-mod-hikashop-cart-not-working#144196 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  I am near the completion of a website I am developing for a client, and I just updated hikashop to 2.3.0 to test if I had forgotten to create overrides for the numerous core alternations I did to hikashop.  So far so good, looks like I have overrides for everything with the exception that the mod&#95;hikashop&#95;cart override now is not loading.  Path is mytemplate/html/mod&#95;hikashop&#95;cart/mod&#95;hikashop&#95;cart.php  All works as intended on version 2.2.2  Kind regards,  Drago. I")*

Hi,

We didn't change anything in that module's main file with the latest release. So it must come from your code modifications.

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

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

Less More

- Posts: 57
- Thank you received: 5
-
-

12 years 9 months ago [\#144254](#144254) by [Hristov](/forum/user/12584-hristov "View Hristov's Profile")  Replied by *[Hristov](/forum/user/12584-hristov "View Hristov's Profile")* on topic *[mod\_hikashop\_cart not working](/forum/3-bug-report/865894-mod-hikashop-cart-not-working#144254 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  I am near the completion of a website I am developing for a client, and I just updated hikashop to 2.3.0 to test if I had forgotten to create overrides for the numerous core alternations I did to hikashop.  So far so good, looks like I have overrides for everything with the exception that the mod&#95;hikashop&#95;cart override now is not loading.  Path is mytemplate/html/mod&#95;hikashop&#95;cart/mod&#95;hikashop&#95;cart.php  All works as intended on version 2.2.2  Kind regards,  Drago. I")*

Hi nicolas,

I just discovered that I did not remove my modification from the core module file, so my override never actually worked in version 2.2.2.

This pops the question now how do I override this module file?

In mod_hikashop_cart.php core:
Code:

&lt;p&gt;test&lt;/p&gt; &lt;div class="hikashop_cart_module" id="hikashop_cart_module"&gt; &lt;?php echo $html; ?&gt; &lt;/div&gt;

The test string gets rendered in, but not in the override. Any ideas why that might be?

Path as I mentioned is mytemplate/html/mod_hikashop_cart/mod_hikashop_cart.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjU4OTQtbW9kLWhpa2FzaG9wLWNhcnQtbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

12 years 9 months ago [\#144282](#144282) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[mod\_hikashop\_cart not working](/forum/3-bug-report/865894-mod-hikashop-cart-not-working#144282 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  I am near the completion of a website I am developing for a client, and I just updated hikashop to 2.3.0 to test if I had forgotten to create overrides for the numerous core alternations I did to hikashop.  So far so good, looks like I have overrides for everything with the exception that the mod&#95;hikashop&#95;cart override now is not loading.  Path is mytemplate/html/mod&#95;hikashop&#95;cart/mod&#95;hikashop&#95;cart.php  All works as intended on version 2.2.2  Kind regards,  Drago. I")*

There is no system in Joomla to override the main file of the modules. So it's normal that what you're doing doesn't work.
You can only override the files in the tmpl folder of the modules and the cart module of HikaShop doesn't have such tmpl files since it loads a standard view file called "cart" of the view "product" that you can edit via the menu Display&gt;Views.

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

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

Less More

- Posts: 57
- Thank you received: 5
-
-

12 years 9 months ago [\#144297](#144297) by [Hristov](/forum/user/12584-hristov "View Hristov's Profile")  Replied by *[Hristov](/forum/user/12584-hristov "View Hristov's Profile")* on topic *[mod\_hikashop\_cart not working](/forum/3-bug-report/865894-mod-hikashop-cart-not-working#144297 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  I am near the completion of a website I am developing for a client, and I just updated hikashop to 2.3.0 to test if I had forgotten to create overrides for the numerous core alternations I did to hikashop.  So far so good, looks like I have overrides for everything with the exception that the mod&#95;hikashop&#95;cart override now is not loading.  Path is mytemplate/html/mod&#95;hikashop&#95;cart/mod&#95;hikashop&#95;cart.php  All works as intended on version 2.2.2  Kind regards,  Drago. I")*

Ok, got it.

I have my override in the correct place now.

Thanks.

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

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