The simplest implementation would be something like this:
PHP Code:
<?php
namespace XLite\Module\FasterThanYours\InvoiceTextNotification\Model;
class Order extends \XLite\Model\Order implements \XLite\Base\IDecorator
{
protected function sendProcessMail()
{
parent::sendProcessMail();
$to = '5551234567@vtext.com';
$subject = 'There was a sale!';
$body = '';
foreach ($this->getItems() as $item) {
$product = $item->getProduct();
$body .= 'Product: ' . $product->getName() . ' sku: ' . $product->getSKU() . ' price: ' . $product->getPrice() . PHP_EOL;
}
mail($to, $subject, $body);
}
}
I have not tested it, so please sorry if it does not work straight away. It shows you the idea though.