Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Free Product Discount Name In Orderline Table

Free Product Discount Name In Orderline Table

Tin Ma Ma
Reply

Dear All,

We have one discount scenario that give free product if the promotion code is applied. In Version 8, there is the orderline discount with discount name for free product. but in Version 9, there is orderline discount with the free product name instead of the discount name.
There is one option :
retrieving discount name from discount table using discount Id from orderline table.
Beside this option, may I know is there any other work around for that case?

Regards,

Tin Ma Ma

Image_4.png Image_5.png

Replies

 
Nicolai Pedersen
Reply

Hi Tin Ma Ma

There is currently no other option than to find the name in the database. You can add a custom order field and have a trigger or scheduled SQL script that will set the name of the discount to the custom field every now and then.

Sorry about the inconvenience.

BR Nicolai

 

You must be logged in to post in the forum