I am trying to display some custom data before my product name in cart page and checkout page. Means my cart will be like this
- customfield + originalproductname $150 $150
I have seen some links like Display Custom Field's Value in Woocommerce Cart & Checkout items But in the solution I have also seen some $cart_data and $cart item. Is it the cart data received from $cart = WC()->cart->get_cart();
Anyone please help. Am new to word-press and filters