Change shipping policy link at cart.. theme dawn

Topic summary

A user created a custom shipping policy page in the theme editor but needs to update the cart page link, which currently points to Shopify’s empty default shipping policy.

Proposed Solution:

  • Navigate to Online Store > Themes > Edit Code
  • Locate the cart template file (cart.liquid or sections/cart-template.liquid)
  • Find the reference to shop.policy.shipping_policy
  • Replace with: <a href="{{ pages.custom-shipping-policy.url }}">Shipping Policy</a> (using the actual page handle)

Current Status:
The user is struggling to locate the correct code section and has identified only main-cart-footer.liquid and main-cart-items.liquid files under sections. They’ve requested additional help finding the specific location to make the change. The issue remains unresolved and requires further guidance on identifying the exact file containing the shipping policy link.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hello.

I dont like rich text editor for shipping policy page so i made custom shipping page in theme editor.

Now in the cart page it has a link to original shipping policy (which is empty) and i want to change the link to my actual shipping page.

1 Like

Hello @Edgars_Rudzitis ,

You’ll need to update the cart page code to point to your custom shipping page instead of Shopify’s default policy link.

Here’s how you can do it:

  1. Go to Online Store > Themes > Edit Code.

  2. Find your cart template file (usually cart.liquid or inside sections/cart-template.liquid).

  3. Look for the link referencing policy.shipping_policy.

    • It might look something like this:

      {{ shop.policy.shipping_policy }}

  4. Replace it with a direct link to your custom page:

    Shipping Policy

    (Replace custom-shipping-policy with your actual page handle.)

  5. Save the file and check your cart page.

That should do it! Let me know if it works.

Best,
Tracy from Kudosi Reviews

please help me find the spot.. im not very advanced in codes haha

can you help me?

1 Like

theres only main-cart-footer.liquid and main-cart-items.liquid under sections

1 Like