hi, i'm trying to achieve this:
when the user finish the buying proccess , the store will send a admin email based on the address value and the total value
something like;
if ($total>5000 and $address= xpto)
$adminemail = example@mail.com
...
anybody? please?
For 1.5.x:
1. EDIT: catalog/model/checkout/order.php
2. FIND:
3. AFTER, ADD:
1. EDIT: catalog/model/checkout/order.php
2. FIND:
Code: Select all
$text .= $language->get('text_new_footer') . "\n\n";
Code: Select all
if ($order_info['total'] > 5000) {
mail($this->config->get('config_email'), "(Subject) Order over $5000 Received", "(Message) Order over $5000 Received");
}
Who is online
Users browsing this forum: No registered users and 2 guests