2

I've set up shipping methods in Store which have rules of "Country" and "Region" set to "(any)" but when I'm displaying my cart, the shipping costs are not included until the shipping address is set.

As I want to have shipping costs that don't rely on location, would it be possible to make Store apply the shipping costs matching this situation ?

1 Answer 1

1

Shipping costs will still be calculated even before your cart has a shipping address (assuming some rules match). Are you sure this isn't just a problem with your template? (e.g. displaying {order_subtotal} instead of {order_total}?

Normally even if your shipping costs do depend on a region, you would set a default country and region under Store > Settings > Countries & Regions. This means shipping costs can be calculated before the customer adds their address.

5
  • Actually, when I'm logged out, the shipping row doesn't display and {order_shipping} returns 0 until I connect to an account which has billing and shipping already known and there it works. I have this code for the row : {if shipping_method_id}{order_shipping}{/if} wrapped in a checkout tag. Thanks ! Feb 13, 2013 at 23:49
  • I've tested resetting my cookies, added items to cart, and the cart nor checkout tag don't display shipping costs until I click on the Update button. So no need of a shipping address, but don't understand why it doesn't work this way. Feb 14, 2013 at 0:07
  • Have you set a default shipping method for new carts in the CP, or are you simply setting it on the checkout template? That would explain why it doesn't work til the first time you update totals. Feb 14, 2013 at 0:33
  • 1
    Great ! I hadn't noticed this "Pre-selected shipping method" setting, my bad... Problem solved, thanks for you help ! Feb 14, 2013 at 1:13
  • No problem! Glad that fixed it. Feb 14, 2013 at 1:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.