All things Shopify and commerce
I followed endless videos and and blogs, did it all and never worked for me.. anyone?
before i pay for an app which do some simple stuff 😕
Hi Yonatann,
In order to skip the cart and head straight to the checkout, your theme's code needs to be changed, most specifically the code for the cart which looks like this:
<a href="{{ routes.cart_url }}" class="header__icon header__icon--cart link focus-inset" id="cart-icon-bubble">
And turn that into something like this:
<form action="{{ routes.cart_url }}" method="post">
{% for item in cart.items %}
<!-- line item info -->
{% endfor %}
<input type="submit" name="checkout" value="Checkout">
</form>
Plus, some other code so that it will still look like the cart button. By doing this, you'll have a button (or anything u want) that will skip cart and head straight to checkout.
Hope this helps and if you have any questions, feel free to ask here or through my contact email below! 🙂👍
If you're looking for an extra hand to do this all for you, I'd be happy to do it for $25. I'll make sure that the cart button or other buttons you're looking to change will skip straight to checkout and also make sure that this change will work flawlessly inside your theme, plus if you have other requirements for it, I'll make sure my work will meet each one of them. Let me know if you're interested via the comments or via my contact email below! 🙂👌
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024