woocommerce/plugins/woocommerce-blocks/assets/js/data/cart/constants.ts

14 lines
274 B
TypeScript
Raw Normal View History

/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
export const STORE_KEY = 'wc/store/cart';
export const CART_API_ERROR = {
code: 'cart_api_error',
2023-12-12 23:05:20 +00:00
message: __( 'Unable to get cart data from the API.', 'woocommerce' ),
data: {
status: 500,
},
};