Shopify themes, liquid, logos, and UX
I am using the Impulse theme with an app for in-store pickups but I need the cart drawer button to not take people directly to the checkout, instead I need it to redirect them back to the cart in order for the app to do its job.
I haven't been able to find the drawer's checkout button liquid anywhere to change what that button says or where it points to.
Any help is appreciated!!
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
We have the same issue.
I've message the theme designer team. Yet to heard back.
Would really want to modify that button in the cart drawer to link to /cart page instead of /checkouts/contact-info page.
yes please share store url
Our Site URL: https://shop.lebledor.com
I edited The <button> </button> Part in cart-drawer.liquid file in one of the theme in our theme library. Appears to be working. However, would appreciate if someone else with more liquid coding experience could take a look.
<div class="cart__checkout-wrapper">
<button type="submit" name="checkout" data-terms-required="{{ settings.cart_terms_conditions_enable }}" class="cart__checkout">
<a href="/cart" class="btn cart__checkout"> {{ 'cart.general.checkout' | t }} </a>
</button>
{% if additional_checkout_buttons and settings.cart_additional_buttons %}
<div class="additional-checkout-buttons additional-checkout-buttons--vertical">{{ content_for_additional_checkout_buttons }}</div>
{% endif %}
</div>
Much appreciated!
Daniel
I got the code from here.
You can disable the cart drawer by going into settings -> Cart -> Select the dropdown menu where it says Cart and change it to Page
We like the cart drawer actually, but too bad the button redirects the customers to /checkouts/contact-info without going into /cart first.
We have a couple custom fields that we need our customers to fill out.
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