Delete method giving 500 error, for this endpoint /wc/store/cart/items
Question
woocommerce_rest_cart_error Unable to retrieve cart.
Delete method giving 500 error, for this endpoint /wc/store/cart/items.
To reproduce
jQuery.ajax({
type: 'delete',
url: '/wp-json/wc/store/cart/items',
xhrFields: {
withCredentials: true
}
});
This endpoint should return an empty array, but it is giving me 500 error.
0
2 months
0 Answers
10 views
0
Leave an answer
You must login or register to add a new answer .