Table fo Content
Getting Started
Before using the Oxify Cart Public API, ensure that Oxify Cart is properly installed on your Shopify store. These APIs are automatically available through the global window object once Oxify 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 Oxify 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 Oxify 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.