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

#   My Cart button in home page do not work...

##

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

Less More

- Posts: 73
- Thank you received: 0
-
-

10 years 10 months ago [\#226968](#226968) by [melprok](/forum/user/33464-melprok "View melprok's Profile")  *[My Cart button in home page do not work...](/forum/27-checkout/881646-my-cart-button-in-home-page-do-not-work#226968 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.x  Hi,  Question about that button cart button. If I click My Cart (Mi Carrito) button its works in all pages excet in home page? When you click that button in home page does nothing.  melprokwebsolutions.com/WebSite&#95;Client&#95;Develop/alexhealth/  When I click the button, I see this in console: Uncaught TypeError: Cannot read property 'length' of nullcartDropdown @ cart&#95;dropdown.js:2onclick @ (index):1278  Some idea?  Thanks, Jose")* was created by *[melprok](/forum/user/33464-melprok "View melprok's Profile")*

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

Hi,

Question about that button cart button. If I click My Cart (Mi Carrito) button its works in all pages excet in home page?
When you click that button in home page does nothing.

melprokwebsolutions.com/WebSite_Client_Develop/alexhealth/

When I click the button, I see this in console:
Uncaught TypeError: Cannot read property 'length' of nullcartDropdown @ cart_dropdown.js:2onclick @ (index):1278

Some idea?

Thanks,
Jose

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

10 years 10 months ago [\#226974](#226974) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[My Cart button in home page do not work...](/forum/27-checkout/881646-my-cart-button-in-home-page-do-not-work#226974 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.x  Hi,  Question about that button cart button. If I click My Cart (Mi Carrito) button its works in all pages excet in home page? When you click that button in home page does nothing.  melprokwebsolutions.com/WebSite&#95;Client&#95;Develop/alexhealth/  When I click the button, I see this in console: Uncaught TypeError: Cannot read property 'length' of nullcartDropdown @ cart&#95;dropdown.js:2onclick @ (index):1278  Some idea?  Thanks, Jose")*

Hi,

Your Javascript error is related to an external javascript file (not an HikaShop one).
Due to that error ; it is highly possible that the rest of the javascript in the page is not processed and some features provided by javascript are not working (because not initialized).

If you can fix that javascript issue, it is possible that the link "my cart" will work also in your home page.

Regards,

---

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

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

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