Whispar1 Posted March 26, 2013 Share Posted March 26, 2013 (edited) So far I have only found a place in the BO to format Invoice numbers. Is this option not available for order numbers to something more customer-friendly rather than a random alpha string ie: XPIUYAWER ? Also, during the order process, customer receives the following: Email#1 - Payment Your order with the reference YNXPRHLKS - Payment processed Email #2 - Order Confirmation Order: YNXPRHLKS placed on 03/25/13 11:55:30 We manually update order status in BO to "preparation in progress" Email #3 - Your order YNXPRHLKS - Processing We manually update order in BO as "shipped" Email #4 - Your order with the reference YNXPRHLKS - Shipped We update tracking information in BO: Email#5 Your order with the reference YNXPRHLKS is currently in transit.. You can track your package using the following link: However the tracking link is missing The code {followup} is on the email template - but not showing in the actual email to customer. Doesn't it make sense that Email 4 and 5 would reference the invoice number rather than the order number because an invoice is what the customer will receive with their package and is what they will reference if they need to contact us for any reason? Edited March 26, 2013 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
Whispar1 Posted March 27, 2013 Author Share Posted March 27, 2013 (edited) Perhaps someone could offer the proper variable for invoice number? If {order_name} yields the order number, what variable yields the invoice number? I tried adding '{invoice_number}' => $invoice->id, to mailalerts.php and $data['{invoice_number}'] = (int)$order->invoice_number; to OrderHistory.php and then changed in an email template Your order with the reference {order_name} is currently in transit. to Your order with the reference {invoice_number} is currently in transit. but email now only shows {invoice_number} instead of the long ASDOWYEIO string What am I missing? Edited March 27, 2013 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
Whispar1 Posted March 28, 2013 Author Share Posted March 28, 2013 Partially Fixed - redirect to index.php - credit to moros http://www.prestashop.com/forums/topic/234930-shop-url-in-email-template-redirects-to-indexphp/page__pid__1161964?do=findComment&comment=1161964 1 Link to comment Share on other sites More sharing options...
Recommended Posts