append the custom Input Field data to the Item Description
-
Sent email 1/30/2019 direct to [email protected] which looks like it was redirected to [email protected] but I have not heard anything back nor that you received it. This email had screen prints with more detail.
Is there a way to append the custom Input Field data to the Item Description at time of add to cart? It displays within cart and checkout, but not appended to item description within order details. I was thinking if we could append it to the item description, it would be visible when we print and email the order.
I’d upload some images but i do not see an option to do so.Could we use something similar to this where I’m already adding thumbnail to checkout page? Not sure since I need the item Description in cart and checkout to have the value appended, not just displayed so when we download , print , email order, the custom field is present.
add_action( ‘wcdn_order_item_before’, ‘example_product_image’ );
// Product thumbnail in checkout
add_filter( ‘woocommerce_cart_item_name’, ‘product_thumbnail_in_checkout’, 20, 3 );
function product_thumbnail_in_checkout( $product_name, $cart_item, $cart_item_key ){
if ( is_checkout() )
{
$thumbnail = $cart_item[‘data’]->get_image(array( 80, 80));
$image_html = ‘<div class=”product-item-thumbnail”>’.$thumbnail.'</div> ‘;$product_name = $image_html . $product_name;
}
return $product_name;
}woocommerce 3.5.4
Booster Plus for WooCommerce plugin
Licence type:
Unlimited sites
Licence period:
Lifetime
Current version:
4.1.0
Last updated:
2018-12-12The page I need help with: [log in to see the link]
- The topic ‘append the custom Input Field data to the Item Description’ is closed to new replies.