Developer forum

Forum » Templates » CartV2 default shipping

CartV2 default shipping

Martin Gammelholm
Reply

Hello!

In the ShippingMethods loop, there's a tag (IsSelected) which I would think should check whichever shipping method is the default one. However, this tag is always empty, is this a bug?
I've set the default shipping method under country in MC. It seems to work for payment methods, but not shipping methods.

Does anybody know of a good workaround for this?

I also need to show the shipping fee, for the default shipping method, on the show cart step, so that the total price includes the fee.
 

Best regards
Martin
 

2013-03-07_2102.png

Replies

 
Martin Gammelholm
Reply

I'm running version 8.2.1.7

 
Merethe Nielsen
Reply

Hi Martin

 

Unfortunately, I can't reproduce your problem.

On my testsite with the released 8.2.1.7 application I get both payment and shipping fees when I have selected them as default in backend:

http://screencast.com/t/SXGIH0FYG7uA

 

And the selected tag is True when selected (DwTemplateTags is inserted in the Shippingmethods loop)

 

I hope that you get it to work.

 

Kind regards,

Merethe

 

shipping.png
 
Morten Bengtson
Reply

Maybe you also need to select the default country under ecommerce settings on the website?

 

http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Modules/Websites/Module-setup/Edit-website.aspx

 

 
Martin Gammelholm
Reply

Thanks Merethe, it works now.
I wasn't avare that shopping cart settings, also included cart v2 :-)

Thanks for your reply also, Morten.

Have a nice weekend!
 

/Martin

 

You must be logged in to post in the forum