Sharing a scenario - Empty productData array
Sharing an issue that occurred using widget.cart()
Due to business rules some items in the product catalog are marked not to allow home delivery.
Then a brand was inserted in a field of the product catalog. However, I noticed that when capturing this information using: js: [ var allItems = widget.cart().alliTems() ] sometimes the data is not returned, but
using: js: [ var allItems = widget.cart().items() ; ]
the data exists and is visible in the console.log but non-existent in the js if (allItems2[index].productData())....
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):