With latest version of WooCommerce, attributes on the page are no longer displayed.

I used this solution display it:

$product_data = $cart_item['data'];
$attributes = $product_data->get_attributes();

Does somebody have a solution to display it in the latest version?

Read more here: WooCommerce: How to show attributes on cart page?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: