Shipping Rates Calculator to your Cart - WITH DELIVERY ESTIMATION

Highlighted
Shopify Partner
34 0 6

Hey Guys-

 

Is it possible to add the delivery date estimation as well on the shipping calculator as described in the below tutorial?

http://docs.shopify.com/manual/configuration/store-customization/add-shipping-rates-calculator

 

The information that is currently displayed is only the SHIPPING NAME and SHIPPING COST.

 

As per line :

<li>${rate.name} at {{html Shopify.Cart.ShippingCalculator.formatRate(rate.price)}}</li>
 

In file 

https://raw.github.com/carolineschnapp/shipping-calculator/master/shipping-calculator.liquid

 

I really needed to have the delivery estimate as well as it is displayed in regular checkouts

i.e.

shipping name - shipping cost - shipping delivery estimation (X Business Days)

 

Does anyone know how to do this?

 

Appreciate your help

Gustavo

0 Likes
New Member
1 0 0

You'll need to use carrier-calculated rates which you only get if you’re on an Unlimited Shopify plan or higher.

http://docs.shopify.com/manual/settings/shipping/carrier-calculated-rates

You could also try a Shopify App for Shipping:

https://apps.shopify.com/categories/shipping

More Info about the Shopify Shipping Rate Calc

Example from the London Stationary New York Themes Demo http://themes.shopify.com/themes/responsive/styles/new-york)

Place this in the address bar of your browser: http://london-stationery.myshopify.com/cart/shipping_rates.json?shipping_address%5Bzip%5D=35005&ship...

The JSON response is based on the Shipping Rates table of the store.  Notice there are properties for delivery_date and delivery_days but both are null and an empty array.

{"shipping_rates":[{"name":"International Shipping","code":"International Shipping","price":"20.00","source":"shopify","delivery_date":null,"delivery_range":null,"delivery_days":[]}]}

You could take a shot at rolling your own based on UPS qcostcgi.cgi call although use with caution as UPS accuracy and support of this service are not available.

Example:  https://gist.githubusercontent.com/sbussard/1174294/raw/4385da3527fa6973fa80ae42c937cc4755725613/ups...

Hope this helps out

 


 

 

 

0 Likes
Highlighted
Excursionist
523 1 8

To show delivery estimates, you need to at first have the carrier calculated rates at checkout. This can be activated with the following : 

You can remain on the Basic Shopify plan and add the live carrier rates feature for as little as $0/month if you switch to yearly billing (this also saves you 10% off your plan, so for a lot of users this is the way to go), or you can add it for $20/month a-la-carte. You can add this feature to your plan by contacting Shopify 

Once you have done that, then you can use the Multi Carrier Shipping label app to show delivery estimates for a few carriers at checkout. 

0 Likes