Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Betreff: How to fix Checkout issues

Solved

How can I resolve checkout issues in my online store?

Kani
Shopify Partner
468 125 232

before you start

check if this solution will work for you

1: add item to cart

2: enter it in your browser,   your domain/chekcout 

 

 

Edit your Cart page form action from '/cart' to '/checkout'

 

1: Online store > themes > Actions > Edit code > sections > cart-template.liquid

search <form action=" 

if you are using Dawn, then it's in 'main-cart-items.liquid' and 'cart-drawer.liquid'

before

Kani_0-1661938895892.png

after

Kani_1-1661942961459.png

 

 

 

 

 

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂
Accepted Solutions (3)

Kani
Shopify Partner
468 125 232

This is an accepted solution.

remember to back up your theme, and waiting for shopify fix this issues 🙂 

 

I have not removed 'Google Tag Manager' and it still work (just changing the form action ), so you can keep it as you like

 

check status here

https://www.shopifystatus.com/

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂

View solution in original post

Kani
Shopify Partner
468 125 232

This is an accepted solution.

from @RCosmin 

Kalles theme

the file that needs to be changed is cart_widget.liquid

Then - theme settings and disable the "Cart view" button.

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂

View solution in original post

Kani
Shopify Partner
468 125 232

This is an accepted solution.

issue resolved

remember change your theme back.

Kani_0-1661967512921.png

 

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂

View solution in original post

Replies 64 (64)

Kani
Shopify Partner
468 125 232

This is an accepted solution.

remember to back up your theme, and waiting for shopify fix this issues 🙂 

 

I have not removed 'Google Tag Manager' and it still work (just changing the form action ), so you can keep it as you like

 

check status here

https://www.shopifystatus.com/

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂
tigranhak
Shopify Partner
3 0 0

You are a lifesaver! Could you send me your Paypal email so I can send you a small donation as a "thank you"?

Kani
Shopify Partner
468 125 232

why not 🤣 love you  565746947@qq.com 

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂

mrbobby93
Excursionist
38 0 14

what exactly I have to remove and what I have to add? Thank you

Kani
Shopify Partner
468 125 232

oh sorry seems like it not clear. I have updated post.

for this hot fix you should change your form action url to 'checkout'

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂
mrbobby93
Excursionist
38 0 14

Thank you.  I will try

sotiris7
Shopify Partner
7 0 2

Worked just fine for dawn theme. Thank you 

A_L95
Tourist
4 0 2

Much appreciated Kani.

 

Worked on our theme as well - I can't believe that it's been this many hours and Shopify dev team still have not found a solution.

Pottycats
Excursionist
19 0 4

OMG couldn't agree more to this! @Kani you are truly THE BEST! THANK YOUUUUU

Kani
Shopify Partner
468 125 232

This is an accepted solution.

from @RCosmin 

Kalles theme

the file that needs to be changed is cart_widget.liquid

Then - theme settings and disable the "Cart view" button.

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂

BRACHET_LUCIE
New Member
5 0 0

Hi Kani,

As a temporary solution, I've followed one of shopify partners solution : replace the checkout buton by this code : <a href="/checkout">Continue to checkout</a>. 

It works and orders are now coming... which is really less frutrating !!! 

It's not a good solution because there is no button at all but as orders are now coming, it's difficulte for me to stop to make tests.... 

Any suggestion ? 

Thank you for your support !!

Kani
Shopify Partner
468 125 232

Hi @BRACHET_LUCIE 

 

you can do it like this

1:duplicate you current theme

Kani_0-1661954672376.png

2:preview and edit it here, and publish this theme once you updated code

Kani_1-1661954764192.png

 

 

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂

jmcgrath
Shopify Partner
2 0 5

Thank you, amazing that it takes someone outside of Shopify's internal dev team to offer a real solution instead of just saying "try removing GTM". Much appreciated

ErinK
Tourist
6 0 19

Using the Prestige theme, and this is an excellent temporary fix, thank you Kani!!

kavipoetryart
Excursionist
31 0 4

Hi Erink,

I am also using Prestige theme but couldn't fix. Could you please share the screenshot? Thank you in advance.

TTS1
Tourist
5 0 2

You are an ABSOLUTE GENIUS! This worked straight away, thank you so much for this!

Sunnddy
Tourist
3 0 1

My store is using Brooklyn theme.  I couldn't find the cart-template.liquid under section.  Could you please tell me where I should look to? Thank you.

Kani
Shopify Partner
468 125 232

Hi @Sunnddy 

 

Brooklyn theme

 

Kani_0-1661957444352.png

 

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂
himalaya
Shopify Partner
3 0 0

hi @Kani 

i am using supply theme and not getting where and what i have to change, please help.

Kani
Shopify Partner
468 125 232

Hi @himalaya 

 

searching keyword

 

Kani_0-1661958461810.png

 

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂
himalaya
Shopify Partner
3 0 0

<form action="/cart" method="post" class="cart-form" novalidate>

this line is showing there, please let me know what i have to replace with what.

himalaya
Shopify Partner
3 0 0

as i have changed from " cart" to " checkout" , after doing this the cart option is not opening on website.

Kani
Shopify Partner
468 125 232

This is not an official solution, just for we not losing money before shopify fix checkout issue.

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂
anicertain
New Member
4 0 0

Hi! I have the prestige theme and cannot find the way to change this so it goes directly to checkout. Can you please advise?

valentinewigs
Shopify Partner
8 0 1

Hi! We have the warehouse theme, does anyone know where to find the form action to perform this workaround until the problem is resolved?

yellowwebmonkey
Shopify Partner
15 0 3

For WAREHOUSE:

 

Check the section: cart-template.liquid

 

It was around Line 350 in the site I checked:

 

<form class="cart-recap" method="post" action="{{ routes.cart_url }}" novalidate="novalidate" data-item-count="{{ cart.item_count }}">

 

change to

 

<form class="cart-recap" method="post" action="/checkout" novalidate="novalidate" data-item-count="{{ cart.item_count }}">

 

@valentinewigs @SarahCoolersomm 

Alexis Priddy
anicertain
New Member
4 0 0

if you can help me with the prestige theme I would really appreciate it!

Kani
Shopify Partner
468 125 232

Hi @anicertain @valentinewigs 

 

pls search keyword 'cart' to find it

Kani_0-1661961190656.png

 

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂
valentinewigs
Shopify Partner
8 0 1

Hi, thanks for reply

Yes got main-cart.liquid but there are no words 'form action' in there

anicertain
New Member
4 0 0
I cant find the main cart liquid. Dont know if someone from the team can go
in and help me out.

Kani
Shopify Partner
468 125 232

so many mails…… so I wake up LOL

issues resolved🎊

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂
khaiyuan
New Member
5 0 0

Hi Kani,

 

We're using Expanse. When I search for cart, this is what I see. It is not located under the section. Would you be able to guide? Thank you so so much! 

 

Screenshot 2022-10-24 at 12.56.44 PM.png

Kani
Shopify Partner
468 125 232
<form action="/checkout" method="post" class="cart-form" novalidate>
Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂
Sunnddy
Tourist
3 0 1

It works!  thank you very much!!

lukast
Tourist
3 0 1

feel not confortable to do it myself. what company would you recommend for doing it?

shop is washo.ch

 

shadystff
Visitor
3 0 0

hi trying to look for similar solution ofr impulse theme

yellowwebmonkey
Shopify Partner
15 0 3

For IMPULSE:

temporarily removing Google Tag Manager and gtag.js from theme.liquid from both <head> and <body> sections fixed it for me.

 

@shadystff 

Alexis Priddy
shadystff
Visitor
3 0 0
Do I just remove all this










yellowwebmonkey
Shopify Partner
15 0 3

@shadystff For the Google Tags code, I would copy/paste it into a text file keep till Shopify gets it sorted.  Then you can remove it.  Make sure you are removing that part from <script> to </script> so you don't cause a syntax error.

 

If you want me to take a look, you can DM me.

Alexis Priddy
Nishma
Visitor
2 0 0

@yellowwebmonkey - could you please help me fix the issue in minimal theme..

yellowwebmonkey
Shopify Partner
15 0 3

@Nishma yes.  sent you a DM.

Alexis Priddy
shadystff
Visitor
3 0 0

Here is my full script not sure what to leave or remove

Click to expand...






onload="window.TWIK_SB && window.TWIK_SB()"
rel="stylesheet"/>

{% capture sb %}{% include
'sb-snippet' %}{% endcapture %}{% unless sb contains 'Liquid error' %}{%
include 'sb-snippet' %}{% endunless %}

<meta name="yandex-verification" content="4f11212743359a5e" />

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

<meta name="viewport" content="width=device-width,initial-scale=1" />

<meta name="theme-color" content="{{ settings.color_button }}" />



<meta name="format-detection" content="telephone=no" />



{%- if settings.favicon -%}



{%- endif -%}{%include "preconnect"%}

{% include 'seo-title' %}

{%- if page_description -%}



{%- endif -%}



{% include 'social-meta-tags' %}



{% include 'font-face' %}

{{ 'theme.scss.css' | asset_url | stylesheet_tag }}



{% style %}

.collection-item__title {

font-size: {{ settings.type_collection_size | times: 0.8 }}px;

}



@media screen and (min-width: 769px) {

.collection-item__title {

font-size: {{ settings.type_collection_size }}px;

}

}

{% endstyle %}







{{ content_for_header }}





{% if settings.enable_currencies %}

{% unless shop.enabled_currencies.size > 1 %}





{% endunless %}



{% endif %}







{%- if request.page_type contains 'customers/' -%}



{%- endif -%}

{% include 'booster-common' %}

{% render 'judgeme_core' %}



















{% comment %}

Enable below script if page transitions enabled

{% endcomment %}

{% comment %}



{% endcomment %}



{{
'general.accessibility.skip_to_content' | t }}








{% section 'header' %}





{{ content_for_layout }}





{% section 'footer-promotions' %}

{% section 'footer' %}



{{shop.name}}







{% section 'newsletter-popup' %}



{%- if settings.cart_type == 'drawer' -%}

{%- include 'ajax-cart-template' -%}

{%- endif -%}



{%- if settings.enable_currencies -%}

{%- include 'currency-modal' -%}

{%- endif -%}



{% comment %}

Custom markup for slider arrows using theme icons

{% endcomment %}






class="icon icon-chevron-left" viewBox="0 0 284.49 498.98">

{{ 'general.pagination.previous' | t
}}







class="icon icon-chevron-right" viewBox="0 0 284.49 498.98">

{{ 'general.pagination.next' | t
}}








{%- if settings.predictive_search_enabled -%}

{%- include 'predictive-template' -%}

{%- endif -%}



{% include 'video-modal' %}

{% include 'photoswipe-template' %}

{% if template contains 'product' %}

{% include 'recently-viewed-product-template' %}

{% endif %}



{% if template contains 'collection' %}

{{shop.name}}



{% endif %}

{% include 'booster-discounts' %}



{{ 'currency_converter_setting.css' | asset_url | stylesheet_tag }}{{
'currency_converter_setting.js' | asset_url | script_tag }}{% include
'currency_converter_setting' %}



{%include "footer_content"%}











{% if template contains 'product' %}



{% elsif template contains 'cart' %}



{% endif %}







 

lequilters
Visitor
1 0 0

I have the Empire theme, where do I go to change from cart to checkout.

SarahCoolersomm
Visitor
1 0 0

How does this work on Warehouse theme?

 

A whole days biz in the bin

Seven7Ways
Visitor
1 0 0

I just wanted to say THANK YOU. It works!!

 

I changed in DAWN "main-cart-items" this

 

<form action="{{ routes.cart_url }}" class="cart__contents critical-hidden" method="post" id="cart">

 

to 

 

<form action="/checkout" class="cart__contents critical-hidden" method="post" id="cart">

 

A big big THANK YOU!!!

Nishma
Visitor
2 0 0

Hi,

can someone help for minimal theme.

Andre439439
New Member
6 0 0

Hello, i am using the debutify theme and having trouble to find the form action thing, here a screenshot: 

Andre439439_0-1661964390202.png

 

yellowwebmonkey
Shopify Partner
15 0 3

@Andre439439 try the section 'page-cart-content.liquid'

Alexis Priddy
Andre439439
New Member
6 0 0

Andre439439_0-1661964678440.png

doensnt seem to be it 😕