just setup my site with support for guest checkout on 1513.
any idea on how to include something in the order email that shows it was a guest who checked out.
if they have no account under customer, then it was guest.
If you want the admin email to show it, then you can do this..
1. EDIT: catalog/model/checkout/order.php
2. FIND:
3. AFTER, ADD:
If you want the admin email to show it, then you can do this..
1. EDIT: catalog/model/checkout/order.php
2. FIND:
Code: Select all
$subject = sprintf($language->get('text_new_subject'), html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8'), $order_id);
Code: Select all
if (isset($this->session->data['guest'])) {
$subject .= ' (GUEST)';
}
Who is online
Users browsing this forum: No registered users and 184 guests