Shopify themes, liquid, logos, and UX
Hi, I am using the Brooklyn theme and would like to take the customer to the cart rather than the current proceed to payment option when they click on "proceed to checkout".
Can anyone point me in the right direction?
Thank you.
Solved! Go to the solution
This is an accepted solution.
Hey!
Go to Themes > Action > Edit code. Then open the "ajax-cart-template.liquid" file, and replace :
<button type="submit" class="btn--secondary btn--full cart__checkout" name="checkout">
{% endraw %}{{ 'cart.general.checkout' | t }}{% raw %} <span class="icon icon-arrow-right" aria-hidden="true"></span>
</button>
with the following :
<a href="/cart" class="btn--secondary btn--full cart__checkout">
{% endraw %}VIEW CART{% raw %} <span class="icon icon-arrow-right" aria-hidden="true"></span>
</a>
🙂
Hello, @aciel
Welcome to the Shopify community!
and Thanks for your Good question.
Please share your site URL,
So I will check and provide a solution here.
Hi, it's anavaparis.myshopify.com
Thank you!
It can be done by doing some code customization. please send me a personal message and we can discuss what you'd like
I was hoping to do it myself actually..
I've tried replacing this code in my ajax-cart-template.liquid :
<button type="submit" class="btn--secondary btn--full cart__checkout" name="checkout">
{% endraw %}{{ 'cart.general.checkout' | t }}{% raw %} <span class="icon icon-arrow-right" aria-hidden="true"></span>
</button>
With this :
<a href="/cart">
<button type="submit" name="checkout">
Voir mon panier
</button>
</a>
But it doesn't work and the button is still directing to checkout page. Does anyone know change this?
your have some thing else missing
Hi,
May i know what is the solution for this? I've been looking everywhere for it.
Thank you
Hello,, @EeJin
Welcome to the Shopify community!
and Thanks for your Good question.
Please share your site URL,
So I will check and provide a solution here.
Hi,
My shop is password protected since it is not live yet. I have sent you an email for this.
Thank you!
sorry please share issue images
I can't find a file called "ajax-cart-template.liquid" in the code, so I am not sure what to edit in the Debut theme?
Can you help with the code?
sorry but debut theme doesn't allow
This is an accepted solution.
Hey!
Go to Themes > Action > Edit code. Then open the "ajax-cart-template.liquid" file, and replace :
<button type="submit" class="btn--secondary btn--full cart__checkout" name="checkout">
{% endraw %}{{ 'cart.general.checkout' | t }}{% raw %} <span class="icon icon-arrow-right" aria-hidden="true"></span>
</button>
with the following :
<a href="/cart" class="btn--secondary btn--full cart__checkout">
{% endraw %}VIEW CART{% raw %} <span class="icon icon-arrow-right" aria-hidden="true"></span>
</a>
🙂
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024