HasCurrentOrder was removed in Tea Commerce 2.2. We are sorry that Tea Commerce starter kit hasen't been updated to reflect latest version of Tea Commerce. It will be this week. Update to TC 2.2.1 and use GetCurrentOrder(storeId, false) to not auto create an order if non exists. Then you can just check for null.
HasCurrentOrder TeaCommerce.Umbraco.Web.TC error
I got this error with the dll from the last version :
error CS0117: 'TeaCommerce.Umbraco.Web.TC' does not contain a definition for 'HasCurrentOrder' at System.Web.Compilation.AssemblyBuilder.Compile()
I'm trying to add teacommerce to an existing umbraco and using the razor files from the starterKit.
TeaCommerce.Umbraco.Web.dll is there.
Could you help me on this? Is it something missing?
Hi
HasCurrentOrder was removed in Tea Commerce 2.2. We are sorry that Tea Commerce starter kit hasen't been updated to reflect latest version of Tea Commerce. It will be this week. Update to TC 2.2.1 and use GetCurrentOrder(storeId, false) to not auto create an order if non exists. Then you can just check for null.
Kind regards
Anders
is working on a reply...