CoCart – Cart Enhanced

Description

This free add-on for CoCart enhances the data returned for the cart and the items added to it.

Features

11th May 2021

The majority of these features will already be available in CoCart API v2. Only a few of these features will be used to enhance the cart response.

If you are still using API v1 then all features listed below will still be available.

  • Checks for items in cart for validity and stock before returning the updated cart.
  • Checks for coupons applied to the cart for validity before returning the updated cart.
  • Cart returns currency.
  • Cart returns total weight.
  • Cart now returns items removed under extras.
  • Cart returns cross sell items based on items in the cart.
  • Cart returns enhanced for empty carts.
  • Cart returns the cart key.
  • Cart returns the cart hash key.
  • Places the cart contents under a new array called items.
  • Cart returns the item count of all items in the cart.
  • Cart returns shipping methods available if any and which one is chosen.
  • Cart returns the shipping status of the cart.
  • Cart returns the payment status of the cart.
  • Cart returns coupons applied to the cart if enabled.
  • Cart returns additional fees applied to the cart.
  • Cart returns the cart totals.

Each item added to the cart will also return the following:

  • 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 minimum and maximum quantity of item can be purchased.
  • 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? Upgrade to CoCart Pro.

Other Add-ons to further enhance your cart.

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

  • CoCart – Carts in Session allows you to view all the carts in session via the WordPress admin. – FREE
  • CoCart – CORS simply filters the session cookie to allow CoCart to work across multiple domains. – FREE
  • CoCart Products provides access to non-sensitive product information, categories, tags, attributes and even reviews from your store without the need to authenticate.
  • Advanced Custom Fields extends CoCart Products add-on by returning all your advanced custom fields for products. – REQUIRES COCART PRODUCTS
  • Yoast SEO extends CoCart Products add-on by returning Yoast SEO data for products, product categories and product tags. – REQUIRES COCART PRODUCTS
  • and more add-ons in development.

Join our growing community

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

Join our community

Built with developers in mind

Extensible, adaptable, and open source — CoCart – Get Cart Enhanced is created with developers in mind. If you’re interested to jump in the project, there are opportunities for developers at all levels to get involved. Contribute to CoCart – Get Cart Enhanced on the GitHub repository and join the party.

Bug reports

Bug reports for CoCart – Get Cart Enhanced are welcomed in the CoCart – Get Cart 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 created by Sébastien Dumont.

Screenshots

  • Empty Cart "Enhanced Off (API v1)
  • Empty Cart "Enhanced On" (API v1)
  • Cart with Item "Enhanced Off" (API v1)
  • Cart with Item "Enhanced On" (API v1)

Installation

Minimum Requirements

You will need CoCart v2.1 or above.

  • WordPress v5.4
  • WooCommerce v4.3
  • PHP v7.3

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of CoCart – Get Cart Enhanced, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “CoCart” and click Search Plugins. Once you’ve found the plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

Updating

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

Reviews

ماي 26, 2021
CoCart makes it easier to build a WordPress and WooCommerce site headless. Highly recommend and great support!
Read all 1 review

Contributors & Developers

“CoCart – Cart Enhanced” is open source software. The following people have contributed to this plugin.

Contributors