co-cart/cocart-get-cart-enhanced

Enhances the get cart response to return the cart totals, coupons applied, additional product details and notices.

v4.0.1 2023-08-03 15:41 UTC

This package is auto-updated.

Last update: 2024-04-03 17:45:42 UTC


README

CoCart Logo

WordPress Versions WooCommerce Versions PHP Versions Latest Stable Version

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:

  • NEW 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

WordPress Plugin Downloads

Click here to download the latest release package of CoCart.

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:

Twitter: cocartapi CoCart GitHub Stars

  • 📖 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

License

CoCart is released under GNU General Public License v3.0.

Credits

CoCart is developed and maintained by Sébastien Dumont.

sebastiendumont.com  ·  GitHub @seb86  ·  Twitter @sebd86

a-sebastien-dumont-production.png