Why does changing languages stop my add to cart function?

Topic summary

Issue: Switching from original English (EN) to translated Estonian (EE) causes the “Add to cart” button to open a cart with 0 products, preventing items from being added.

Recent inputs:

  • A community member requested the store URL to investigate.
  • A staff member asked whether theme edits were made and suggested the problem may be a hard‑coded add-to-cart link.

Key concept: A “hard‑coded add-to-cart link” is a fixed URL or improperly coded button that bypasses Shopify’s standard add-to-cart form/API. When languages or markets change, such static links can fail to pass the required product variant ID, resulting in an empty cart.

Suggested actions:

  • Share the store URL for debugging.
  • Review recent theme customizations, especially product templates and the add-to-cart button.
  • Replace any hard-coded links with Shopify’s standard form (POST) including the correct variant “id” input, or use the Cart API.
  • Test in both EN and EE after changes.

Status: Unresolved/ongoing; awaiting store URL and confirmation of theme edits.

Summarized with AI on January 3. AI used: gpt-5.

Hi,

When I change languages from original (EN) and translated (EE) I can no longer add products to cart, when I click add to cart it opens a cart with 0 products.

Please can someone help?

Hello @Butans

Welcome to Shopify Community.

Can you please share the store url to check.

Thanks

Hi @Butans , have you made any edits to your theme? This sounds like you might have a hard coded add to cart link