The cart appears on the right side or overlays the product page interface.
This issue typically appears as shown on desktop (highlighted on the right:
- In your Shopify Admin, go to Upcart > Cart Editor > Settings
-
Under Custom HTML, Select HTML Location dropdown > Scripts (Before load)

-
Copy and paste the following code:
This is how your custom HTML settings should look like in Upcart:

- Scroll to the top and click Save. Saving Upcart changes will require up to a minute for the changes to take place.
Why does this happen?
When Upcart loads, we expect it to appear off-screen to the right of the store page. However, certain store themes and third-party Shopify apps may alter the page layout, including Upcart’s placement. As a result, Upcart may load in a different position, leading to a visual bug where it’s visible at all times. Implementing the above code changes will reposition Upcart, restoring its original behavior.Additional Steps
If you’re experiencing any flickering during the page loading stage by Upcart, you can also try applying some CSS changes to hide the cart drawer. Please keep in mind, this will hide Upcart on the preview page as well.
Cart is stuck on the left
The problem most likely occurs because your translation app is translating some of Upcart’s settings to another language. For example, it could be translating the metafield calledcartPosition. cartPosition can either be set to “left” or “right”, but your translation app could be translating these to the language of your choice, like “gauche” or “droite” in French.
Shopify Metafields only understand English, so when it sees that the cartPosition is not left or right,it doesn’t know what to do! So it then defaults to the top-left of the page, causing the issue you’re seeing.
The Solution
In this case you’d want to remove translations for all Upcart metafields that change the cart’s behaviour. Using thecartPosition example from earlier, you’d want to make sure cartPosition is not translated.
Here is a video walking you through steps for fixing this issue:
