Comments 3Eugen started the conversationJuly 24, 2019 at 9:31amHello,Is it possible to have also product thumbnail image near, or under, the product title in checkout page, in Karo theme? Thanks! 2,636Kevin repliedJuly 24, 2019 at 9:46amHi Eugen !Add the following code to your function (Appearance-> Editor-> function.php) Your request will be resolved add_action('woocommerce_cart_item_name', 'displays_cart_products_feature_image', 10, 2);function displays_cart_products_feature_image($cart_item_name, $cart_item) { return (is_checkout ()) ? $cart_item ['data'] -> get_image(array (100,100)). $cart_item_name: $cart_item_name; }thank you 3Eugen repliedJuly 25, 2019 at 9:06amWonderful! Thank you!A small fix: is it possible to add a few pixels of spacing between thumb and title via css padding?Thanks again! 2,636Kevin repliedJuly 25, 2019 at 9:12amHi Eugen !Add this css attribute to the style.css file (Appearance-> Editor-> style.css) or Appearance-> Customize-> additonal your CSS to create a space between themtd.product-name img { padding-right: 10px;}thank you 3Eugen repliedSeptember 13, 2019 at 11:18amGreat! Thanks! 2,636Kevin repliedSeptember 14, 2019 at 1:15amthank you, have a good daysanne repliedOctober 14, 2019 at 12:19pmHi, is this also possible in the wibar theme? Look very nice! 2,636Kevin repliedOctober 15, 2019 at 2:13amHi sanne !Yes thank you, if you use our wibar theme, I will help you add it to your sitethank you Sign in to reply ...
Hello,
Is it possible to have also product thumbnail image near, or under, the product title in checkout page, in Karo theme?
Thanks!
Hi Eugen !
Add the following code to your function (Appearance-> Editor-> function.php) Your request will be resolved
add_action('woocommerce_cart_item_name', 'displays_cart_products_feature_image', 10, 2);
function displays_cart_products_feature_image($cart_item_name, $cart_item) {
return (is_checkout ()) ? $cart_item ['data'] -> get_image(array (100,100)). $cart_item_name: $cart_item_name;
}
thank you
Wonderful! Thank you!
A small fix: is it possible to add a few pixels of spacing between thumb and title via css padding?
Thanks again!
Hi Eugen !
Add this css attribute to the style.css file (Appearance-> Editor-> style.css) or Appearance-> Customize-> additonal your CSS to create a space between them
td.product-name img {
padding-right: 10px;
}
thank you
Great! Thanks!
thank you, have a good day
Hi, is this also possible in the wibar theme? Look very nice!
Hi sanne !
Yes thank you, if you use our wibar theme, I will help you add it to your site
thank you