Table fo Content
Getting Started
Before using the IA Cart Public API, ensure that IA Cart is properly installed on your Shopify store. These APIs are automatically available through the global window object once IA Cart is installed.
Prerequisites
- Active IA Cart installation on your Shopify store
- Basic understanding of JavaScript
- Familiarity with Shopify's theme structure
Best Practices
- Always check if the IA Cart API methods are available before calling them
- Handle errors gracefully when adding items to cart
- Use appropriate event listeners to manage cart state
- Test thoroughly across different devices and browsers
Browser Compatibility
The IA Cart Public API is compatible with all modern browsers including:
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
Note: It's recommended to implement feature detection before using these APIs to ensure compatibility across different browsers and versions.