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
- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. 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
- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. 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
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