MarketPress - WordPress eCommerce
[resolved] Email notifications with images (2 posts)

  1. kristarella
    Posted 3 years ago #

    Is it possible to add product thumbnails into order emails?
    I've found some email related functions in marketpress.php, but I'm still not sure if it's possible, and obviously a filter would be better than editing core files.


  2. WPMU DEV - Your WordPress Team
    WPMU DEV Support Staff
    Plugin Author

    Posted 3 years ago #


    You would need to code that into the functions unfortunately, but i am going to tag this as a feature request for inclusion in an update.

    the product image shortcode and attributes are listed below here

    [mp_product_image] - Displays the featured image of a given product.
    Optional Attributes:

    "product_id" - The ID for the product. This is the Post ID, you can find it in the url of a product edit page. Optional if shortcode is in the loop.
    "context" - What context for preset size options. Options are list, single, or widget, default single.
    "size" - Set a custom pixel width/height. If omitted defaults to the size set by "context".
    Example: [mp_product_image product_id="1" size="150"]

    the section you need to look at is lines 231-274 in marketpress.php



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MarketPress - WordPress eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic