Get Cart Enhanced

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

  • Returns the cart hash key.
  • Places the cart contents under a new array called items.
  • Returns the item count of all items in the cart.
  • Returns the shipping status of the cart.
  • Returns the payment status of the cart.
  • Returns coupons applied to the cart if enabled.
  • Returns additional fees applied to the cart.
  • Returns the cart totals.
  • Returns any notices.

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

  • Returns the product categories assigned.
  • Returns the product tags assigned.
  • Returns the product SKU.
  • Returns the product weight.
  • Returns the product stock status.

Details

  • Released: 20th February 2020
  • Version: 1.2.0
  • Last Updated: 16th March 2020
  • Changelog

CoCart

The best and only REST API for the frontend of WooCommerce. Build your headless store today and join a fast growing community of developers to help you out.

Support Hours

Mon - Friday 10am to 6pm GMT+1

Community