Dev Center Updates

Stencil-utils versions below 2.0.0 are deprecated

by BigCommerce
As of stencil-utils 2.0.0, the storefront API which returns the status of the cookie notification feature was removed: https://github.com/bigcommerce/cornerstone/pull/1380 This API is now deprecated, and will return a hardcoded...
Warning
Stencil

Required stencil-cli version is now 2.0.0

by BigCommerce
As of August 11, 2020, the required stencil-CLI version for local development is now 2.0.0. To update to the latest version of stencil-cli, simply run npm install -g @bigcommerce/stencil-cli. We recommend using the latest Node 10.x...
Announcement
Stencil
Warning

Per-Device Image Resizing based on user agent has been disabled; use srcset

by BigCommerce
As of August 11, 2020, the BigCommerce CDN will no longer downscale the resolution of images when it detects that an end user is shopping from a mobile device with a small screen. In order to make sure that file size & quality is...
Announcement
Warning

GraphQL Storefront API Complexity Scoring Adjusted

by BigCommerce
Based on feedback from our developer community, we've adjusted the weighting of our GraphQL Storefront API's complexity scoring in order to be more permissive. As a result, queries which may have previously been rejected on the basis of...
Storefront API
Enhancement

GraphQL Storefront API - Bulk Pricing on Products and Variants

by BigCommerce
The GraphQL Storefront API now supports fetching the bulk pricing tiers on both products and variants. Consider this query: query bulkPricingTiers { site { products(first: 3) { edges { cursor node...
API
Storefront API
Enhancement

Cart Suggestions removed from Stencil context Cart model

by BigCommerce
As of June 16, the ability to request a list of suggested products relevant to the user's current shopping cart has been removed. If this information is requested using Front Matter or a stencil-utils call, it will not be returned. This...
Warning
Stencil

GraphQL Storefront API updates - Variant-level inventory!

by BigCommerce
New features You may now request inventory levels for each product variant. Note that inventory levels will NOT be returned if your store settings are set to not display stock levels on the storefront. Consider this query: query...
API
Storefront API
Enhancement

API and Theme Updates for May 28, 2020

by BigCommerce
API Section on logging in a customer with GraphQL API added Example added to GraphQL API documentation for getting a swatch option value Limit for Storefront widgets increased Customer Login API tutorial updated Developer Blog...
Developer Blog
API

GraphQL Storefront API updates - Metafields on Product, Category, Brand, Variant

by BigCommerce
New features Metafields which have been associated with products, categories, brands, or variants can now be accessed via the GraphQL Storefront API. The metafield must be marked with a permissionset of readandsfaccess or writeandsf...
Storefront API
Enhancement
API