Developer forum

Forum » Dynamicweb 10 » Cart Command Archive not clear the current cart

Cart Command Archive not clear the current cart

Shiwanka Chathuranga
Shiwanka Chathuranga
Reply

Cart Command archive does not clear the current cart base on explanation on the function. 

https://doc.dynamicweb.dev/documentation/implementing/commerce/checkout/cartcommands.html#archive

cartcmd=archive


Replies

 
Pedro Meias
Reply

Hi,

Are there any updates on the thread? We are facing the same issue.

Version: 10.18.7+19dcb2a768deac7d95d5726e438d6bbd6886d8f2, Loaded: 8:24:40 PM, Build time: 9/9/2025 12:51:04 PM

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

We will need to look into this a little.

This is a feature that works for logged in users only.

When when archived is used, the cart is removed from the current cart session. But I think the problem is that we at some point have made a 'bugfix' so a user will always get the latest cart from their history. This might solve one issue, but effectively disable the archive command as the just archived cart will just get reloaded....

Created a bug for it: https://doc.dynamicweb.dev/documentation/fundamentals/dw10release/releasenotes/workiteminfo.html?workitemid=25558

 

 
Pedro Meias
Reply

Hi Nicolai,

Thank you for your feedback.

 

You must be logged in to post in the forum