I want to create the an offer base on Order Dynamic properties. I want to create discount for 10th purchase.
I setup uCommerce back-end in marketing section like this:
And have this code in my controller:
var basket = SiteContext.Current.OrderContext.GetBasket().PurchaseOrder;
basket["TEN"] = "PASHA";
basket.Save();
Library.ExecuteBasketPipeline();
But I don't see any discount in my basket object.
Is this right way of using dynamic property? Or I miss something?
Offer based on Order Dynamic Properties
Hey,
I want to create the an offer base on Order Dynamic properties. I want to create discount for 10th purchase. I setup uCommerce back-end in marketing section like this:
And have this code in my controller:
But I don't see any discount in my basket object. Is this right way of using dynamic property? Or I miss something?
It is the correct way of doing this.
But a bug in the price calculation meant that dynamic properties was not considered until checkout.
This was fixed and released in the latest version: 5.3.0.14057 :-)
Kind regards,
Jesper
Thanks for help. I'll try update my package.
is working on a reply...