Geolocation Redirect Issue during Checkout Process

Geolocation Redirect Issue during Checkout Process

adilzh
Tourist
5 0 0

Hello Shopify Community,

 

I am facing with my Shopify store, specifically related to the geolocation functionality and language-specific URL redirection.

 

Issue Summary: I have installed a geolocation app to direct customers to the appropriate language version of my store based on their location. This is intended to enhance the user experience for international visitors. However, I am encountering a problem during the checkout process.

When a customer from Germany, for example, is directed to the German language version of the site (website.com/de-de), and they proceed to checkout, there is an inconsistency with the 'back to cart' function. If the customer decides to return to their cart from the checkout page by clicking the 'back to cart' icon, instead of being redirected to website.com/de-de/cart, they are taken to website.com/cart, which is the default language path.

Replies 3 (3)

PageFly-Theodor
Shopify Partner
691 86 101

Hi @adilzh ,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the Geolocation Redirect Issue During Checkout Process, let’s try this solution:

To fix the 'back to cart' link redirecting to the incorrect language version, you can either contact the geolocation app developer for assistance, find a compatible geolocation app, or implement a workaround like manually updating the link in the theme editor. To manually update it, go to Online Store > Themes, edit the Checkout section, locate the 'back to cart' link, and change the href attribute to match the proper language URL structure. This will ensure customers are redirected to the correct language version when clicking 'back to cart'.


I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

adilzh
Tourist
5 0 0

in the shopify section, i do not have checkout.liquide for this changes

PageFly-Theodor
Shopify Partner
691 86 101

You are correct that the checkout page in Shopify is no longer editable using the checkout.liquid file. This is due to a recent change that Shopify made to the checkout process, which is now handled by a combination of liquid templates and JavaScript.

There are a few ways that you can make changes to the checkout page without editing the checkout.liquid file. One option is to use a checkout editor app. There are a number of apps available on the Shopify App Store that allow you to customize the look and feel of your checkout page without having to write any code.

Another option is to use a custom checkout theme. Custom checkout themes are liquid templates that you can create and upload to your Shopify store. This gives you complete control over the appearance of your checkout page, but it requires some knowledge of liquid template development.

If you are not comfortable editing liquid templates, you can contact a Shopify expert for assistance. They can help you to implement any changes that you need to make to your checkout page.

Here are some specific recommendations for making changes to the 'back to cart' function on the checkout page without editing the checkout.liquid file:

  • Use a checkout editor app. There are a number of apps available on the Shopify App Store that allow you to customize the checkout page, including the 'back to cart' function. Some popular options include:
    • Checkout Editor by ReConvert
    • Checkout Customizer by Vitals
    • Checkout Designer by Shogun
  • Use a custom checkout theme. If you are comfortable with liquid template development, you can create your own custom checkout theme and add the necessary code to customize the 'back to cart' function.
  • Contact a Shopify expert. If you are not comfortable editing liquid templates, you can contact a Shopify expert for assistance. They can help you to implement any changes that you need to make to your checkout page.

I hope this helps!

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.