Missing or Invalid Quantity

Problem and Background

Conversion pixel in which the ‘quantity’ field in the basket is empty or contains a value that is not a number. For example, if a ‘quantity’ field has a value like NaN, undefined or null, etc. then it is considered as not a number.

Debugging Steps

  1. Request the Bloomreach Support team for the list of all conversion pixels where the ‘quantity’ field in the basket is empty or contains a value that is not a number. Each example gives the order id and basket value from a conversion pixel. Check the quantity of each item in the basket. It will be either 0 or empty or some undefined or null value.
  2. Look up the product id associated with price on your website and product id. If the product is valid then there is an issue with pixel implementation.

Common Causes

This issue occurs when either the quantity is undefined or 0 for a number of items.

Solution

Debug and check the order ids and the baskets that are incorrect and fix it using the Pixel tool.

👍

Did this article help you?

Please provide your feedback. We would like to know if our help center is effective in solving your queries. You can also leave comments and suggestions on how we can make our help articles better. You can also suggest topics you’d like us to cover.