Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MrFlo 159 posts 403 karma points
    Nov 13, 2013 @ 14:13
    MrFlo
    0

    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?

     

  • Anders Burla 2560 posts 8256 karma points
    Nov 14, 2013 @ 10:25
    Anders Burla
    101

    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

Please Sign in or register to post replies

Write your reply to:

Draft