CartHelper.AddEntry creates order forms based on cart name instead of using Cart.DefaultName

tss
tss
Vote:
 

Hi right now the CartHelper creates an OrderForm named by the current cart name if no OrderForm exists

wouldn't it be better if the AddEntry() called GetOrderForm() to use the same logic for adding order forms in both places, 

GetOrderForm() creates a OrderForm named "Default" if no order form exists.

 

so its quite easy to make a mistake right now and create a basket with two order forms.

#82636
Mar 17, 2014 15:12
Vote:
 

Hi,
Thank you for noticing this. We'll file a bug report to it and see what we can do to improve the situation.
Thanks.
/Q

#82658
Mar 18, 2014 8:11
Vote:
 

Your issue have been release in update 10, you can check it on: http://world.episerver.com/Documentation/Release-Notes/?packageFilter=EPiServer.Commerce.Core

 

Regards,

//Son Do

#84751
Edited, Apr 07, 2014 12:15
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.