Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to Add Custom Product Attributes on Cart Page in Woo-commerce?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 966
    Answer it

    Hello Everyone,

     

    As i am trying to display custom attributes into cart page by using the below code, but i am getting the output as "Array" in the cart page. Kindly help me out with this issue.

     

    $product = wc_get_product( $cart_item['product_id'] );

    $product->get_attributes();

 0 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: