cocart-headless / cocart-get-cart-enhanced

This free add-on enhances the cart response by returning additional data for both the cart and the items added to it.
https://wordpress.org/plugins/cocart-get-cart-enhanced/
GNU General Public License v3.0
6 stars 2 forks source link

Fix always empty product categories and tags #4

Closed tomsotte closed 4 years ago

tomsotte commented 4 years ago

The enhanced product details returns always false for categories and tags because the function get_the_terms requires the post/product ID.

seb86 commented 4 years ago

Thats odd. It didnt seem to return false to me.