Replacing Shopify’s “Add to Cart” With a Link That Looks Identical / Adding Buttons in Custom Liquid

Ed Codes - Shopify DIY Tutorials · Beginner ·📰 AI News & Updates ·6mo ago
An essential skill for Shopify users. Sometimes your theme doesn't provide a button in certain sections. That's when you can create your own button using the custom liquid field. You don't want to re-invent the wheel, though, writing the CSS from scratch. Instead, we can piggyback off the existing theme button styles, by using the same CSS classes. That way, your custom button looks exactly the same as other buttons in your theme, and it stays in sync even when you change the button styles via settings. In this video, I show you how to find the CSS classes your theme is using, and re-use …
Watch on YouTube ↗ (saves to browser)

Chapters (7)

Intro
0:31 Create a new template
1:05 Remove stuff
1:20 Create a simple link
2:07 Inspecting your theme's buttons
3:21 Re-using your theme's CSS
6:09 Summary
Wasn’t expecting the sign to be so on the nose.
Next Up
Wasn’t expecting the sign to be so on the nose.
Google for Developers