Has anyone seen the following: A couple customers...
# suitecommerce
m
Has anyone seen the following: A couple customers suddenly have behavior where an item is added to their cart, but then after adding immediately disappears from the cart. When this happens, an error is thrown in the console from this code in the Tracker module (this store is on 22.2 btw):
Tracker.prototype.trackAddToCart = function(line) {
return this.track('trackEvent', {
category: 'Shopping - User Interaction',
action: 'Add To Cart',
label: line.generateURL()
}).track('trackAddToCart', line);
};
where
line
is undefined. We don't have any extensions for that module, btw. It just started and doesn't do it for most customers, so I feel like perhaps something changed on these customer's records, but nothing is standing out to me, and changes that have been made (in the financial tab seen in system info), when replicated on a test account, aren't producing the same behavior. Any ideas? Thank you! 🤷‍♀️
m
Did you check on the network if the request to the LiveOrder service is there?
m
@Martin it is, yes
m
What is the response ?
m
the
{lines: [{ ... }]}
obj
so the item added isn't in there obviously, like it normally would
and Quick Add will work for these customers, just not adding from the PDP
m
The quick add works ? Did you check if there is any difference on the request parameters ?
The item type and internal id are correct
m
Item type and internal ID are definitely correct. And it happens for every item I've tested for these handful of customers. I had to step away but from what I saw briefly comparing the request from the quick add and the pdp add, they matched the other cart lines, but obviously in the quick add the response has the new item whereas it doesn't when it doesn't actually add (though it looks like it adds and then disappears) via the pdp
f
@Melissa where you able to resolve this issue?
m
No, it is still not resolved. I filed a support ticket but theyre not responding with anything other than they're investigating. @Flo