Shipping Calculator Product and/or Cart Page - Local delivery

Hi,

I am looking for quotes on the following work:

We use the Local delivery option in Shopify that is setup with 3 x postcode zones and different costs per zone. Depending on the postcode the customer selects, is what we charge for freight.

We charge freight per order NOT per product.

I have two aims:

  1. The customer can check and see the freight cost in the product page and the cart by entering their postcode.

OR

  1. The customer can check and the freight cost in the Cart by entering their postcode.

If their postcode is not available, it needs to tell them that we do not deliver to the selected area.

Any work must be compatible with future theme updates etc.

The website is: www.bafurnitureclearance.au

Look forward to hearing back from someone with a good solution :slightly_smiling_face:

Thanks

Dave

1 Like

According to your store Dave @BAFC I see that you are using the Dawn theme, and you can add a Shipping calculator section in your card, so the desired results can be archivable, If It’s not that you want, please provide further context. Best Regards :slightly_smiling_face:

Hi Stefan,

Thanks for your reply.

Can you please explain/elaborate on this comment:

" I see that you are using the Dawn theme, and you can add a Shipping calculator section in your card"

Regards

Dave

  1. Go to your online store theme click three dots and edit code

  2. In the snippets folder create a file called “eg-shipping-calc” and paste the code below

{% liquid
  assign title = 'Calculate Shipping Rates'
  assign btn_label = 'Calculate'
  assign btn_label_loading = 'Calculating...'
%}

  #### 
    {{ title }}
  
  

  

  

  
    
    
  

  
    
    
  

  
    
  

  

  1. Save it and now in the sections folder create a section named “shipping-calculator” and paste this code below
{% render 'eg-shipping-calc' %}

{% schema %}
{
  "name": "Shipping Calculator",
  "presets": [
    {
      "name": "Shipping Calculator"
    }
  ]
}
{% endschema %}
  1. Save it and exit the code editor, now go to your online store click customize go to your cart, and add a section named “Shipping Calculator” and save it.

  2. Congrats now add your product to your cart go to your cart page and calculate the shipping!

Hi Stefan,

Thanks for this.

I will follow your instructions and see if I can get this to work.

I will report back afterwards.

Regards

Dave

1 Like

Hi Alex,

Thanks for this.

I found out, that most app providers cannot integrate with the local shipping - manual postcode rates that I use in shopify.

They can work with the general rates, but this means that you have to select entire states, and cannot drill down to specific postcodes for the shipping.

I found a solution via adding meta objects in the admin, and a code snippet that connect to the local shipping section, and now have a cart calculator.

Thanks anyway.

Cheers,

BAFC