How to edit the Cart Drawer product page links (Sense theme)

Topic summary

A user is trying to modify cart drawer product links in the Sense theme to point to custom REPLO-built pages instead of default Shopify product pages.

Successfully Fixed:

  • Cart page links corrected by editing main-cart-items.liquid
  • Changed href="{{ item.url }}" to href='/pages/{{ item.title | truncatewords: 1, "" }}'
  • This redirects products to custom pages like /pages/Bramford and /pages/brenston

Still Needs Help:

  • Applying the same fix to the cart drawer (the slide-out panel)
  • Screenshots provided showing the cart drawer issue

Technical Details:

  • Site: birchbury.co.nz
  • Uses REPLO for custom product pages
  • Code modifications involve replacing liquid template URL variables with custom page paths

The discussion remains open, awaiting guidance on which file controls the cart drawer links.

Summarized with AI on November 6. AI used: claude-sonnet-4-5-20250929.

Hi everyone,

Looking to get some help on editing the cart drawer on www.birchbury.co.nz.

When I add an item to the cart, the products I’ve added, the links goes to the default shopify page which I don’t want. I use REPLO to build my pages and want it linked to those instead.

I was able to fix this issue on the cart page (https://birchbury.co.nz/cart) by:

^ The above code corrected the product link on the cart page.

But would like any help to get it corrected for the cart drawer (that slides out from the side of the page)

Thanks,

T