This free add-on enhances the cart response by returning additional data for both the cart and the items added to it.
Each item added to the cart will return the following:
- Returns visible product attributes for all products that is not a variation product. - Enhances API v2 ONLY
- Returns the regular price and sale price if any. - Enhances API v2 ONLY
- Returns the discount status of items and the discounted price if any. - Enhances API v2 ONLY
- Returns virtual and downloadable status. - Enhances API v2
- Returns the product slug.
- Returns the product type.
- Returns variation data formatted.
- Returns the product dimensions.
- Returns product price raw.
- Returns the product categories assigned. - Enhances API v2
- Returns the product tags assigned. - Enhances API v2
- Returns the product SKU.
- Returns the product weight and unit.
- Returns the product stock status. - Enhances API v2
- Returns the product gallery if any. - Enhances API v2
- Returns the product permalink. - Enhances API v2
You will need to be using CoCart v2.1 or up before installing this add-on.
Click here to download the latest release package of CoCart - Cart API Enhanced.
If you think you have found a bug in the plugin, please open a new issue and it will be dealt with asap.
Please consider starring ✨ and sharing 👍 the project repo! This helps the project getting known and grow with the community. 🙏
Thank you for your support! 🙌
We have different channels at your disposal where you can find information about the CoCart project, discuss it and get involved:
- 📖 Docs: this is the place to learn how to use CoCart API. Get started!
- 🧰 Resources: this is the hub of all CoCart resources to help you build a headless store. Get resources!
- 👪 Community: use our Discord chat room to share any doubts, feedback and meet great people. This is your place too to share how are you planning to use CoCart!
- 🐞 GitHub: we use GitHub for bugs and pull requests, doubts are solved with the community.
- 🐦 Social media: a more informal place to interact with CoCart users, reach out to us on Twitter.
- 💌 Newsletter: do you want to receive the latest plugin updates and news? Subscribe here.
Do you like the idea of creating a headless ecommerce with WooCommerce? Got questions or feedback? We'd love to hear from you. Come join our community! ❤️
CoCart also welcomes contributions. There are many ways to support the project! If you don't know where to start, this guide might help >> How to contribute?.
CoCart is released under GNU General Public License v3.0.
Website cocartapi.com · GitHub @cocart-headless · Twitter @cocartapi
CoCart Cart API Enhanced is developed and maintained by Sébastien Dumont. Founder of CoCart Headless, LLC.
Website sebastiendumont.com · GitHub @seb86 · Twitter @sebd86