Add Product Images into Shopp Receipt

[php]
## ADD THIS INTO FUNCTIONS.PHP
add_filter(‘shopp_tag_purchase_item-image’,’purchased_image’,10, 3);
function purchased_image($result, $options, $Purchase) {
$item = current($Purchase->purchased);
$product = new Product($id=$item->product);
return $product->tag($property=’coverimage’);
}

## NOW YOU CAN SHOW THE IMAGES INSIDE THE PURCHASED ITEMS WHILE LOOP
shopp(‘purchase’,’item-image’);
[/php]
I’ve long said Shopp is a total bellend, they totally missed out putting the product image tags into half the hooks. The above, will allow you to show the product image in the receipt, after all – its always nice to show you what you have bought after you’ve paid good money.

Get a grip Shopp – I’m so moving to WooCommerce.