co-cart / cocart-get-cart-enhanced
Enhances CoCart's cart REST API response.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 2
Open Issues: 7
Type:wordpress-plugin
Requires
- composer/installers: ^2.0
Requires (Dev)
- automattic/vipwpcs: ^3.0
- cocart-headless/cocart-sniffs: 0.0.3
- dev-master
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.3.0
- v3.2.0
- v3.1.0
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.10.0
- dev-renovate/php-stubs-wp-cli-stubs-2.x-lockfile
- dev-renovate/php-stubs-woocommerce-stubs-9.x-lockfile
- dev-renovate/phpstan-packages
- dev-renovate/major-phpstan-packages
- dev-dependabot/npm_and_yarn/braces-3.0.3
This package is auto-updated.
Last update: 2024-11-25 10:34:18 UTC
README
This free add-on enhances the cart response by returning additional data for both the cart and the items added to it.
✨ Enhancements
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
Requirement
You will need to be using CoCart v2.1 or up before installing this add-on.
Download
Click here to download the latest release package of CoCart - Cart API Enhanced.
Bug Reporting
If you think you have found a bug in the plugin, please open a new issue and it will be dealt with asap.
Support CoCart
Please consider starring ✨ and sharing 👍 the project repo! This helps the project getting known and grow with the community. 🙏
Thank you for your support! 🙌
CoCart Channels
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.
Get involved
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?.
License
CoCart is released under GNU General Public License v3.0.
Credits
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