WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Custom Attributes size, color on the cart page (1 post)

  1. mmaumio
    Member
    Posted 5 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic