How to Configure LineItem component with Clickable itemTitle

Nitheshkumar_R
New Member
1 0 0

Hello Team,
              I have a requirement to make the Shopify's LineItem Component's itemTitle property as a clickable link that redirects back to our domain based pages.
Is this use case possible using Shopify's buy button.js.

Currently this itemTitle seems to be a <span>
<span class="shopify-buy__cart-item__title" data-element="lineItem.itemTitle">Writing for your course</span>

Image for your reference:

Nitheshkumar_R_0-1611303105449.png

Any assistance here would be really helpful.
Thanks!

0 Likes