Skip to main content

Product Validation

We gather products from various merchants and validate them before they become available in our product feeds. The validation process ensures that the data follow our requirements. We omit products from feeds if they do not meet our standards.

Validation Rules

All of the following rules must equate to false for a product to be included in our feeds:

  • Merchant didn't publish the product
  • Merchant doesn't wish to have a specific product in the feed
  • Merchant doesn't wish to have a specific brand in the feed
  • Product doesn't have a Google category
  • Bonsai didn't publish the brand
  • Bonsai didn't publish the merchant
  • Bonsai couldn't parse the product correctly

There are also a few rules that we follow when validating variants:

  • Variant has negative or null price
  • Variant price is lower than its sale price
  • Variant has 0 or only 1 image

If any of the above rules equate to true, the product or variant is omitted from the feed.

caution

We currently do not remove out-of-stock products from the feeds immediately. However, there's a possibility that we will do so in the future to avoid growing feed sizes infinitely.