I have acode that update cart attributes twice:
- Using the HTML “name” definition
- Using a JS api request
var request = {
method: 'POST', headers: headers,
body: JSON.stringify({ attributes: {
'all-in-one': null ,
'data': null
}
})
};
fetch('/cart/update.js', request).then(function() { location.href = '/cart'; });
The updates are performed on different fields in the attributes
It has worked fine for me so far
Starting today with every update the previous updating is deleted!!!
I would appreciate your help