This commit is contained in:
Mike Jolley 2013-10-02 13:04:28 +01:00
parent 718093650f
commit 5c8d8bbda9
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ do_action( 'woocommerce_before_cart' ); ?>
if ( ! $_product->is_visible() )
echo apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item, $cart_item_key );
else
echo apply_filters( 'woocommerce_cart_item_name', sprintf( '<a href="%s">%s</a>', ( $cart_item['variation'] ? add_query_arg( $cart_item['variation'], $_product->get_permalink() ) : $_product->get_permalink() ), $_product->get_title() ), $cart_item, $cart_item_key );
echo apply_filters( 'woocommerce_cart_item_name', sprintf( '<a href="%s">%s</a>', ( is_array( $cart_item['variation'] ) ? add_query_arg( $cart_item['variation'], $_product->get_permalink() ) : $_product->get_permalink() ), $_product->get_title() ), $cart_item, $cart_item_key );
// Meta data
echo $woocommerce->cart->get_item_data( $cart_item );