Developer forum

Forum » Development » Notifications.eCommerce.Cart.Created not firing when reordering

Notifications.eCommerce.Cart.Created not firing when reordering

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I like to set some defaults on a new cart that is created from the "Reorder" option in the customer center. I found the Notifications.eCommerce.Cart.Created notification which sounds perfect, but it doesn't fire for the Reorder functionality; I do see the cart with my products appear but the subscriber never fires.

Am I missing something? Or is there another subscriber I can hook into?

Thanks,

Imar


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Imar

No, that notification does not fire when re-ordering is taking place. Maybe a bug, I don't know.

Notifications.eCommerce.Order.AfterSave is fired when the new order/cart is saved and Notifications.eCommerce.Cart.Line.Added is fired for each orderline being attached to the new order instance.

Added bug TFS#23030 ready with next hotfix.

BR Nicolai

Votes for this answer: 1
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Great, thank you!

Imar

 

You must be logged in to post in the forum