Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
This is in v3.6.1.13149
Third time i have typed this as the forum has lost it when ive posted it! :( copying before i post this time!!
Anyway....
I have created an order and set a custom property, saved and run basket pipeline.
basket.PurchaseOrder["myProp"] = "value"; basket.Save();
And then run the pipeline.
TransactionLibrary.CreatePayment(payment.Id, requestPayment: false); TransactionLibrary.ExecuteBasketPipeline(); TransactionLibrary.RequestPayments();
I canf access the properties from the emails and u cannot find them in the database or backend anywhere.
Whats happened to them and how do I access? So far i have tried:
@order["myProp"] @order.OrderProperties.Single(prop => prop.Key == "myProp").Value
Any ideas whats wrong?
Hi Damian,
It seems to me you are doing it right. uCommerce saves custom order properties in the database table uCommerce_OrderProperty. If it is saved correctly it should be in this table.
Best regards Martin
Hi Martin,
Spotted the issue - was a forms problem and the items were never hitting the code!
Thanks Damian
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Where are UCommerce custom order properties stored?
This is in v3.6.1.13149
Third time i have typed this as the forum has lost it when ive posted it! :( copying before i post this time!!
Anyway....
I have created an order and set a custom property, saved and run basket pipeline.
And then run the pipeline.
I canf access the properties from the emails and u cannot find them in the database or backend anywhere.
Whats happened to them and how do I access? So far i have tried:
Any ideas whats wrong?
Hi Damian,
It seems to me you are doing it right. uCommerce saves custom order properties in the database table uCommerce_OrderProperty. If it is saved correctly it should be in this table.
Best regards Martin
Hi Martin,
Spotted the issue - was a forms problem and the items were never hitting the code!
Thanks Damian
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.