Developer forum

Forum » Development » Missing custom order line field value when using addmulti

Missing custom order line field value when using addmulti

Roald Haahr Jensen
Reply

Hi,

On a project running Rapido 3.4.1 with DW 9.9.2 I am trying to add multiple orderlines to the basket at once including some custom order line field values. While the orderlines are added correctly to the basket, the custom order line field values are not set. I have been following the guidelines from this other forum post regarding the same issue. Should I make a controller to set the custom field values or is there some other easier way I can achieve the same?

Best regards,
Roald, Novicell


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Roald

It should work. You have to apply the custom orderline fields to a group - might be missing (because it does not make a lot of senses, but how it currently works!)

See https://doc.dynamicweb.com/documentation-9/ecommerce/carts-orders/custom-fields#2890

Check that out - and show us your code if that does not fix it.

BR Nicolai

Votes for this answer: 1
 
Roald Haahr Jensen
Reply

Hi Nicolai,

Applying the order line fields to the ecom groups did the trick. Thanks!

Best regards,
Roald

 

You must be logged in to post in the forum