CoCart – Cart API Enhanced

This free add-on for CoCart enhances the data returned for 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

Want more? See what we have in store.

★★★★★

An excellent plugin, which makes building a headless WooCommerce experience a breeze. Easy to use, nearly zero setup time. Harald Schneider

?? Developer Tools

  • CoCart Beta Tester allows you to easily update to pre-release versions of CoCart for testing and development purposes.
  • CoCart VSCode extension for Visual Studio Code adds snippets and autocompletion of functions, classes and hooks.
  • CoCart Product Support Boilerplate provides a basic boilerplate for supporting a different product types to add to the cart with validation including adding your own parameters.
  • CoCart Cart Callback Example provides you an example of registering a callback that can be triggered when updating the cart.

?? Add-ons to further enhance CoCart

We also have other add-ons that extend CoCart to enhance your development and your customers shopping experience.

They work with the core of CoCart already, and these add-ons of course come with support too.

★★★★★

Amazing Plugin. I’m using it to create a react-native app with WooCommerce as back-end. This plugin is a life-saver! Daniel Loureiro

More testimonials

See the wall of love.

?? Join our growing community

A Discord community for developers, WordPress agencies and shop owners building the fastest and best headless WooCommerce stores with CoCart.

Join our community

?? Bug reports

Bug reports for CoCart – Cart API Enhanced are welcomed in the CoCart – Cart API Enhanced repository on GitHub. Please note that GitHub is not a support forum, and that issues that aren’t properly qualified as bugs will be closed.

More information

?? Credits

This plugin is developed and maintained by Sébastien Dumont.
Founder of CoCart Headless, LLC.

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录