Copied to clipboard

Flag this post as spam?

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


  • Morten Christensen 61 posts 215 karma points
    Apr 13, 2013 @ 22:33
    Morten Christensen
    0

    TeaCommerce 2 questions

    Hi,

     

    I have upgraded a site to Umbraco 6, and in the same turn we want to upgrade to TeaCommerce 2.

    Right now it seems to be a bad decision.. I really like all the new stuff in TC2, but a lot of things (read all) have changed.

     

    My Questions:

    1. In TC2 order ids are now Guids. Do you have a order migration TC1 > TC2?

    2. I can't find NodeStock.ChangeStock or similar anywhere.

    3. WebshopEvents.BeforePaymentFormGenerated Cant't find this either..

    4. Should I downgrade to TC1 again?

     

    Cheers

  • Anders Burla Johansen 2560 posts 8256 karma points
    Apr 15, 2013 @ 09:18
    Anders Burla Johansen
    100

    Hi Morten

    TC2 isnt updateable from 1.x as of now because as you stated - a lot of things has changed. It is also stated in the revision history:
    http://www.teacommerce.net/en/documentation/revision-history.aspx

    1. We dont have a migration yet - but we might have a customer of our own that will need to update and we will share the DB migration script that we will be writing.
    2. The NodeStock has been moved to either the ProductService in the TeaCommerce.Api.dll. Just use ProductService.Instance.SetStock/GetStock
    3. The webshop events has been moved to NotificationCenter in the TeaCommerce.Api and TeaCommerce.Api.Web dll's
    4. I think you should if you dont have the time to make the script that can change the stuff in the DB

    Kind regards
    Anders

  • Morten Christensen 61 posts 215 karma points
    Apr 15, 2013 @ 14:45
    Morten Christensen
    0

    Hi Anders,

    Yes, I saw that it inst upgradeable. But I through it was from a package view.

    1. Cool if you share it

    2. Found it, thanks.

    3. I use 5 events, and I can find them all in NotificationCenter, expect BeforePaymentFormGenerated.

    4. Yea, I think so too.. I will down grade again :)

     

    Thanks for quick answers!

    Morten

  • Anders Burla Johansen 2560 posts 8256 karma points
    Apr 15, 2013 @ 16:18
    Anders Burla Johansen
    0

    The BeforePaymentFormGenerated is located in TeaCommerce.Api.Web.Notifications.NotificationCenter (It will be renamed in 2.0.1 to PaymentFormGenerating)

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft