Frontend
JavaScript SDK & Headless
get started to explore more about the sparklayer javascript sdk, please refer to our https //docs sparklayer io/tech docs/javascript sdk documentation introduction with the https //docs sparklayer io/tech docs/javascript sdk , you can enhance your frontend development and create more customised experiences for your users the sdk provides a range of straightforward functions to access data stored within sparklayer, as well as granting access to the graphql api and a cart update function example use cases the sparklayer sdk empower developers to build more advanced and dynamic applications on top of the sparklayer platform use cases can include true 165 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type explore more to explore more about the sparklayer javascript sdk, please refer to our https //docs sparklayer io/tech docs/javascript sdk documentation please note if you're looking to extend your sparklayer integration by using the sdk, we do strongly recommend speaking to our technical team to ensure it can meet your requirements please docid\ nnuw1g9z7eaj4m78vk7t9 error codes below is a list of error codes that are shown in the sparklayer core script frontend widgets if on of the custom sparklayer options hooks fails options\ hook\ or window\ sparkoptions onready hook failed options\ hook\ ocl window\ sparkoptions oncartload hook failed options\ hook\ ocu window\ sparkoptions oncartupdate hook failed if these errors are reported by customers, please review your store's sparkoptions configuration for the relevant hook and ensure the errors are resolved note the specific js error is logged to the browser's console headless implementations (composable commerce) sparklayer has been designed and built to be a fully headless (composable) ecommerce platform and there are a variety of ways it can be extended to learn more, please see our https //docs sparklayer io/tech docs/headless for what's possible