TIKTIK
Member
- Feb 1, 2020
- 57
- 17
- 8
I`m using Woocommerce email customizer drag and drop plugin. i want to add shortcode ( with the product name ) to my "order note emails" .. any idea?
I`m trying to use this snipped. but its not working.
if(isset($attr['type']) && $attr['type'] == 'pre-order-item'){
printf( __( "%s%s", 'wc-pre-orders' ), '<b> ' . $order->get_items() as $item ){ echo $item->get_name(); } . '', '</b>' );
}
I`m trying to use this snipped. but its not working.
if(isset($attr['type']) && $attr['type'] == 'pre-order-item'){
printf( __( "%s%s", 'wc-pre-orders' ), '<b> ' . $order->get_items() as $item ){ echo $item->get_name(); } . '', '</b>' );
}