Skip to content
Advertisement

Display specific formatted product attributes in WooCommerce cart items [closed]

In woocommerce I am able to display some formatted product attributes under my products on the archives pages with the following code:

JavaScript

How can I do the same thing on the cart items (in Woocommerce cart and checkout pages)?

Advertisement

Answer

Updated

The following will display in cart and checkout pages your specific product attributes in default Woocommerce formatted way:

JavaScript

Code goes in function.php file of your active child theme (or active theme). Tested and works.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement