Shopify Shipping Rates Calculator for Dawn Theme and more - NO APP/ Library

Shopify Shipping Rates Calculator for Dawn Theme and more - NO APP/ Library

How to see the code

1. Please log in/create an account first. This is to ensure that all purchases are connected to an account and can be viewed on different devices.

2. Purchase the code using the "purchase box" on the specific page of the desired code.

3. After the purchase, please refresh the page.

Compatibility: Any version of Dawn, and any Shopify 2.0 FREE themes

A lot of Shopify developers were disappointed that old codes does not work with new Shopify 2.0 themes. The Shopify 2.0 FREE themes are faster compared to the old themes. This is because of less usage of external libraries, like jquery.

I know a lot of developers might have told you that shipping calculators cannot be done in Shopify 2.0 FREE themes. I take negativity as a challenge and wrote the code below WITHOUT any use of library. 

Shipping information will be base on your Shopify Shipping and delivery settings. You can check the said setting by clicking the Settings on your left hand bottom corner at your Admin page, then go to Shipping and delivery.

Please check the demo store here before purchasing. Password: Made4Uo

See the Get shipping estimates section below. UPSELL section not included.

Shipping calculator image

 What you are buying:

  • Add shipping calculator to your cart page
  • Assign a default country
  • Design might have to depend to the Shopify theme being use

What makes our code better:

  • We do not use external libraries, with that being said, our code will have no to minimal effect to your website's speed performance
  • We do not leave or add codes use to advertise for our website
  • Our code is mobile friendly

Any issues related to the code will be fix with no additional cost, excluding code customization requests. Simply contact us with "Chat with us." We are just a button away. 

To start:

1. From your Admin Page, click Online Store > Themes >Actions > Edit code
2. In the Snipper folder, create a snippet. Name it  shipping-calculator. The file must show shipping-calculator.liquid under the snippet folder.
3. Paste the code below in the file. Make sure to click SAVE.

<

 

4. We need to place this shipping calculator to our cart page. Open the main-cart-footer.liquid under the Section folder. Refer to image below where to paste the code. Make sure to SAVE.

<

 

shipping calculator

5. Next, go to config folder, and open the settings_schema.json. Before the last "]", click enter to have a new line, then place the code below. Make sure to SAVE.

<

 

This settings will be available when you go to Theme editor, and click Settings

 

Updates: No changes made to the code, but make sure you go to Settings > Market > Activate international shipping if needed. Without this, the calculator will not work if you try to input international zip code. 

That is it (",)

Copied!
Back to blog

Leave a comment