The default admin email can be found in woocommerce/templates/emails/admin-new-order.php
the order items table is called in line 28, with a function called email_order_items_table
. This function also takes an argument for including the thumbnail (see the class-wc-order.php
, line 1052). if you copy the email templates to your theme folder, you can edit the admin-new-order.php
file and use the following on line 28:
<?php echo $order->email_order_items_table( false, true, false, true ); ?>
Related Posts:
- Make Images appear in the same order as in media browser using get children?
- Include WooCommerce 2’s prettyphoto scripts on all site pages
- wp_get_attachment_url images in wrong order [closed]
- get_post_gallery_images returns thumbs . I want full size
- Sending all emails using SMTP
- Media Upload Folder – how to manage
- Remove P tags from images
- Any easy way to automatically set the first inline image in a post as the thumbnail?
- Upload multiple images in a custom metabox
- How can I hide media library images from general users?
- WordPress speed slow after .5 million single image post via wp-cli
- How to add php to theme to show alt attributes
- Why won’t these imported images show up?
- Remove rel=”attachment wp-att-XX”
- Using Taxonomy Image code with my get_categories code
- Generate image size, based on the image-orientation
- Rename image during upload using date and time stamp?
- How to Add extra option to Image Block Settings?
- Upload thousands of images to WordPress without plugin?
- How to get CMB2 to show a single image at a specific size
- Images in the Twenty Fourteen theme
- Get author ID with attachment ID
- Automatically replace original uploaded image with large image size
- Problem with loading images from child theme CSS file with relevant path
- Setting Custom Email From name and email address in wp_email()
- Bulk edit Gutenberg single images to change from linking to media file to attachment page
- is it possible to crop cover images in buddypress?
- Any specific reason why images do not show on site?
- WordPress Registration Email by Role
- Disallow img tag in comments?
- Bulk edit of EXIF data for jpeg images uploaded in the media library?
- In Wordress one author can not see the other’s author uploaded images through media library
- Why are images created by WP larger than the original uploaded image?
- Scaling images for mobile
- How do I fix “Sorry, this file type is not permitted for security reasons”
- Add suffix to uploaded images
- Image LazyLoad plugin not loading jQuery dependancies with wp_enqueue_script in WP 3.3.1
- How to make thumbnails of uploaded animated gifs NOT animated
- Frontend Image Upload
- Multiple variables through wp_get_image_editor
- Add ALT attribute to Pin It Button image to pass HTML5 validation
- Removing featured image from gallery?
- How to add image in rss?
- Rewrite inline image markup
- Are plugins instantiated on every request to WordPress?
- HowTo: develop WP template with dynamic background image
- Photo Gallery Plugin and Touch Devices
- Clicks registering on Preview DNS site
- A little confused as to what add image size actually does
- Get thumbnail URL :)
- SMTP Error: Could not authenticate [closed]
- What did I do WRONG?
- Add retina “2x” in attribute “srcset”
- Large image not showing dimensions in Media Library
- Change logo image condition based on url
- How to insert image path in database to display product image in wp-admin?
- Hiding Media Source Links
- How to create a title images for different posts?
- resize and crop thumbnail photos
- How can I externally retrieve a post’s custom sized image
- Why is my table background image not showing in wordpress?
- Can Postie be used to submit podcasts via email?
- WordPress Media Library – how to “uncache” images
- Is there a way to add a featured image to an image/file attachment page?
- Media Library Cleanup A Thought Exercise
- Save media files (images) to database instead of the filesystem
- WordPress Multisite: Images moved to /sites/1?
- Product Page loads terribly slow when product gallery images are added
- Site only working in browser where I created it
- After migration, all featured images using accentued characters in their file names are displayed “blanked”
- Adding numbers to an image based on co-ordinates
- A query to substitute images paths in gutenberg (website migration)?
- link not working in image section
- Images missing from Blog post page
- Page size too big due to images
- WP Large Images crash page
- Are WP images responsive by default?
- Prevent WordPress from creating individual size images
- wordpress images not showing properly
- Keep the original ratio in a thumbnail image
- What is the best way to handle Ajax image upload on front end?
- variable crop option with add_image_size()
- Plain image uploading – no links, no classes, no sizes
- Thumbnail gallery by date and taxonomy
- How do I get resized thumbnails?
- How do I embed an image at actual size?
- Display ajax preloader for large images within posts
- Insert image doesn’t pickup right size
- Storing images on a local site
- Images will not attach to posts after site migration
- Tried everything but Facebook share button won’t load the post thumbnail
- Set image dimension for WP_Customize_Image_Control images
- Image Layout in Posts
- Stop underlining image links
- How to get attached image alt text in media.php?
- Auto Stock Update after Order cancel from Admin of Woocommerce?
- Why some images are not allowed to be edited only for thumbnails?
- problems with alt text not appearing in source code
- how to embed a crop feature for cropping images uploaded by the user
- Remove one srcset entry from wp_get_attachment_image