Change shipping policy link at cart.. theme dawn

Change shipping policy link at cart.. theme dawn

Edgars_Rudzitis
Excursionist
43 0 5

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.

Replies 4 (4)

Kudosi-Tracy
Shopify Partner
853 103 374

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:
     
    <a href="{{ pages.custom-shipping-policy.url }}">Shipping Policy</a>
    (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

- Was my answer helpful? Please hit Like or Mark it as solution!
- Kudosi Product Reviews - The must-have Shopify app that empowers you to effortlessly collect, display, and manage product reviews.
- Start your FREE trial today!

furqanhamid
Tourist
4 0 0

You can update the cart page link by editing your theme's cart.liquid file in the Shopify theme editor. Look for the existing shipping policy link and replace it with the URL of your custom page. If you're using Dawn, you might find it under Sections → main-cart.liquid. Let me know if you need help finding the exact spot! 

Edgars_Rudzitis
Excursionist
43 0 5

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

Edgars_Rudzitis
Excursionist
43 0 5

can you help me?