Im trying to make the product thumbnail in the cart bigger.
I managed to do that by altering the css, but as the image passed is only 90*90 it will get all blurry.
So I went into my woocommerce template files and found cart.php and the following line:
$thumbnail = apply_filters( ‘woocommerce_in_cart_product_thumbnail’, $_product->get_image(), $values, $cart_item_key );
printf(‘%s‘, esc_url( get_permalink( apply_filters(‘woocommerce_in_cart_product_id’, $values[‘product_id’] ) ) ), $thumbnail );
But I cant figure out how that translates to the 90*90 picture? Any tips on how I can pass a bigger picture?
- The topic ‘How to pass a bigger thumbnail image to cart’ is closed to new replies.