Support » Plugin: WooCommerce » Custom Attributes size, color on the cart page

  • mmaumio

    (@mmaumio)


    I’d like to add the custom attributes size, color to the cart page.

    global $product;
    $terms = get_the_terms( $product->id, ‘pa_color’);
    foreach ( $terms as $term ) {
    echo $term->name;
    }

    That bunch of codes didn’t work.

    Any help appreciated.

    https://wordpress.org/plugins/woocommerce/

  • The topic ‘Custom Attributes size, color on the cart page’ is closed to new replies.