Get Cart Enhanced

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

  • 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 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 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.
  • Cart returns any notices.

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

  • Returns the product type.
  • Returns variation data formatted.
  • Returns the product dimensions.
  • Returns minimum and maximum quantity of item can be purchased.
  • Returns the product categories assigned.
  • Returns the product tags assigned.
  • Returns the product SKU.
  • Returns the product weight.
  • Returns the product stock status.
  • Returns the product gallery if any.

Details

  • Released: 20th February 2020
  • Version: 1.7.0
  • Last Updated: 6th July 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.