Description Texts not Appearing in E-mail Confirmations
-
Hi there, need your help:
On my Cart page view: https://prnt.sc/oyxn01 and the Checkout page view: https://prnt.sc/oyxmwy – I used the Product Short Description field from each Child Product Page to display the SKU & product code #, etc. As you see where I’ve highlighted it.
However on the E-mail Confirmation Message, that line from my Product Short Description doesn’t show at: https://prnt.sc/oyxmsc – I need this info line to show, it’s important so I know which items to fulfill on the sales order.
FYI – in order to display the Product Short Description on the Cart & Checkout page, I had to use a Filter hook in my Child / function.php, for example:
/*** START – Show short description text in Cart and Checkout Pages ***/
add_filter( ‘woocommerce_get_item_data’, ‘wc_checkout_description_so_15127954’, 10, 2 );
function wc_checkout_description_so_15127954( $other_data, $cart_item )
{
$post_data = get_post( $cart_item[‘product_id’] );
$other_data[] = array( ‘name’ => $post_data->post_excerpt );
return $other_data;
}
/*** END – Show short description text in Cart and Checkout Pages ***/I thought if it shows on my Cart & Checkout Page, it would also appear on the E-mail Confirmation message. Let me know if you can help me with this.
I’m using the WooCommerce Composite Product plugin for my Shop Page.
Also, not sure why the SHIPPING ADDRESS title is displaying like this: https://prnt.sc/oyxycj
I’m only doing Test submission via STRIPE, so this is not a Live transaction yet.
Thanks in advance.
Khoa
- The topic ‘Description Texts not Appearing in E-mail Confirmations’ is closed to new replies.