Shopify themes, liquid, logos, and UX
hi all, is there a way to make the "your cart" page title clickable to direct buyers to a cart page? I currently like the slide out drawer but would also like to give buyers the option of clicking it.
url: a2d014-b6.myshopify.com
pw: test222
Solved! Go to the solution
This is an accepted solution.
Hi @vvyan
Please open Online Store > Themes > Edit code > Snippets > cart-drawer.liquid, find this line of code
<h2 class="drawer__heading">{{ 'sections.cart.title' | t }}</h2>
Replace it with this
<h2 class="drawer__heading"><a href="/cart">{{ 'sections.cart.title' | t }}</a></h2>
Save file
- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
Hi @vvyan
Please open Online Store > Themes > Edit code > Snippets > cart-drawer.liquid, find this line of code
<h2 class="drawer__heading">{{ 'sections.cart.title' | t }}</h2>
Replace it with this
<h2 class="drawer__heading"><a href="/cart">{{ 'sections.cart.title' | t }}</a></h2>
Save file
- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hi @vvyan,
To add the heading and link to your cart-drawer.liquid snippet, follow these steps:-
1. Access Your Theme Files:
- In your Shopify admin, go to Online Store > Themes.
- Find your active theme, click on Actions > Edit Code.
2. Locate the cart-drawer.liquid Snippet:
- In the Snippets section, find the file named cart-drawer.liquid.
3. Insert the Code:
- Inside cart-drawer.liquid, add the following code where you want the cart title to appear:
<h2 class="drawer__heading">
<a href="/cart">{{ 'sections.cart.title' | t }}</a>
</h2>
4. Save the File:
- After making the changes, click Save.
I hope this helps! If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025