WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. kristarella
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/wordpress-ecommerce/

  2. WPMUDEV
    WPMU DEV Support Staff
    Plugin Author

    Posted 1 year ago #

    @kristarella

    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

    Cheers

    Tom

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic