Connect your PrestaShop store to MailOdds. Sync products, send transactional email, validate checkout addresses, and attribute revenue to campaigns.
Connect your PrestaShop store with API credentials. Import store data and enable product sync, sending, and attribution.
Import and query your product catalog for campaign personalization, product recommendation emails, and abandoned cart templates.
Order confirmations, shipping notifications, and password resets sent via MailOdds with open and click tracking built in.
Track email-driven purchases with the mid parameter. Attribute revenue back to specific campaigns and measure ROI.
PHP SDK for full platform access
Connect and manage stores visually
Use PrestaShop's webservice API credentials
Connect your PrestaShop store to MailOdds with a single API call using the PHP SDK. Once connected, your store is ready for product sync, transactional email, and revenue attribution.
use MailOdds\Client;
$client = new Client('YOUR_API_KEY');
$store = $client->stores->connect([
'platform' => 'prestashop',
'shop_domain' => 'your-store.com',
'api_key' => 'YOUR_PRESTASHOP_WEBSERVICE_KEY'
]);
// Trigger product catalog sync
$client->stores->sync($store->id); Related: E-commerce Email Integration
Hook into PrestaShop order events to send transactional emails through MailOdds. Track opens and clicks on order confirmations, shipping updates, and other lifecycle emails.
// Hook into PrestaShop order confirmation
// In your module's hookActionValidateOrder:
$result = $client->deliver([
'from' => 'orders@your-store.com',
'to' => $customer->email,
'subject' => 'Order #' . $order->reference . ' confirmed',
'html' => $orderHtml,
'tags' => ['order-confirmation', 'prestashop'],
'metadata' => [
'order_id' => $order->id,
'order_total' => $order->total_paid
],
'track_opens' => true,
'track_clicks' => true
]); Track storefront events from your PrestaShop theme to attribute revenue back to email campaigns. Capture the mid parameter from email links and close the attribution loop on purchase.
// PrestaShop storefront event tracking
// Add to your theme footer template
fetch('https://api.mailodds.com/v1/events/track', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
event: 'order_completed',
email: customerEmail,
properties: {
order_id: orderId,
total: orderTotal,
currency: 'EUR',
mid: new URLSearchParams(window.location.search).get('mid')
}
})
}); Related: E-commerce Email
Query your synced PrestaShop product catalog to build personalized campaign content. Use product data for recommendation emails, abandoned cart templates, and promotional campaigns.
// Query synced PrestaShop products for campaigns
$products = $client->storeProducts->list([
'store_id' => $storeId,
'limit' => 20
]);
foreach ($products->data as $product) {
// Use in campaign HTML templates
$product->title;
$product->price;
$product->image_url;
$product->url;
} PrestaShop merchants sending via MailOdds get automatic email authentication. Add one NS record for mo.yourdomain.com and MailOdds manages SPF, DKIM, MX, and DMARC automatically. No ongoing DNS maintenance.
Use the MailOdds pixel or a custom PrestaShop module to validate email addresses at checkout. Catch disposable and invalid addresses before they enter your customer database, reducing bounces and protecting sender reputation.
MailOdds appends a mid parameter to links in your emails, enabling email-to-web attribution on your PrestaShop store:
Your PrestaShop storefront can capture mid from URL parameters to attribute web sessions and purchases back to specific email campaigns. Pair with the order_completed event for complete funnel tracking.
MailOdds connects to PrestaShop as a complete email platform. Sync your product catalog, send targeted campaigns, and attribute revenue back to specific emails.
Can't find what you're looking for? We're here to help you get PrestaShop working.
Sync products, send transactional email, and track revenue attribution. Free plan included.