<p>I've not tried this so early in the checkout process, but how about adding the following to your Add To Cart forms? Replace the # with the correct value obviously.</p>

<pre><code>&lt;input type="hidden" name="shippingAddress[countryId]" value="#"&gt;
&lt;input type="hidden" name="shippingMethod" value="#"&gt;
</code></pre>

<p>That way, as soon as people arrive on the Cart page a country has been added already as a shipping address, which, I think, should be enough for shipping to be calculated.</p>

CC BY-SA 3.0
2016-08-10T17:59:18.290Z
This is great, thanks Clive. I have tried a quick test and I think it will work nicely.
Terry Upton
CC BY-SA 3.0
2016-08-10T19:36:01.037Z
Glad it worked!
Clive Portman
CC BY-SA 3.0
2016-08-10T14:35:08.127Z
2016-08-10T14:35:08.127Z
Clive Portman
<p>How can I show the shipping rate on the cart screen? At the moment this defaults to 0.00 - I assume as we don;t know the customers location so no shipping method can be applied. Ideally I want to show the standard shipping rate based on UK and then allow the user to click and change location to apply a different shipping rate. Ideally I want to do this in the Cart screen so users can see the full total before logging in or checkout out as a guest. I want to eliminate the shipping selection page. Any ideas on how to go about this?</p>

CC BY-SA 3.0
2016-08-08T17:16:21.667Z
I assume this is for the Craft Commerce plugin?
Brad Bell
CC BY-SA 3.0
2016-08-08T17:18:38.953Z
Yes. Craft Commerce.
Terry Upton
CC BY-SA 3.0
2016-08-09T15:58:16.877Z
Any ideas on this?
Terry Upton
<plugin-craftcommerce><shipping>
Show shipping rate on Cart screen in Craft Commerce
# Show shipping rate on Cart screen in Craft Commerce

(Asked by: username_0 on 2016-08-08)

How can I show the shipping rate on the cart screen? At the moment this defaults to 0.00 - I assume as we don;t know the customers location so no shipping method can be applied. Ideally I want to show the standard shipping rate based on UK and then allow the user to click and change location to apply a different shipping rate. Ideally I want to do this in the Cart screen so users can see the full total before logging in or checkout out as a guest. I want to eliminate the shipping selection page. Any ideas on how to go about this?

**Tags:** plugin-craftcommerce, shipping
> **Comments:**
> **username_1**: I assume this is for the Craft Commerce plugin?  
> **username_0**: Yes. Craft Commerce.  
> **username_0**: Any ideas on this?  

---

## 1 answers

### Answer by username_2 on 2016-08-10. Score: 2 | Accepted answer

I've not tried this so early in the checkout process, but how about adding the following to your Add To Cart forms? Replace the # with the correct value obviously.



That way, as soon as people arrive on the Cart page a country has been added already as a shipping address, which, I think, should be enough for shipping to be calculated.

> **Comments:**
> **username_0**: This is great, thanks Clive. I have tried a quick test and I think it will work nicely.  
> **username_2**: Glad it worked!  

---

