Product-level schema
Algolia stores BigCommerce products in the following format:JSON
Variant-level schema
Algolia stores BigCommerce product variants in the following format:JSON
Categories
Thecategories and category_ids attributes only include categories that are visible in BigCommerce and belong to the category tree assigned to the connected channel.
Categories that are hidden or belong to category trees assigned to other channels are omitted from the records.
URLs
Theurl attribute is a relative path, such as /my-awesome-product/.
To link to products from outside your storefront,
add your storefront domain before the path.
Inventory
Three attributes describe stock levels:inventory_tracking. The product’s inventory tracking mode in BigCommerce:none,product, orvariant.inventory. The stock level.- If inventory is tracked by product, this is the products stock level.
- If inventory is tracked by variant, this is the variant’s stock level.
- For product-level records with variant tracking, this is the sum of all variant stock levels.
in_stock.trueif the tracked stock level is greater than zero. If inventory tracking is turned off (none),in_stockis alwaystrue.
Hidden products
Products hidden from your storefront remain in the index withis_visible: false.
The integration’s Autocomplete and InstantSearch interfaces filter out hidden products by default.
If you query the index directly, filter on is_visible.
Prices
Theprices attribute is an object with currency codes as keys and product prices as values.
The integration indexes the currencies selected in the source configuration.
Price lists and customer group prices aren’t indexed.