🎉 Try the public beta of the new docs site at algolia.com/doc-beta! 🎉
Integrations / BigCommerce

Algolia’s BigCommerce integration stores your product data in an extensible format that’s optimal for search.

The product variant schema

Algolia stores BigCommerce product variants in the following format:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
  objectID
  name,
  product_id,
  variant_id,
  brand_id,
  sku,
  url,
  image_url,
  product_images: [],
  description",
  is_visible,
  in_stock,
  inventory_tracking,
  inventory,
  date_created,
  date_modified,
  categories_without_path": [
    "Shop All",
    "Bath"
  ],
  "categories": {
    "lvl0": [
      "Bath",
      "Shop All"
    ]
  },
  default_price,
  "prices": {
    "EUR": 45,
    "USD": 49
  },
  "options": {
    "Color": "Black",
    "Size": "L"
  },
  "option_names": [
    "Size",
    "Color"
  ],
  "custom_fields": {
    "beta": [ "value", "value2" ],
    "new_product": [ "true" ],
  },
  "product_metafields": {
    "metafield_namespace": {
      "metafield_key": "metafield_value"
    },
  },
  "variant_metafields": {
    "metafield_namespace": {
      "metafield_key": "metafield_value"
    },
  }
}

Changes to your BigCommerce inventory

Algolia’s BigCommerce integration monitors inventory changes and sets the isInStock value for each affected SKU.

isInStock is set to true if inventory_level is greater than zero for that SKU.

Prices

The prices attribute consists of key-value pairs:

  • The key is a currency code, such as “USD”.
  • The value is the product price for that currency code.
Did you find this page helpful?