Developer forum

Forum » Development » Missing tags in Customer Center viewmodel lists

Missing tags in Customer Center viewmodel lists

Anders Ebdrup
Anders Ebdrup
Reply

Dear Dynamicweb,

 

We have started implementing the viewmodel order lists and we are missing some tags:

 

  • Ecom:CustomerCenter.Quotes.AddToCart
  • Ecom:Order:OrderLine.ProductNumber
  • Ecom:Order.Completed
  • Ecom:Order.Modified
  • Ecom:Order.IntegrationID
  • Ecom:Order.ReorderID

Can these please be added to the OrderListViewModel?

 

Best regards,

Anders


Replies

 
Anders Ebdrup
Anders Ebdrup
Reply

bump...

 
Anders Ebdrup
Anders Ebdrup
Reply

Any update on this one?

 
Anders Ebdrup
Anders Ebdrup
Reply

Dear Dynamicweb,

 

Has anyone had a change to look at these missing tags?

 

Best regards, Anders

 
Nicolai Pedersen
Reply

Hi Anders

I have added these:

  • Ecom:Order:OrderLine.ProductNumber (Orderlineviewmodel)
  • Ecom:Order.Completed (OrderViewmodel - readonly/not updateable directly from webapi - use complete order for that)
  • Ecom:Order.Modified (OrderViewmodel - readonly/not updateable from webapi - any patch/update/post will update it)
  • Ecom:Order.IntegrationID (OrderViewmodel)
  • Ecom:Order.ReorderID (OrderViewmodel - readonly/not updateable from webapi)

Ecom:CustomerCenter.Quotes.AddToCart is a link with a command - and the viewmodels only holds data and not markup. (Same model that is used in webapi)

Also that link is specific for the old customer center module so it would not do anything for you.

So if you list quotes, you will have to use a link to the old customer center module using CC{ParagraphID}=Quote&AddQuoteID={QuoteID(OrderID)} to add the quote back to cart as that is not handled by the new customer center module yet...

Changes with next 9.12 of ecommerce (for the module). Webapi needs no update.

BR Nicolai

 

You must be logged in to post in the forum