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.
The NodeStock has been moved to either the ProductService in the TeaCommerce.Api.dll. Just use ProductService.Instance.SetStock/GetStock
The webshop events has been moved to NotificationCenter in the TeaCommerce.Api and TeaCommerce.Api.Web dll's
I think you should if you dont have the time to make the script that can change the stuff in the DB
The BeforePaymentFormGenerated is located in TeaCommerce.Api.Web.Notifications.NotificationCenter (It will be renamed in 2.0.1 to PaymentFormGenerating)
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
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
Kind regards
Anders
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
The BeforePaymentFormGenerated is located in TeaCommerce.Api.Web.Notifications.NotificationCenter (It will be renamed in 2.0.1 to PaymentFormGenerating)
Kind regards
Anders
is working on a reply...