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

#   Link add to cart in multilingual website

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

7 years 3 months ago [\#309423](#309423) by [IlonkaZorn](/forum/user/58075-ilonkazorn "View IlonkaZorn's Profile")  *[Link add to cart in multilingual website](/forum/25-install-update/898016-link-add-to-cart-in-multilingual-website#309423 "Hi, In my multilingual website I want to add links to add a product to the shopping cart. This works fine for the default language by copying the HTML-code from the product page in the backend. However, if I click the link in another language the dreaded HTML 404 error page appears, because the URL points to the wrong page. Do you know how I can tweak the link such that the cart is opened for the correct language?  I am running the latest HikaSop Essential.")* was created by *[IlonkaZorn](/forum/user/58075-ilonkazorn "View IlonkaZorn's Profile")*

Hi,
In my multilingual website I want to add links to add a product to the shopping cart.
This works fine for the default language by copying the HTML-code from the product page in the backend. However, if I click the link in another language the dreaded HTML 404 error page appears, because the URL points to the wrong page.
Do you know how I can tweak the link such that the cart is opened for the correct language?

I am running the latest HikaSop Essential.

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

7 years 3 months ago [\#309429](#309429) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Link add to cart in multilingual website](/forum/25-install-update/898016-link-add-to-cart-in-multilingual-website#309429 "Hi, In my multilingual website I want to add links to add a product to the shopping cart. This works fine for the default language by copying the HTML-code from the product page in the backend. However, if I click the link in another language the dreaded HTML 404 error page appears, because the URL points to the wrong page. Do you know how I can tweak the link such that the cart is opened for the correct language?  I am running the latest HikaSop Essential.")*

Hi,

Well, it depends on how your website is configured and how the languages are setup. I suppose that you'll need to add the language tag in the URL, but maybe it also means changing the alias of the menu item...
The simplest is to use the content tag plugin:
[ www.hikashop.com/support/documentation/1...-product-insert.html](https://www.hikashop.com/support/documentation/137-hikashop-product-insert.html)
It will generate the add to cart button based on the current situation and on top of that, it will support the HikaShop cart notification plugin to display the notification, refresh the cart module areas etc. Finally, since it will handle things dynamically, it should have no problem with different languages.

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

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