Shopify themes, liquid, logos, and UX
Hello community,
I think this is a common question but I haven't seen an answer that works for Motion theme. I would like the featured product that I have on my home page to link with its product page.
Would appreciate if someone could share the code that would do the job.
Thanks!
Thanks a lot for your reply, Saad! I am still a little lost, would you mind sharing a screenshot so I can see exactly what I am trying to change?
<a href="YOUR_PRODUCT_PAGE_URL">
<img src="URL_TO_YOUR_FEATURED_PRODUCT_IMAGE" alt="Featured Product">
</a>
<h2>
<a href="YOUR_PRODUCT_PAGE_URL">Featured Product Title</a>
</h2>
Replace "YOUR_PRODUCT_PAGE_URL" with the actual URL of your featured product page and "URL_TO_YOUR_FEATURED_PRODUCT_IMAGE" with the URL of your featured product image.
Make sure to find the appropriate section in your Motion theme's code where the featured product is displayed, and then wrap the image and title with the <a> tag as shown above.
Hope this helps!
Thanks for your reply! Can you elaborate on what the appropriate section of the code is? There are many instances where 'featured product' is displayed so I am not sure which is the right one
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025