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

#   Getting invalid token when adding product to cart

##

- **[lisa\_tackur](/forum/user/37642-lisa-tackur "View lisa&#95;tackur's Profile")**
- [![lisa&#95;tackur's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/time_eye.jpg)](/forum/user/37642-lisa-tackur "View lisa&#95;tackur's Profile") Topic Author
- [ Offline](/forum/user/37642-lisa-tackur)

Less More

- Posts: 20
- Thank you received: 0
-
-

11 years 1 month ago [\#216749](#216749) by [lisa\_tackur](/forum/user/37642-lisa-tackur "View lisa&#95;tackur's Profile")  *[Getting invalid token when adding product to cart](/forum/25-install-update/879754-getting-invalid-token-when-adding-product-to-cart#216749 "-- HikaShop version -- : 2.6.0 -- Error-message(debug-mod must be tuned on) -- : Invalid token  I get invalid token when I click &quot;add to cart&quot; button .. here is the url of my site   3d.atoa.com/")* was created by *[lisa\_tackur](/forum/user/37642-lisa-tackur "View lisa&#95;tackur's Profile")*

-- HikaShop version -- : 2.6.0
-- Error-message(debug-mod must be tuned on) -- : Invalid token

I get invalid token when I click "add to cart" button .. here is the url of my site [ 3d.atoa.com/](http://3d.atoa.com/)

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

11 years 1 month ago [\#216753](#216753) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Getting invalid token when adding product to cart](/forum/25-install-update/879754-getting-invalid-token-when-adding-product-to-cart#216753 "-- HikaShop version -- : 2.6.0 -- Error-message(debug-mod must be tuned on) -- : Invalid token  I get invalid token when I click &quot;add to cart&quot; button .. here is the url of my site   3d.atoa.com/")*

Hi,

I don't ; but I got a "login" page instead.

In the product page, the link "/atoa-mobile-accessories-cad/product/updatecart" is not blocked by Joomla ACL.
In the home page, the link "/product/updatecart" is blocked.

HikaShop does not (and never did) check Joomla tokens for the "add to cart".
You should assign a valid menu to your product listing module in the homepage in order to not point to something else than HikaShop and generate unwanted side effects.

Regards,

---

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

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