fix conflict
This commit is contained in:
commit
19b5adf9d3
@ -30,6 +30,9 @@ ul#menu li a {
|
||||
.text-purple-dark{
|
||||
color: #504d8b!important;
|
||||
}
|
||||
.text-grey-light{
|
||||
color: #EFEFEF!important;
|
||||
}
|
||||
#content {
|
||||
background-color: #f5f5f9;
|
||||
}
|
||||
@ -73,7 +76,6 @@ a:active,
|
||||
color: #fff;
|
||||
background: #504d8b;
|
||||
border-color: #504d8b;}
|
||||
|
||||
.btn-success {
|
||||
background: #26B99A;
|
||||
border: 1px solid #169F85;}
|
||||
@ -83,6 +85,46 @@ a:active,
|
||||
.btn-success.active,
|
||||
.open .dropdown-toggle.btn-success {
|
||||
background: #169F85;}
|
||||
.btn-green-light {
|
||||
background: rgba(38, 185, 154, 0.6);
|
||||
border: 1px solid #169F85;
|
||||
color:#fff;}
|
||||
.btn-green-light:hover,
|
||||
.btn-green-light:focus,
|
||||
.btn-green-light:active,
|
||||
.btn-green-light.active,
|
||||
.open .dropdown-toggle.btn-green-light {
|
||||
background: #169F85;}
|
||||
.btn-grey {
|
||||
background: #efefef;
|
||||
border: 1px solid #CCCCCC;
|
||||
color:#333333;}
|
||||
.btn-grey:hover,
|
||||
.btn-grey:focus,
|
||||
.btn-grey:active,
|
||||
.btn-grey.active,
|
||||
.open .dropdown-toggle.btn-grey {
|
||||
background: #CCCCCC;}
|
||||
.btn-red {
|
||||
background: rgba(217, 83, 79, 0.3);
|
||||
border: 1px solid #d43f3a;
|
||||
color:#d43f3a;}
|
||||
.btn-red:hover,
|
||||
.btn-red:focus,
|
||||
.btn-red:active,
|
||||
.btn-red.active,
|
||||
.open .dropdown-toggle.btn-red {
|
||||
background: #d43f3a;}
|
||||
.btn-warning-more {
|
||||
color: #eea236;
|
||||
background-color: rgba(240, 173, 78, 0.2);
|
||||
border-color: #eea236;}
|
||||
.btn-warning-more:hover,
|
||||
.btn-warning-more:focus,
|
||||
.btn-warning-more:active,
|
||||
.btn-warning-more.active,
|
||||
.open .dropdown-toggle.btn-warning-more {
|
||||
background: #eea236;}
|
||||
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
@ -139,6 +181,13 @@ form label{
|
||||
white-space: nowrap;
|
||||
color: #504d8b;
|
||||
}
|
||||
.panel h2.high_title{
|
||||
margin: 5px 0 6px;
|
||||
font-weight: bold;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
color: #504d8b;
|
||||
}
|
||||
.div-title h4{
|
||||
font-size: 15px;
|
||||
}
|
||||
@ -283,6 +332,16 @@ div.tagsinput span.tag a {
|
||||
background-color: #FFA74E;
|
||||
border: 1px solid #FFA74E;
|
||||
}
|
||||
#content .alert-warning-light {
|
||||
color: #fc9732;
|
||||
background-color: rgba(255, 167, 78, 0.3);
|
||||
border: 1px solid #FFA74E;
|
||||
}
|
||||
#content .alert-info {
|
||||
color: #31708f;
|
||||
background-color: #d9edf7;
|
||||
border-color: #bce8f1;
|
||||
}
|
||||
#content .alter-warning i.glyphicon,
|
||||
#content .alert-warning span.glyphicon,
|
||||
#content .alert-warning i.anticon,
|
||||
@ -375,6 +434,10 @@ table.table tr th {
|
||||
background: #504d8b;
|
||||
color: #fff;
|
||||
}
|
||||
table.table.th-grey tr th {
|
||||
background: #efefef;
|
||||
color: #504d8b;
|
||||
}
|
||||
.table tr td {
|
||||
color: #000;
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@ -60,5 +60,6 @@ $_LANGMAIL['Error reporting from your PayPal module'] = 'Error reporting from yo
|
||||
$_LANGMAIL['Congratulations!'] = 'Congratulations!';
|
||||
$_LANGMAIL['Referral Program'] = 'Referral program';
|
||||
$_LANGMAIL['A friend sent you a link to'] = 'A friend sent you a link to';
|
||||
$_LANGMAIL['New voucher after refund'] = 'New voucher after refund';
|
||||
|
||||
?>
|
20
mails/es/account.txt
Executable file
20
mails/es/account.txt
Executable file
@ -0,0 +1,20 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Gracias por crear tu cuenta en {shop_name}.
|
||||
|
||||
Detalles de tu cuenta:
|
||||
|
||||
Email: {email}
|
||||
Contraseña: {passwd}
|
||||
|
||||
Ahora podrás guardar y consultar tus pedidos en nuestra web: {shop_url}
|
||||
|
||||
Consejos de Seguridad:
|
||||
|
||||
* Mantén los datos de tu cuenta en lugar seguro.
|
||||
* No des los detalles de tu cuenta a nadie.
|
||||
* Cambia tu contraseña regularmente.
|
||||
* Si sospechas que alguien esta usando ilegalmente tu cuenta, avísanos inmediatamente.
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
26
mails/es/ant_alerthack.html
Executable file
26
mails/es/ant_alerthack.html
Executable file
@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message Alert Hacking</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 100%;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background: #514c8c; color:#ffffff; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Un visiteur ({suspect_email}) a envoyé {limit} messages en {time}min.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
1
mails/es/ant_alerthack.txt
Executable file
1
mails/es/ant_alerthack.txt
Executable file
@ -0,0 +1 @@
|
||||
Un visiteur ({suspect_email}) a envoyé {limit} messages en {time}min
|
55
mails/es/bankwire.html
Executable file
55
mails/es/bankwire.html
Executable file
@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Tu pedido es el número #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Tu pedido #{id_order} ha sido recibido correctamente, y será enviado en cuanto recibamos el pago.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Por favor, recuerda que has seleccionado transferencia bancaria. Envíela a: <br /><br /><strong>{bankwire_owner}</strong> <br /><br />{bankwire_details} <br /><br />Total Pedido: {total_paid}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes revisar tu pedido y descargar la factura aquí: <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}history.php">"Historial de Pedidos"</a> dentro de tu cuenta <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}my-account.php">"Entrar en Mi Cuenta"</a> de nuestro sitio web.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">If you have guest account, you can follow your order at <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}guest-tracking.php">"Guest Tracking"</a> section on our Website.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
20
mails/es/bankwire.txt
Executable file
20
mails/es/bankwire.txt
Executable file
@ -0,0 +1,20 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Tu pedido #{id_order} ha sido recibido correctamente, y será enviado en cuanto recibamos el pago.
|
||||
Por favor, recuerda que has seleccionado transferencia bancaria. Envíala a:
|
||||
|
||||
{bankwire_owner}
|
||||
|
||||
{bankwire_details}
|
||||
|
||||
Total Pedido: {total_paid}
|
||||
|
||||
Puedes revisar tu pedido y descargar la factura desde tu cuenta de nuestra web en (sección "Historial de Pedidos").
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
Muchas gracias por comprar en {shop_name}.
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop®
|
55
mails/es/cheque.html
Executable file
55
mails/es/cheque.html
Executable file
@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Tu pedido es el número #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Tu pedido #{id_order} ha sido recibido correctamente, y será enviado en cuanto recibamos el pago.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Por favor, recuerda que ha seleccionado pagar con cheque. Rellénalo con: <br /><br />- total <strong>{total_paid}</strong> <br /><br />- por el pedido de <strong>{cheque_name}</strong> <br /><br />- a <strong>{cheque_address_html}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes revisar tu pedido y descargar la factura aquí: <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}history.php">"Historial de Pedidos"</a> dentro de tu cuenta <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}my-account.php">"Entrar en Mi Cuenta"</a> de nuestro sitio web.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">If you have guest account, you can follow your order at <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}guest-tracking.php">"Guest Tracking"</a> section on our Website.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
19
mails/es/cheque.txt
Executable file
19
mails/es/cheque.txt
Executable file
@ -0,0 +1,19 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Tu pedido #{id_order} ha sido recibido correctamente, y será enviado en cuanto recibamos el pago.
|
||||
Por favor, recuerda que ha seleccionado pagar con cheque. Rellénalo con:
|
||||
|
||||
- Total {total_paid}
|
||||
|
||||
- por el pedido de {cheque_name}
|
||||
|
||||
- a {cheque_address}
|
||||
|
||||
Puedes revisar tu pedido y descargar la factura desde tu cuenta de nuestra web en (historial de pedidos).
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
Muchas gracias por comprar en {shop_name}.
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
34
mails/es/contact.html
Executable file
34
mails/es/contact.html
Executable file
@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Mensaje desde tu tienda {shop_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Email: <a href="mailto:{email}"><strong>{email}</strong></a> <br /><br />Mensaje: {message}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
11
mails/es/contact.txt
Executable file
11
mails/es/contact.txt
Executable file
@ -0,0 +1,11 @@
|
||||
Has recibido un mensaje de un cliente desde tu tienda: {shop_name}
|
||||
|
||||
Detalles del mensaje:
|
||||
|
||||
Email: {email}
|
||||
|
||||
Mensaje:
|
||||
|
||||
{message}
|
||||
|
||||
{shop_url} desarrollado por PrestaShop™
|
40
mails/es/contact_form.html
Executable file
40
mails/es/contact_form.html
Executable file
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Tu mensaje se ha enviado correctamente al Servicio de atención al cliente.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Tu mensaje: {message}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Te responderemos lo antes posible.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
12
mails/es/contact_form.txt
Executable file
12
mails/es/contact_form.txt
Executable file
@ -0,0 +1,12 @@
|
||||
Tu mensaje ha sido enviado correctamenta a nuestro Servicio Cliente.
|
||||
|
||||
Tu mensaje:
|
||||
|
||||
{message}
|
||||
|
||||
|
||||
Te responderemos cuanto antes.
|
||||
|
||||
Saludos,
|
||||
|
||||
{shop_url} desarrollado por PrestaShop™
|
68
mails/es/credit_slip.html
Executable file
68
mails/es/credit_slip.html
Executable file
@ -0,0 +1,68 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Histórico del Pedido #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Te informamos de que hemos efectuado correctamente la devolución del importe de los siguientes artículos de tu pedido #{id_order}.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<table style="width:100%;">
|
||||
<!-- Title -->
|
||||
<tr style="background-color:#cccccc; text-align:center;">
|
||||
<th style="width:30%; padding: 0.6em 0;">Producto</th>
|
||||
<th style="width:20%; padding: 0.6em 0;">Precio unitario</th>
|
||||
<th style="width:15%; padding: 0.6em 0;">Cantidad</th>
|
||||
<th style="width:20%; padding: 0.6em 0;">Total</th>
|
||||
</tr>
|
||||
<!-- Products -->
|
||||
{products}
|
||||
<!-- Footer: prices -->
|
||||
<tr style="text-align:right;">
|
||||
<td colspan="3" style="background-color:#e2e2e1; padding:0.6em 0.4em;">Total productos</td>
|
||||
<td style="background-color:#e2e2e1; padding:0.6em 0.4em;">{total_products}</td>
|
||||
</tr>
|
||||
{fraisport}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">Puedes revisar el pedido y descargar la factura desde la sección <a style="color: #e26ea2;" href="{shop_url}order-follow.php">"Seguimiento de Pedido"</a> del link <a style="color: #e26ea2;" href="{shop_url}my-account.php">"Mi Cuenta"</a> en nuestra web.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
12
mails/es/credit_slip.txt
Executable file
12
mails/es/credit_slip.txt
Executable file
@ -0,0 +1,12 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Te informamos de que hemos efectuado correctamente la devolución del importe de los siguientes artículos de tu pedido #{id_order}.
|
||||
|
||||
Puedes revisar este recibo y descargar la factura desde la sección "Seguimiento de Pedido" de tu cuenta pulsando en "Mi cuenta" en nuestra web.
|
||||
|
||||
Gracias por comprar en {shop_name}.
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
13
mails/es/download-product.tpl
Normal file
13
mails/es/download-product.tpl
Normal file
@ -0,0 +1,13 @@
|
||||
<ul>
|
||||
{foreach from=$virtualProducts item=product}
|
||||
<li>
|
||||
<a href="{$product.link}">{$product.name}</a>
|
||||
{if isset($product.deadline)}
|
||||
expires on {$product.deadline}
|
||||
{/if}
|
||||
{if isset($product.downloadable)}
|
||||
downloadable {$product.downloadable} times
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
55
mails/es/download_product.html
Executable file
55
mails/es/download_product.html
Executable file
@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong style="color: #db3484;">{firstname} {lastname}</strong>, gracias por comprar en <strong>{shop_name}</strong>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Producto(s) para descargar</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Tienes {nbProducts} producto(s) para descargar.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Este es el acceso directo: {virtualProducts}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes revisar este pedido y descargar su factura desde la sección <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}order-follow.php">"Seguimiento de Pedido"</a> de tu cuenta <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}my-account.php">"Mi Cuenta"</a> en nuestra web.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">If you have guest account, you can follow your order at <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}guest-tracking.php?id_order={id_order}">"Guest Tracking"</a> section on our Website.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
13
mails/es/download_product.txt
Executable file
13
mails/es/download_product.txt
Executable file
@ -0,0 +1,13 @@
|
||||
{firstname} {lastname}, gracias por comprar en {shop_name}!
|
||||
|
||||
Tienes {nbProducts} producto(s) para descargar.
|
||||
|
||||
Este es el acceso directo:
|
||||
{virtualProducts}
|
||||
|
||||
|
||||
Puedes revisar este pedido y descargar la factura desde la sección "Seguimiento de Pedido" de tu cuenta pulsando en "Mi cuenta" en nuestra web.
|
||||
Si tienes una cuenta invitado, puedes seguir tu pedido en esta página: {shop_url}guest-tracking.php?id_order={id_order}
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
10
mails/es/employee_password.html
Executable file
10
mails/es/employee_password.html
Executable file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
13
mails/es/employee_password.txt
Executable file
13
mails/es/employee_password.txt
Executable file
@ -0,0 +1,13 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Tu información personal en {shop_name} es:
|
||||
|
||||
* Nombre: {firstname}
|
||||
* Apellidos: {lastname}
|
||||
* Contraseña: {passwd}
|
||||
* Email: {email}
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
16
mails/es/forward_msg.html
Executable file
16
mails/es/forward_msg.html
Executable file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message from {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="border: 1px solid #CCCCCC; background-color: #ffffff; padding: 10px; color: #383838; font-size: 12px;">{employee} wanted to forward this chat to you. <br /><br />{messages} <br /><br />{employee} added "{comment}".</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
4
mails/es/forward_msg.txt
Executable file
4
mails/es/forward_msg.txt
Executable file
@ -0,0 +1,4 @@
|
||||
{employee} en espera para seguir esta conversación contigo:.
|
||||
Comentario: {comment}
|
||||
|
||||
{messages}
|
46
mails/es/guest_to_customer.html
Executable file
46
mails/es/guest_to_customer.html
Executable file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message from {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hi <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Your guest account has been transformed as customer account</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>E-mail address:</strong> {email}<br /><strong>Password:</strong> {passwd}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Please be careful when sharing these login details with others. <br /><br />You can access at your account on our Website: {shop_url}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> powered with <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
15
mails/es/guest_to_customer.txt
Executable file
15
mails/es/guest_to_customer.txt
Executable file
@ -0,0 +1,15 @@
|
||||
Hi {firstname} {lastname},
|
||||
|
||||
Your guest account has been transformed as customer account:
|
||||
|
||||
E-mail address: {email}
|
||||
Password: {passwd}
|
||||
|
||||
|
||||
You can access at your account on our Website: {shop_url}
|
||||
|
||||
Please be careful when sharing these login details with others.
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
52
mails/es/in_transit.html
Executable file
52
mails/es/in_transit.html
Executable file
@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde{shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Historial del Pedido #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Tu pedido está de camino.</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes saber la ubicación actual de tu pedido haciendo clic en este enlace: <a style="color: #e26ea2;" href="{followup}">{followup}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes consultar este pedido y descargar la factura desde la sección <a style="color: #e26ea2; font-weight: bold; text-decoration: none;" href="{shop_url}history.php">"Seguimiento de Pedido"</a> de <a style="color: #e26ea2; font-weight: bold; text-decoration: none;" href="{shop_url}my-account.php">"Mi Cuenta"</a><a> en nuestra web. </a></td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
14
mails/es/in_transit.txt
Executable file
14
mails/es/in_transit.txt
Executable file
@ -0,0 +1,14 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Tu pedido está en camino.
|
||||
Puedes seguir su ubicación actual haciendo clic en este enlace: {followup}
|
||||
|
||||
También puedes revisar tus pedidos y descargar tus facturas desde tu "Historial de Pedidos" dentro de tu cuenta.
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
Gracias por comprar en {shop_name}!
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
50
mails/es/in_transit_dropshipping.html
Normal file
50
mails/es/in_transit_dropshipping.html
Normal file
@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">Buenos días <strong>{firstname} {lastname},</strong>,</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Te informamos de que el/los producto(s) de la marca {sale} de tu pedido nº{id_order}, ya ha(n) sido enviado(s) directamente por nuestro proveedor mediante el transportista {carrier}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Este es el número de seguimiento del paquete : {tracking_number}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Y el enlace para consultar el seguimiento es : <a href="{followup}" style="color: #e26ea2;">{followup}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
¡Hasta pronto! ¡Nos vemos en Bébé Boutik!
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
13
mails/es/in_transit_dropshipping.txt
Normal file
13
mails/es/in_transit_dropshipping.txt
Normal file
@ -0,0 +1,13 @@
|
||||
Buenos días {firstname} {lastname},
|
||||
|
||||
Recientemente has pasado pedido en Bébé Boutik y te damos las gracias.
|
||||
|
||||
Te informamos de que el/los producto(s) de la marca {sale} de tu pedido nº{id_order}, ya ha(n) sido enviado(s) directamente por nuestro proveedor mediante el transportista {carrier}.
|
||||
|
||||
Este es el número de seguimiento del paquete : {tracking_number}
|
||||
|
||||
Y el enlace para consultar el seguimiento es: {followup}
|
||||
|
||||
¡Hasta pronto! ¡Nos vemos en Bébé Boutik!
|
||||
|
||||
{shop_name} - {shop_url}
|
36
mails/es/index.php
Normal file
36
mails/es/index.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 10436 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
44
mails/es/lang.php
Normal file
44
mails/es/lang.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
global $_LANGMAIL;
|
||||
$_LANGMAIL = array();
|
||||
$_LANGMAIL['Welcome!'] = 'Bienvenido !';
|
||||
$_LANGMAIL['Message from contact form'] = 'Mensaje desde el formulario de contacto';
|
||||
$_LANGMAIL['Your message has been correctly sent'] = 'Su mensaje se ha enviado correctamente';
|
||||
$_LANGMAIL['New credit slip regarding your order'] = 'Reembolsos realizados';
|
||||
$_LANGMAIL['Virtual product to download'] = 'Producto virtual a descargar';
|
||||
$_LANGMAIL['Fwd: Customer message'] = 'Fw: Mensaje de cliente';
|
||||
$_LANGMAIL['Your guest account has been transformed to customer account'] = 'Su cuenta de invitado se transformo en cuenta de cliente';
|
||||
$_LANGMAIL['Package in transit'] = 'Paquete en transito';
|
||||
$_LANGMAIL['[Log'] = '[Log';
|
||||
$_LANGMAIL['Order confirmation'] = 'Confirmación de pedido';
|
||||
$_LANGMAIL['Message from a customer'] = 'Mensaje de un cliente';
|
||||
$_LANGMAIL['New message regarding your order'] = 'Nuevo mensaje en su orden';
|
||||
$_LANGMAIL['Your order return state has changed'] = 'El estado de retorno de su orden ha cambiado';
|
||||
$_LANGMAIL['Your password'] = 'Tu contrase<73>a';
|
||||
$_LANGMAIL['Password query confirmation'] = 'Confirmación de password';
|
||||
$_LANGMAIL['An answer to your message is available'] = 'Hay una respuesta a su mensaje ';
|
||||
$_LANGMAIL['New voucher regarding your order'] = 'Nuevo cupon correspondiente a su orden';
|
||||
$_LANGMAIL['Happy birthday!'] = 'Feliz cumpleaños!';
|
||||
$_LANGMAIL['Newsletter confirmation'] = 'Confirmación de newsletter';
|
||||
$_LANGMAIL['Newsletter voucher'] = 'Cupon de newsletter';
|
||||
$_LANGMAIL['Your wishlist\\\'s link'] = 'Su enlace de Lista de deseos';
|
||||
$_LANGMAIL['Message from '] = 'Mensaje de';
|
||||
$_LANGMAIL['$subject'] = '$subject';
|
||||
$_LANGMAIL['Your cart and your discount'] = 'Su cesta y su descuento';
|
||||
$_LANGMAIL['Thanks for your order'] = 'Gracias por su pedido';
|
||||
$_LANGMAIL['You are one of our best customers'] = 'Usted es uno de nuestros mejores clientes';
|
||||
$_LANGMAIL['We miss you'] = 'Te extrañamos';
|
||||
$_LANGMAIL['Product available'] = 'Producto disponible';
|
||||
$_LANGMAIL['Product out of stock'] = 'Producto fuera de stock';
|
||||
$_LANGMAIL['Error reporting from your PayPal module'] = 'Error desde el modulo paypal';
|
||||
$_LANGMAIL['Congratulations!'] = 'Felicitaciones!';
|
||||
$_LANGMAIL['Referral Program'] = 'Programa de referidos';
|
||||
$_LANGMAIL['A friend sent you a link to'] = 'Un amigo te ha enviado un link';
|
||||
$_LANGMAIL['Log: You have a new alert from your shop'] = 'Log: Tiene un nuevo alerta desde su tienda';
|
||||
$_LANGMAIL['Message from \').$customer->lastname.\' '] = 'Mensaje de \').$customer->lastname.\'';
|
||||
$_LANGMAIL[' $subject'] = '$subject';
|
||||
$_LANGMAIL['A friend sent you a link to\').\' '] = 'Un amigo le envio un enlace a\').\'';
|
||||
$_LANGMAIL['New voucher after refund'] = 'Nuevo código de reducción tras su devolución';
|
||||
|
||||
?>
|
46
mails/es/log_alert.html
Executable file
46
mails/es/log_alert.html
Executable file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message from {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hi,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">New log alert</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Unfortunately, new log alert message has been saved.</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">You can check this on your Back office > Tools > Log on our Website.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> powered with <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
11
mails/es/log_alert.txt
Executable file
11
mails/es/log_alert.txt
Executable file
@ -0,0 +1,11 @@
|
||||
Hi,
|
||||
|
||||
New log alert
|
||||
|
||||
Unfortunately, new log alert message has been saved.
|
||||
|
||||
You can check this on your Back office > Tools > Log on our Website.
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
34
mails/es/newsletter.html
Executable file
34
mails/es/newsletter.html
Executable file
@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Newsletter de {shop_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">{message}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
9
mails/es/newsletter.txt
Executable file
9
mails/es/newsletter.txt
Executable file
@ -0,0 +1,9 @@
|
||||
Newsletter de {shop_name}
|
||||
|
||||
Mensaje
|
||||
|
||||
{message}
|
||||
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
47
mails/es/order_canceled.html
Executable file
47
mails/es/order_canceled.html
Executable file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Información sobre el pedido #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Tu pedido ha sido cancelado.</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes consultar este pedido y descargar tu factura desde la sección <a style="color: #e26ea2;" href="{shop_url}order-follow.php">"Seguimiento de Pedido"</a> de <a style="color: #e26ea2;" href="{shop_url}my-account.php">"Mi Cuenta"</a> en nuestra página web.</td>
|
||||
</tr>
|
||||
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
14
mails/es/order_canceled.txt
Executable file
14
mails/es/order_canceled.txt
Executable file
@ -0,0 +1,14 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Respecto al pedido #{id_order}:
|
||||
|
||||
Tu pedido ha sido cancelado.
|
||||
|
||||
Puedes revisar este pedido y descargar tu factura desde la seccion de "Historial de Pedidos" dentro de tu cuenta en nuestra web.
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
116
mails/es/order_conf.html
Executable file
116
mails/es/order_conf.html
Executable file
@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>, gracias por haber comprado en <strong>{shop_name}</strong>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Detalles del Pedido</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Pedido: <strong>{order_name} realizado el {date}</strong> <br />Forma de Pago: <strong>{payment}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">{products} {discounts}
|
||||
<table style="width: 100%; font-size: 11px; color: #374953;"><!-- Title -->
|
||||
<tbody>
|
||||
<tr style="background-color: #b9babe; text-align: center;"><th style="width: 15%; padding: 1em 0;">Referencia</th><th>Producto</th><th style="width: 15%;">Precio Unidad</th><th style="width: 15%;">Cantidad</th><th style="width: 20%;">Precio Total</th></tr>
|
||||
<!-- Products --><!-- Footer: prices -->
|
||||
<tr style="text-align: right;">
|
||||
<td> </td>
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;" colspan="3">Productos</td>
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;">{total_products}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td> </td>
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="3">Descuentos</td>
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_discounts}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td> </td>
|
||||
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;" colspan="3">Envíos</td>
|
||||
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;">{total_shipping}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right; font-weight: bold;">
|
||||
<td> </td>
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;" colspan="3">TOTAL</td>
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;">{total_paid}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Envio</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Transporte: <strong>{carrier}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="width: 100%; font-size: 11px; color: #374953;">
|
||||
<tbody>
|
||||
<tr style="background-color: #b9babe; text-transform: uppercase;"><th style="text-align: left; padding: 0.3em 1em;">DirecciÒn de Entrega</th><th style="text-align: left; padding: 0.3em 1em;">DirecciÒn de FacturaciÒn</th></tr>
|
||||
<tr>
|
||||
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{delivery_block_html}</td>
|
||||
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{invoice_block_html}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<span style="color:#db3484;font-weight:bold">La fecha de entrega prevista de tu pedido es entre el {delivery_date}.</span>
|
||||
<br />
|
||||
Recibirás un email con el número de seguimiento de tu pedido 48h antes.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes consultar tu pedido y descargar la factura aquí en el apartado : <a style="color: #e26ea2; " href="{shop_url}history.php">"Historial de Pedidos"</a> en la sección <a style="color: #e26ea2; " href="{shop_url}my-account.php">"Mi Cuenta"</a> de nuestra Web.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
29
mails/es/order_conf.txt
Executable file
29
mails/es/order_conf.txt
Executable file
@ -0,0 +1,29 @@
|
||||
{firstname} {lastname}, gracias por realizar su pedido en {shop_name}!
|
||||
|
||||
Detalles del Pedido
|
||||
|
||||
Pedido: {order_name} realizado el {date}
|
||||
Forma de Pago: {payment}
|
||||
|
||||
Total Productos: {total_products}
|
||||
Descuentos: {total_discounts}
|
||||
Gastos Envío: {total_shipping}
|
||||
Total: {total_paid}
|
||||
|
||||
|
||||
Envios
|
||||
|
||||
Transporte: {carrier}
|
||||
|
||||
Dirección de Entrega:
|
||||
{delivery_block_txt}
|
||||
|
||||
Direccion de Facturación:
|
||||
{invoice_block_txt}
|
||||
|
||||
Puedes revisar tu pedido y descargar la factura desde tu cuenta de nuestra web en (historial de pedidos).
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
Gracias por comprar en {shop_name}.
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
40
mails/es/order_customer_comment.html
Executable file
40
mails/es/order_customer_comment.html
Executable file
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje de un cliente de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Mensaje desde {shop_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Has recibido un nuevo mensaje sobre el pedido #{id_order}:</strong> <br /><br />{message}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes revisar tu pedido y descargar la factura aquí: <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}history.php">"Historial de Pedidos"</a> dentro de tu cuenta <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}my-account.php">"Entrar en Mi Cuenta"</a> de nuestro sitio web.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
8
mails/es/order_customer_comment.txt
Executable file
8
mails/es/order_customer_comment.txt
Executable file
@ -0,0 +1,8 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Has recibido un nuevo mensaje sobre el pedido #{id_order}:
|
||||
|
||||
{message}
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
40
mails/es/order_merchant_comment.html
Executable file
40
mails/es/order_merchant_comment.html
Executable file
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Mensaje de {shop_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Has recibido un nuevo mensaje sobre el pedido n°{id_order} :</strong> <br /><br /> {message}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
10
mails/es/order_merchant_comment.txt
Executable file
10
mails/es/order_merchant_comment.txt
Executable file
@ -0,0 +1,10 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Has recibido un mensaje sobre el pedido n°{id_order} :
|
||||
{message}
|
||||
|
||||
Puedes, en cualquier momento, consultar tus antiguos mensajes en Seguimiento de pedido.
|
||||
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop™
|
62
mails/es/order_return_2.html
Normal file
62
mails/es/order_return_2.html
Normal file
@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="padding: 0px 20px;">Estimado(a) cliente(a),</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="padding: 0px 20px;">
|
||||
Usted ha realizado una solicitud de devolución gratuita del o de los siguientes productos de su pedido n°{id_order} :
|
||||
<br /><br />
|
||||
{product_list}
|
||||
<br /><br />
|
||||
Nos complace que pueda beneficiar de una etiqueta de retorno preparagada.
|
||||
<br /><br />
|
||||
Para ello, basta con que haga click en el siguiente enlace y sigas las instrucciones indicadas por nuestro asociado para devoluciones, Mondial Relay:
|
||||
<br /><br />
|
||||
<a href="{return_link}" target="_blank" style="color: #5082f5; text-decoration: none;">Haz click aquí para obtener una etiqueta de retorno</a>
|
||||
<br /><br /><br />
|
||||
A continuación, le presentamos las instrucciones para devolver su(s) producto(s) correctamente:
|
||||
<br /><br />
|
||||
Para la devolución, debe utilizar un cartón cerrado y resistente, de modo que el contenido esté bien protegido y responda a las exigencias del transporte y de su tratamiento industrial.
|
||||
<br /><br />
|
||||
El producto debe a su vez estar dentro de su empaque original.
|
||||
<br /><br />
|
||||
Introduzca dentro del paquete una copia de su factura de modo que podemos identificar su pedido a recepción.
|
||||
<br /><br />
|
||||
Pegue la etiqueta proporcionada por Mondial Relay en una de las caras visibles del paquete.
|
||||
<br /><br /><br />
|
||||
El depósito del paquete debe hacerse en uno de los 4 500 Puntos de Recogida® de España.
|
||||
<br />
|
||||
Encuentre la lista de puntos de recogida cerca de su casa haciendo <a href="http://www.puntopack.es/buscar-el-punto-pack-más-cercano/" target="_blank" style="color: #5082f5; text-decoration: none;">click aquí</a>
|
||||
<br />
|
||||
El comerciante le entregará un comprobante que deberá conservar para justificar el depósito en caso de ser necesario.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="padding: 0px 20px;">
|
||||
Servicio de atención al cliente
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
32
mails/es/order_return_2.txt
Normal file
32
mails/es/order_return_2.txt
Normal file
@ -0,0 +1,32 @@
|
||||
Estimado(a) cliente(a),
|
||||
|
||||
Usted ha realizado una solicitud de devolución gratuita del o de los siguientes productos de su pedido nº{id_order}:
|
||||
|
||||
{product_list_txt}
|
||||
|
||||
Nos complace que pueda beneficiar de una etiqueta de retorno preparagada.
|
||||
|
||||
Para ello, basta con que haga click en el siguiente enlace y sigas las instrucciones indicadas por nuestro asociado para devoluciones, Mondial Relay:
|
||||
|
||||
{return_link}
|
||||
|
||||
A continuación, le presentamos las instrucciones para devolver su(s) producto(s) correctamente:
|
||||
|
||||
Para la devolución, debe utilizar un cartón cerrado y resistente, de modo que el contenido esté bien protegido y
|
||||
responda a las exigencias del transporte y de su tratamiento industrial.
|
||||
|
||||
El producto debe a su vez estar dentro de su empaque original.
|
||||
|
||||
Introduzca dentro del paquete una copia de su factura de modo que podemos identificar su pedido a recepción.
|
||||
|
||||
Pegue la etiqueta proporcionada por Mondial Relay en una de las caras visibles del paquete.
|
||||
|
||||
El depósito del paquete debe hacerse en uno de los 4 500 Puntos de Recogida de España.
|
||||
Encuentre la lista de puntos de recogida cerca de su casa haciendo click aquí:
|
||||
|
||||
http://www.puntopack.es/buscar-el-punto-pack-más-cercano/
|
||||
|
||||
El comerciante le entregará un comprobante que deberá conservar para justificar el depósito
|
||||
en caso de ser necesario.
|
||||
|
||||
Servicio de Atención al Cliente
|
46
mails/es/order_return_state.html
Executable file
46
mails/es/order_return_state.html
Executable file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Buenos días <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Resumen de la devolución {id_order_return}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>El estado de la devolución ha cambiado a "{state_order_return}".</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puede acceder al seguimiento de su devolución y descargar su factura en <a style="color: #e26ea2; " href="{shop_url}history.php">"Histórico de pedidos"</a> en la sección <a style="color: #e26ea2; " href="{shop_url}my-account.php">"Mi cuenta"</a> de nuestra Web.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
9
mails/es/order_return_state.txt
Executable file
9
mails/es/order_return_state.txt
Executable file
@ -0,0 +1,9 @@
|
||||
Buenos días: {firstname} {lastname},
|
||||
|
||||
El estado de tu devolución {id_order_return} a cambiado a "{state_order_return}".
|
||||
|
||||
Puedes revisar esta orden de devolución en "Historial y detalles de tus pedidos" de tu cuenta pulsando sobre "Mi cuenta" en nuestro sitio web.
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
49
mails/es/outofstock.html
Executable file
49
mails/es/outofstock.html
Executable file
@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Incidencia en tu pedido #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Desgraciadamente, uno o mas productos de tu pedido #{id_order} se encuentran actualmente fuera de stock. Esto puede originar un retraso en el envío. Por favor, acepta nuestras disculpas y puedes estar seguro que trabajeremos lo más rápidamente posible para solucionarlo.</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes revisar tu pedido y descargar la factura aquí: <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}history.php">"Historial de Pedidos"</a> dentro de tu cuenta <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}my-account.php">"Entrar en Mi Cuenta"</a> de nuestro sitio web.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">If you have guest account, you can follow your order at <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}guest-tracking.php">"Guest Tracking"</a> section on our Website.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
17
mails/es/outofstock.txt
Executable file
17
mails/es/outofstock.txt
Executable file
@ -0,0 +1,17 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Incidencia en tu pedido #{id_order}
|
||||
|
||||
Desgraciadamente, uno o mas productos de tu pedido #{id_order} se encuentran actualmente fuera de stock.
|
||||
Esto puede originar un retraso en el envío. Por favor, acepta nuestras disculpas y puedes estar seguro que trabajaremos lo más rápidamente posible para solucionarlo.
|
||||
|
||||
|
||||
|
||||
Puedes revisar tu pedido y descargar la factura desde tu cuenta de nuestra web en (historial de pedidos).
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
47
mails/es/partially_shipped.html
Normal file
47
mails/es/partially_shipped.html
Normal file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background: #514c8c; color:#ffffff; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Historial de tu pedido n°{id_order}</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<b>Una parte de tu pedido acaba de ser enviada.</b><br /><br />{product_list}<br /><br />Pronto recibirás un link que te permitirá seguir tu envío.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
El resto del pedido será enviado próximamente y recibirás de nuevo un mail de confirmación de expedición.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">Puedes consultar tu pedido y descargar la factura aquí en el apartado : <a style="color: #e26ea2; " href="{shop_url}history.php">"Historial de Pedidos"</a> en la sección <a style="color: #e26ea2; " href="{shop_url}my-account.php">"Mi Cuenta"</a> de nuestra Web.</td>
|
||||
</tr>
|
||||
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
11
mails/es/partially_shipped.txt
Normal file
11
mails/es/partially_shipped.txt
Normal file
@ -0,0 +1,11 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Una parte de tu pedido acaba de ser enviada.
|
||||
|
||||
{product_list}
|
||||
|
||||
Pronto recibirás un link que te permitirá seguir tu envío.
|
||||
|
||||
El resto del pedido será enviado próximamente y recibirás de nuevo un mail de confirmación de expedición.
|
||||
|
||||
{shop_name} - {shop_url}
|
46
mails/es/password.html
Executable file
46
mails/es/password.html
Executable file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Detalles de tu nueva contraseña</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong><strong>Email:</strong> {email}<br /><strong>Contraseña:</strong> {passwd} </strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Conserva tu contraseña y no la compartas. <br /><br />Ahora puedes realizar pedidos en nuestra web de : {shop_url}</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
15
mails/es/password.txt
Executable file
15
mails/es/password.txt
Executable file
@ -0,0 +1,15 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Detalles de tu nuevo login:
|
||||
|
||||
Email: {email}
|
||||
Contraseña: {passwd}
|
||||
|
||||
|
||||
Ahora puedes realizar pedidos en nuestra web de: {shop_url}
|
||||
|
||||
|
||||
Por favor, ten cuidado en no compartir con nadie estos detalles.
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
40
mails/es/password_query.html
Executable file
40
mails/es/password_query.html
Executable file
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message from {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Si visualizas tus identificadores, esta acción cambiará tu contraseña.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Si es lo que deseas, haz clic aquí :<br /><a href="{url}">{url}</a></td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
9
mails/es/password_query.txt
Executable file
9
mails/es/password_query.txt
Executable file
@ -0,0 +1,9 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
You asked to get back your {shop_name} access codes.
|
||||
Note that this action will change your current password.
|
||||
|
||||
If you really want to do it, click the following link :
|
||||
{url}
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
47
mails/es/payment.html
Executable file
47
mails/es/payment.html
Executable file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Información sobre el pedido #{id_order}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>El pago de tu pedido ha sido recibido CORRECTAMENTE .</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes consultar tu pedido y descargar la factura aquí : Apartado <a style="color: #e26ea2;" href="{shop_url}history.php">"Historial de Pedidos"</a> en la sección <a style="color: #e26ea2;" href="{shop_url}my-account.php">"Mi Cuenta"</a> de nuestra web.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
14
mails/es/payment.txt
Executable file
14
mails/es/payment.txt
Executable file
@ -0,0 +1,14 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
En referencia a tu pedido #{id_order}:
|
||||
|
||||
El pago de tu pedido fue recibido CORRECTAMENTE .
|
||||
|
||||
Puedes revisar tu pedido y descargar la factura desde tu cuenta de nuestra web en (historial de pedidos).
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
Gracias por comprar en {shop_name}.
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
52
mails/es/payment_error.html
Executable file
52
mails/es/payment_error.html
Executable file
@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Problema ocurrido con tu pedido #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Ha ocurrido un problema en el momento de realizar el pago de tu pedido : #{id_order}. Por favor, ponte en contacto con nosotros en cuanto puedas.</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Tu pedido no será enviado hasta que resolvamos el problema.</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes consultar tu pedido y descargar la factura aquí : Apartado <a style="color: #e26ea2; " href="{shop_url}history.php">"Historial de Pedidos"</a> en la sección <a style="color: #e26ea2; " href="{shop_url}my-account.php">"Mi Cuenta"</a> de nuestra web.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
16
mails/es/payment_error.txt
Executable file
16
mails/es/payment_error.txt
Executable file
@ -0,0 +1,16 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
|
||||
Hay un problema con tu pago para el pedido: #{id_order}. Por favor, ponte en contacto con nosotros en cuanto puedas.
|
||||
|
||||
Tu pedido no será enviado hasta que resolvamos este problema.
|
||||
|
||||
|
||||
Puedes revisar tu pedido y descargar la factura desde tu cuenta de nuestra web en (historial de pedidos).
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
47
mails/es/preparation.html
Executable file
47
mails/es/preparation.html
Executable file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Información sobre el pedido #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Estamos preparando tu pedido.</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes consultar tu pedido y descargar la factura aquí en el apartado : <a style="color: #e26ea2; " href="{shop_url}history.php">"Historial de Pedidos"</a> en la sección <a style="color: #e26ea2; " href="{shop_url}my-account.php">"Mi Cuenta"</a> de nuestra Web.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
13
mails/es/preparation.txt
Executable file
13
mails/es/preparation.txt
Executable file
@ -0,0 +1,13 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Sobre tu pedido #{id_order}:
|
||||
|
||||
Estamos preparando tu pedido.
|
||||
|
||||
Puedes revisar tu pedido y descargar la factura desde tu cuenta de nuestra web en (historial de pedidos).
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
46
mails/es/refund.html
Executable file
46
mails/es/refund.html
Executable file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Información sobre el pedido #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>La devolución ha sido realizada con éxito. El importe reembolsado aparecerá en tu cuenta en unos 5 días laborables.</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes consultar tu pedido y descargar la factura aquí en el apartado : <a style="color: #e26ea2; " href="{shop_url}history.php">"Historial de Pedidos"</a> en la sección <a style="color: #e26ea2; " href="{shop_url}my-account.php">"Mi Cuenta"</a> de nuestra Web.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
12
mails/es/refund.txt
Executable file
12
mails/es/refund.txt
Executable file
@ -0,0 +1,12 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
La devolución ha sido realizada con éxito. El importe reembolsado aparecerá en tu cuenta en unos 5 días laborables.
|
||||
|
||||
Puedes revisar tu pedido y descargar la factura desde tu cuenta de nuestra web en (historial de pedidos).
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
45
mails/es/refundorder.html
Normal file
45
mails/es/refundorder.html
Normal file
@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">Buenos días,</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
Te damos las gracias por haber realizado un pedido en nuestra web.
|
||||
<br>
|
||||
Lamentablemente, debido a una falta de suministro por parte de nuestro proveedor, no podemos enviarte uno o varios artículos y por ello hemos procedido a devolverte su dinero. De aquí a unos instantes, recibirás otro email en el que te indicamos exactamente el artículo o los artículos que te hemos reembolsado y el montante correspondiente.
|
||||
<br><br>
|
||||
Te pedidos disculpas por las molestias causadas y además queremos compensarte con un gesto comercial, un código promocional por valor de {voucher_value} € de crédito: {voucher_num}. Este código tiene un año de validez y podrás canjearlo en cualquiera de tus próximas compras.
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Cordialmente,<br />
|
||||
Servicio de atención al cliente
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
11
mails/es/refundorder.txt
Normal file
11
mails/es/refundorder.txt
Normal file
@ -0,0 +1,11 @@
|
||||
Buenos días,
|
||||
|
||||
Te damos las gracias por haber realizado un pedido en nuestra web.
|
||||
|
||||
Lamentablemente, debido a una falta de suministro por parte de nuestro proveedor, no podemos enviarte uno o varios artículos y por ello hemos procedido a devolverte su dinero. De aquí a unos instantes, recibirás otro email en el que te indicamos exactamente el artículo o los artículos que te hemos reembolsado y el montante correspondiente.
|
||||
|
||||
Te pedidos disculpas por las molestias causadas y además queremos compensarte con un gesto comercial, un código promocional por valor de {voucher_value} € de crédito: {voucher_num}. Este código tiene un año de validez y podrás canjearlo en cualquiera de tus próximas compras.
|
||||
|
||||
Cordialmente,
|
||||
|
||||
Servicio de atención al cliente
|
31
mails/es/reply_msg.html
Executable file
31
mails/es/reply_msg.html
Executable file
@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message from {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<ttable style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
{reply}
|
||||
<br /><br />
|
||||
<span style="color: red; font-weight: bold;">No contestes a este mensaje. Si quieres contactarnos, hazlo a través de este enlace:</span><br /><br />
|
||||
<a href="{link}" style="color: #e26ea2;">{link}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
4
mails/es/reply_msg.txt
Executable file
4
mails/es/reply_msg.txt
Executable file
@ -0,0 +1,4 @@
|
||||
{reply}
|
||||
|
||||
Please do not reply to this message using your e-mail client, we would not receive your message.
|
||||
In order to reply, please use exclusively the following link: {link}
|
46
mails/es/shipped.html
Executable file
46
mails/es/shipped.html
Executable file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Historial del Pedido #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>Tu pedido ha sido enviado.</strong><br />Recibirás pronto un enlace desde el cuál podrás realizar el seguimiento del envío de tu pedido.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Puedes consultar tu pedido y descargar la factura aquí en el apartado : <a style="color: #e26ea2; " href="{shop_url}history.php">"Historial de Pedidos"</a> en la sección <a style="color: #e26ea2; " href="{shop_url}my-account.php">"Mi Cuenta"</a> de nuestra Web.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
15
mails/es/shipped.txt
Executable file
15
mails/es/shipped.txt
Executable file
@ -0,0 +1,15 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Tu pedido acaba de ser enviado.
|
||||
Pronto recibirás una URL para realizar el seguimiento de tu pedido.
|
||||
|
||||
Puedes revisar este pedido y descargar tu factura en la sección "Historial" dentro de tu cuenta en nuestra web.
|
||||
If you have guest account, you can follow your order at this page: {shop_url}guest-tracking.php
|
||||
|
||||
Gracias por comprar en {shop_name}!
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop®
|
22
mails/es/test.html
Executable file
22
mails/es/test.html
Executable file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Prueba de Corrreo</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Hola,<br /><br />Esto es una <strong>prueba de correo</strong> desde tu tienda.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center">powered with <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
3
mails/es/test.txt
Executable file
3
mails/es/test.txt
Executable file
@ -0,0 +1,3 @@
|
||||
Hola,
|
||||
|
||||
Esto es una prueba de correo desde tu tienda Prestashop.
|
46
mails/es/voucher.html
Executable file
46
mails/es/voucher.html
Executable file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje desde {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hola <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #514c8c; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Historial del Pedido #{id_order}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Gracias al pedido #{id_order} que has realizado, tienes a tu disponibilidad un vale de descuento.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">El código del vale es: <strong>{voucher_num}</strong>, y tiene un valor de <strong>{voucher_amount}</strong>.<br />Copia y pega éste código durante el proceso de pago de tu próximo pedido.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
14
mails/es/voucher.txt
Executable file
14
mails/es/voucher.txt
Executable file
@ -0,0 +1,14 @@
|
||||
Hola {firstname} {lastname},
|
||||
|
||||
Te informamos de la creación de un vale de descuento para ti como resultado de tu pedido #{id_order}.
|
||||
|
||||
Aquí tienes tu código del vale:{voucher_num}, por la cantidad de:{voucher_amount}.
|
||||
|
||||
Simplemente copia y pega este código durante el proceso de pago de tu próximo pedido.
|
||||
|
||||
Gracias por comprar en {shop_name}.
|
||||
|
||||
{shop_name} - {shop_url}
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop®
|
40
mails/es/voucher_after_refund.html
Executable file
40
mails/es/voucher_after_refund.html
Executable file
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Mensaje de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color: #000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Buenos días <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Acabamos de proceder a reembolsarte tu pedido. Para realizar el pago utilizaste un código de descuento. <br />Te informamos de que dispones de un nuevo código para que puedas utilizarlo en tu próximo pedido : {voucher_num}.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Cordialmente,<br /> Servicio al cliente</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;" align="center">{shop_name} - <a style="color: #e26ea2;" href="{shop_url}">{shop_url}</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
7
mails/es/voucher_after_refund.txt
Executable file
7
mails/es/voucher_after_refund.txt
Executable file
@ -0,0 +1,7 @@
|
||||
Bonjour {firstname} {lastname},
|
||||
|
||||
Acabamos de proceder a reembolsarte tu pedido. Para realizar el pago utilizaste un código de descuento.
|
||||
Te informamos de que dispones de un nuevo código para que puedas utilizarlo en tu próximo pedido : {voucher_num}.
|
||||
|
||||
Cordialmente,
|
||||
Servicio al cliente
|
26
mails/fr/ant_alerthack.html
Executable file
26
mails/fr/ant_alerthack.html
Executable file
@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Message Alert Hacking</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 100%;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background: #514c8c; color:#ffffff; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Un visiteur ({suspect_email}) a envoyé {limit} messages en {time}min.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
1
mails/fr/ant_alerthack.txt
Executable file
1
mails/fr/ant_alerthack.txt
Executable file
@ -0,0 +1 @@
|
||||
Un visiteur ({suspect_email}) a envoyé {limit} messages en {time}min
|
@ -13,6 +13,7 @@ class AdminAntConfigurations extends AdminTab
|
||||
global $cookie;
|
||||
if(Tools::isSubmit('submitUpdateConfigurations')) {
|
||||
|
||||
Configuration::updateValue('ANT_BOOTSTRAP_TPL', Tools::getValue('bootstrap_tpl'));
|
||||
Configuration::updateValue('ANT_CARRIER_DROP', Tools::getValue('carrier_dropshipping'));
|
||||
Configuration::updateValue('ANT_CARRIER_DOM', Tools::getValue('carrier_domicile'));
|
||||
Configuration::updateValue('ANT_CARRIERS_SOCOL', Tools::getValue('carriers_socol'));
|
||||
@ -361,6 +362,7 @@ class AdminAntConfigurations extends AdminTab
|
||||
$helperForm = new HelperFormBootstrap();
|
||||
$helperForm->_select2 = true;
|
||||
$helperForm->_inputMask = true;
|
||||
$helperForm->_inputSwitch = true;
|
||||
$form .= $helperForm->renderStyle();
|
||||
|
||||
$form .= '
|
||||
@ -559,6 +561,15 @@ class AdminAntConfigurations extends AdminTab
|
||||
'label' => $this->l('Cache Meilleures ventes :'),
|
||||
'value' => $this->l('Vider le cache'),
|
||||
),
|
||||
array(
|
||||
'type' => 'switch',
|
||||
'name' => 'bootstrap_tpl',
|
||||
'label-class' => 'col-md-6',
|
||||
'input-class' => 'col-md-4',
|
||||
'label' => $this->l('Bootstrap TPL (BO) :'),
|
||||
'default' => Configuration::get('ANT_BOOTSTRAP_TPL'),
|
||||
'checked' => Configuration::get('ANT_BOOTSTRAP_TPL'),
|
||||
),
|
||||
array(
|
||||
'type' => 'simpleText',
|
||||
'name' => 'carrier_dropshipping',
|
||||
|
@ -140,7 +140,7 @@ class Ant_Refund_Discount extends Module
|
||||
'{voucher_num}' => $voucher->name,
|
||||
);
|
||||
|
||||
Mail::Send((int)$order->id_lang, 'voucher_after_refund', Mail::l('New voucher after refund', $order->id_lang),
|
||||
Mail::Send((int)$order->id_lang, 'voucher_after_refund', Mail::l("New voucher after refund"),
|
||||
$params, $customer->email, $customer->firstname.' '.$customer->lastname, null, null, null, null,
|
||||
_PS_MAIL_DIR_, true);
|
||||
|
||||
|
62
modules/ant_refund_discount/mails/es/voucher_after_refund.html
Normal file → Executable file
62
modules/ant_refund_discount/mails/es/voucher_after_refund.html
Normal file → Executable file
@ -5,36 +5,36 @@
|
||||
<title>Mensaje de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">Buenos días <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Acabamos de proceder a reembolsarte tu pedido. Para realizar el pago utilizaste un código de descuento.
|
||||
<br>Te informamos de que dispones de un nuevo código para que puedas utilizarlo en tu próximo pedido : {voucher_num}.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Cordialmente,<br />
|
||||
Servicio al cliente
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;">
|
||||
{shop_name} - <a href="{shop_url}" style="color: #e26ea2;">{shop_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color: #000000; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Buenos días <strong>{firstname} {lastname}</strong>,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Acabamos de proceder a reembolsarte tu pedido. Para realizar el pago utilizaste un código de descuento. <br />Te informamos de que dispones de un nuevo código para que puedas utilizarlo en tu próximo pedido : {voucher_num}.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Cordialmente,<br /> Servicio al cliente</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 12px; border-top: 1px solid #cccccc; padding-top: 5px;" align="center">{shop_name} - <a style="color: #e26ea2;" href="{shop_url}">{shop_url}</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
12
modules/ant_refund_discount/mails/es/voucher_after_refund.txt
Normal file → Executable file
12
modules/ant_refund_discount/mails/es/voucher_after_refund.txt
Normal file → Executable file
@ -1,7 +1,7 @@
|
||||
Bonjour {firstname} {lastname},
|
||||
|
||||
Acabamos de proceder a reembolsarte tu pedido. Para realizar el pago utilizaste un código de descuento.
|
||||
Te informamos de que dispones de un nuevo código para que puedas utilizarlo en tu próximo pedido : {voucher_num}.
|
||||
|
||||
Cordialmente,
|
||||
Bonjour {firstname} {lastname},
|
||||
|
||||
Acabamos de proceder a reembolsarte tu pedido. Para realizar el pago utilizaste un código de descuento.
|
||||
Te informamos de que dispones de un nuevo código para que puedas utilizarlo en tu próximo pedido : {voucher_num}.
|
||||
|
||||
Cordialmente,
|
||||
Servicio al cliente
|
@ -2242,12 +2242,12 @@ class AdminAntReturnprocess extends AdminTab
|
||||
SELECT COUNT(*)
|
||||
FROM `'._DB_PREFIX_.'mr_method`
|
||||
WHERE `id_carrier` = '.(int) $cart->id_carrier.'
|
||||
AND `MR_Selected_Num` IS NOT NULL
|
||||
')) {
|
||||
$mr = Db::getInstance()->getRow('
|
||||
SELECT mr_s.*
|
||||
FROM `' . _DB_PREFIX_ . 'mr_selected` mr_s
|
||||
WHERE `id_cart` = ' . (int) $cart->id . '
|
||||
AND `MR_Selected_Num` IS NOT NULL
|
||||
');
|
||||
if($mr) {
|
||||
$order_address = nl2br(preg_replace("/(\r\n){2,}/", "\r\n", implode("\r\n", array(
|
||||
@ -2256,6 +2256,7 @@ class AdminAntReturnprocess extends AdminTab
|
||||
$mr['MR_Selected_LgAdr3'] . ' ' . $mr['MR_Selected_LgAdr4'],
|
||||
$mr['MR_Selected_CP'] . ' ' . $mr['MR_Selected_Ville'],
|
||||
'FRANCE',
|
||||
'('.$mr['MR_Selected_Num'].')',
|
||||
))));
|
||||
} else {
|
||||
$order_address = nl2br(AddressFormat::generateAddress(new Address((int) $order->id_address_delivery)));
|
||||
|
@ -30,6 +30,9 @@ class Catalog
|
||||
|
||||
public function setContent($version = 'fr')
|
||||
{
|
||||
// Flush to load the good sales
|
||||
CacheRedis::getInstance()->clear('sale*');
|
||||
|
||||
$test_for_tomorrow = (int)Tools::getValue('tomorrow',0);
|
||||
|
||||
$sales_today = array();
|
||||
|
@ -97,6 +97,48 @@ class Fraud extends Module {
|
||||
}
|
||||
}
|
||||
|
||||
public function hookAdminOrderNew($params) {
|
||||
global $currentIndex;
|
||||
$data .= '';
|
||||
$reputation = FraudCore::getReputationOrder((int) $params['id_order']);
|
||||
if ($reputation) {
|
||||
$data .= '
|
||||
<div class="col-md-12">
|
||||
<div class="panel">
|
||||
<div class="panel-title">
|
||||
<h2><span class="anticon anticon-shield"></span> '.$this->l('Suspect Order').''.($reputation['pass']!=0?' <span style="font-size:12px;" class="text-rose"><em>('.$this->l('Order validate manually').')</span></em>':'').'</h2>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="panel-content">';
|
||||
if (Tools::getIsset('validFraud')) {
|
||||
$id_order = Tools::getValue('id_order');
|
||||
if (!FraudCore::validOrder($id_order)) {
|
||||
$data .= '<br /><p class="alert">'.$this->l('Update impossible').'</p>';
|
||||
} else {
|
||||
$data .= '<br /><p class="conf">'.$this->l('Valid order with success').'</p>';
|
||||
}
|
||||
}
|
||||
if ($reputation['score'] >= 100) {
|
||||
$info = json_decode($reputation['report']);
|
||||
$data .= '
|
||||
<a class="btn btn-danger" role="button" data-toggle="collapse" href="#collapseFraudModule">
|
||||
<b>'.$this->l('Score : ').'</b> <span class="badge">'.$reputation['score'].'</span>
|
||||
</a>
|
||||
<div class="collapse" id="collapseFraudModule">
|
||||
<h4>'.$this->l('Details : ').'</h4>
|
||||
<p>'.implode('<br />', $info).'</p>
|
||||
</div>';
|
||||
if ($reputation['pass'] == 0) {
|
||||
$data .= '<a class="pull-right btn btn-primary btn-sm" onclick="if(!confirm(\'Voulez-vous valider la commande ? \')) return false;" href="'.$_SERVER['REQUEST_URI'].'&validFraud=1" class="button">'.$this->l('Valid Order').'</a>';
|
||||
}
|
||||
}
|
||||
$data .= '</div>
|
||||
</div>
|
||||
</div>';
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
||||
/* This method is called after the response returned by paybox */
|
||||
public function testPaybox($id_order, $ip_country)
|
||||
{
|
||||
|
@ -813,7 +813,7 @@ class AdminLogistics extends AdminTab {
|
||||
for(var i=0; i < loaded.logs.length; i++) {
|
||||
content += \'<tr>\
|
||||
<td>\' + loaded.logs[i].date_add + \'</td>\
|
||||
<td>\' + (loaded.logs[i].firstname == "Dropshipping"? "Dropshipping" : loaded.logs[i].firstname + \' \' + loaded.logs[i].lastname) + \'</td>\
|
||||
<td>\' + (loaded.logs[i].lastname == undefined? loaded.logs[i].firstname : loaded.logs[i].firstname + \' \' + loaded.logs[i].lastname) + \'</td>\
|
||||
<td>\' + loaded.logs[i].quantity + \'</td>\
|
||||
<td>\' + loaded.logs[i].product_name.replace(" - ", "<br />") + \'</td>\
|
||||
<td>\' + loaded.logs[i].product_reference + \'</td>\
|
||||
|
@ -227,24 +227,40 @@ if(($id_order = (int) Tools::getValue('id_order'))
|
||||
$link = new Link(2);
|
||||
$products = array();
|
||||
foreach($order->getProductsDetail() as $p) {
|
||||
$p['product_quantity_sent'] = (int) Db::getInstance()->getValue('
|
||||
SELECT IFNULL(SUM(`quantity`), 0) AS `total`
|
||||
$p['product_quantity_sent'] += (int) Db::getInstance()->getValue('
|
||||
SELECT IFNULL(SUM(`quantity`), 0)
|
||||
FROM `'._DB_PREFIX_.'lapostews`
|
||||
WHERE `id_order_detail` = '.(int) $p['id_order_detail'].'
|
||||
') + (int) Db::getInstance()->getValue('
|
||||
SELECT IFNULL(SUM(`quantity`), 0) AS `total`
|
||||
');
|
||||
$p['product_quantity_sent'] += (int) Db::getInstance()->getValue('
|
||||
SELECT IFNULL(SUM(`quantity`), 0)
|
||||
FROM `'._DB_PREFIX_.'exapaqws`
|
||||
WHERE `id_order_detail` = '.(int) $p['id_order_detail'].'
|
||||
');
|
||||
|
||||
/**
|
||||
* @Override MondialRelay
|
||||
*/
|
||||
$p['product_quantity_sent'] += (int) Db::getInstance()->getValue('
|
||||
SELECT IFNULL(SUM(`quantity`), 0) AS `total`
|
||||
SELECT IFNULL(SUM(`quantity`), 0)
|
||||
FROM `'._DB_PREFIX_.'mondialrelay_parcel`
|
||||
WHERE `id_order_detail` = ' . (int) $p['id_order_detail'] . '
|
||||
');
|
||||
/**
|
||||
* @Override Philea
|
||||
*/
|
||||
$p['product_quantity_sent'] += (int) Db::getInstance()->getValue('
|
||||
SELECT IFNULL(SUM(`quantity`), 0)
|
||||
FROM `'._DB_PREFIX_.'philea_parcel`
|
||||
WHERE `id_order_detail` = ' . (int) $p['id_order_detail'] . '
|
||||
');
|
||||
/**
|
||||
* @Override Dropshipping
|
||||
*/
|
||||
$p['product_quantity_sent'] += (int) Db::getInstance()->getValue('
|
||||
SELECT IFNULL(SUM(`quantity`), 0)
|
||||
FROM `'._DB_PREFIX_.'ant_dropshipping_parcel`
|
||||
WHERE `id_order_detail` = ' . (int) $p['id_order_detail'] . '
|
||||
');
|
||||
|
||||
$p['id_image'] = 0;
|
||||
|
||||
@ -345,6 +361,18 @@ if(($id_order = (int) Tools::getValue('id_order'))
|
||||
') as $row) {
|
||||
$shipping_numbers[] = '"'.pSQL($row['shipping_number']).'"';
|
||||
}
|
||||
/*
|
||||
* @Override Philea
|
||||
*/
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`shipping_number`
|
||||
FROM `'._DB_PREFIX_.'philea_parcel` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (d.`id_order_detail` = l.`id_order_detail`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_history` h ON (h.`id_order` = d.`id_order`)
|
||||
WHERE h.`id_order` = '.(int) $order->id.'
|
||||
') as $row) {
|
||||
$shipping_numbers[] = '"'.pSQL($row['shipping_number']).'"';
|
||||
}
|
||||
|
||||
if(((int) $p['product_quantity_sent'] === 0)
|
||||
&& Db::getInstance()->getRow('
|
||||
@ -427,6 +455,21 @@ if(($id_order = (int) Tools::getValue('id_order'))
|
||||
')) {
|
||||
$logs = array_merge($logs, $l);
|
||||
}
|
||||
/*
|
||||
* @Override Philea
|
||||
*/
|
||||
if($l = Db::getInstance()->ExecuteS('
|
||||
SELECT l.*, d.`product_name`, d.`product_reference`, d.`product_supplier_reference`, "Philea" as firstname, c.`name` as carrier
|
||||
FROM `'._DB_PREFIX_.'philea_parcel` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON d.`id_order_detail` = l.`id_order_detail`
|
||||
LEFT JOIN `'._DB_PREFIX_.'orders` o ON o.`id_order` = d.`id_order`
|
||||
LEFT JOIN `'._DB_PREFIX_.'carrier` c ON c.`id_carrier` = o.`id_carrier`
|
||||
WHERE l.`id_order_detail` IN ('.implode(', ', $id_order_details).')
|
||||
AND l.`quantity` > 0
|
||||
ORDER BY l.`date_add` DESC
|
||||
')) {
|
||||
$logs = array_merge($logs, $l);
|
||||
}
|
||||
} else {
|
||||
$logs = array();
|
||||
}
|
||||
|
@ -1,526 +1,526 @@
|
||||
<?php
|
||||
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
|
||||
$_SERVER['HTTP_HOST'] = 'www.bebeboutik.com';
|
||||
include('../../../config/settings.inc.php');
|
||||
include('../../../config/config.inc.php');
|
||||
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
|
||||
$_SERVER['HTTP_HOST'] = 'www.bebeboutik.com';
|
||||
include('../../../config/settings.inc.php');
|
||||
include('../../../config/config.inc.php');
|
||||
|
||||
|
||||
include( dirname(__FILE__) . '/../philea_magistor.php');
|
||||
global $regex_file_in;
|
||||
$regex_file_in = '@^CRE(.*)\.(BAL|DAT)@';
|
||||
@ini_set('display_errors', 'on');
|
||||
$magistorModule = new philea_magistor();
|
||||
include( dirname(__FILE__) . '/../philea_magistor.php');
|
||||
global $regex_file_in;
|
||||
$regex_file_in = '@^CRE(.*)\.(BAL|DAT)@';
|
||||
@ini_set('display_errors', 'on');
|
||||
$magistorModule = new philea_magistor();
|
||||
|
||||
|
||||
//$id_shipping = 4; // PHILEA
|
||||
//$id_shipping = 1; // PHILEA
|
||||
|
||||
$CRE = array(
|
||||
'OP_CODE' => array(1,10),
|
||||
'CODE_SOC' => array(11,20),
|
||||
'NO_CLIENT' => array(31,8),
|
||||
'N_CDE' => array(39,50),
|
||||
'NO_COLIS' => array(89,50),
|
||||
'NO_TRACKING' => array(139,50),
|
||||
'NO_EXPEDITION' => array(189,50),
|
||||
'DATE_EXPED' => array(239,8),
|
||||
'TRANSPORTEUR' => array(247,50),
|
||||
'CODE_ART' => array(297, 50),
|
||||
'QTE' => array(347, 10),
|
||||
);
|
||||
$CRE = array(
|
||||
'OP_CODE' => array(1,10),
|
||||
'CODE_SOC' => array(11,20),
|
||||
'NO_CLIENT' => array(31,8),
|
||||
'N_CDE' => array(39,50),
|
||||
'NO_COLIS' => array(89,50),
|
||||
'NO_TRACKING' => array(139,50),
|
||||
'NO_EXPEDITION' => array(189,50),
|
||||
'DATE_EXPED' => array(239,8),
|
||||
'TRANSPORTEUR' => array(247,50),
|
||||
'CODE_ART' => array(297, 50),
|
||||
'QTE' => array(347, 10),
|
||||
);
|
||||
|
||||
$tab_conversion_carrier = philea_magistor::getTabState();
|
||||
$tab_conversion_carrier = philea_magistor::getTabState();
|
||||
|
||||
$socol_to_magistor = array(
|
||||
'DOM' => 'SOCOLMDSS',
|
||||
'DOS' => 'SOCOLMDS',
|
||||
'RDV' => 'SOCOLMRDV',
|
||||
'CIT' => 'SOCOLCITY',
|
||||
'BPR' => 'SOCOLMBP',
|
||||
'CDI' => 'SOCOLMBP',
|
||||
'A2P' => 'SOCOLMC',
|
||||
'ACP' => 'SOCOLMBP',
|
||||
);
|
||||
$socol_to_magistor = array(
|
||||
'DOM' => 'SOCOLMDSS',
|
||||
'DOS' => 'SOCOLMDS',
|
||||
'RDV' => 'SOCOLMRDV',
|
||||
'CIT' => 'SOCOLCITY',
|
||||
'BPR' => 'SOCOLMBP',
|
||||
'CDI' => 'SOCOLMBP',
|
||||
'A2P' => 'SOCOLMC',
|
||||
'ACP' => 'SOCOLMBP',
|
||||
);
|
||||
|
||||
$mr_to_magistor = array(
|
||||
'24R' => 'MRMDSS', // Point relais
|
||||
'DRI' => 'MRMDS', // Colis drive
|
||||
'LD1' => 'MRMRDV', // Domicile RDC (1 pers)
|
||||
'LDS' => 'MRCITY', // Domicile spé (2 pers)
|
||||
'HOM' => 'MRMBP', // Domicile spé
|
||||
);
|
||||
$mr_to_magistor = array(
|
||||
'24R' => 'MRMDSS', // Point relais
|
||||
'DRI' => 'MRMDS', // Colis drive
|
||||
'LD1' => 'MRMRDV', // Domicile RDC (1 pers)
|
||||
'LDS' => 'MRCITY', // Domicile spé (2 pers)
|
||||
'HOM' => 'MRMBP', // Domicile spé
|
||||
);
|
||||
|
||||
$format = $CRE;
|
||||
if($magistorModule->active) {
|
||||
require_once('connection_ftp.php');
|
||||
@set_time_limit(0);
|
||||
$format = $CRE;
|
||||
if($magistorModule->active) {
|
||||
require_once('connection_ftp.php');
|
||||
@set_time_limit(0);
|
||||
|
||||
// Checking for ".bal" files with a "CRE" prefix that has an equivalent ".dat" file and process them...
|
||||
$inFolder = dirname(__FILE__) . '/IN/';
|
||||
// Checking for ".bal" files with a "CRE" prefix that has an equivalent ".dat" file and process them...
|
||||
$inFolder = dirname(__FILE__) . '/IN/';
|
||||
|
||||
$iterator = new DirectoryIterator($inFolder);
|
||||
$id_order_state = Configuration::get('PHILEA_MAGISTOR_STATUS_CRE');
|
||||
$iterator = new DirectoryIterator($inFolder);
|
||||
$id_order_state = Configuration::get('PHILEA_MAGISTOR_STATUS_CRE');
|
||||
|
||||
foreach ($iterator as $fileinfo) {
|
||||
if ($fileinfo->isFile()) {
|
||||
if( preg_match('@^CRE(.*)\.BAL@', $fileinfo->getFilename())) {
|
||||
$datFile = $fileinfo->getPath() . '/' . preg_replace( '@BAL$@', 'DAT', $fileinfo->getFilename() );
|
||||
foreach ($iterator as $fileinfo) {
|
||||
if ($fileinfo->isFile()) {
|
||||
if( preg_match('@^CRE(.*)\.BAL@', $fileinfo->getFilename())) {
|
||||
$datFile = $fileinfo->getPath() . '/' . preg_replace( '@BAL$@', 'DAT', $fileinfo->getFilename() );
|
||||
|
||||
if(file_exists($datFile)) {
|
||||
$content = file_get_contents($datFile);
|
||||
$lines = preg_split('@\n@',$content);
|
||||
if(file_exists($datFile)) {
|
||||
$content = file_get_contents($datFile);
|
||||
$lines = preg_split('@\n@',$content);
|
||||
|
||||
$id_order_details = array();
|
||||
$shipping_numbers = array();
|
||||
$parcel_carrier = array();
|
||||
if(!empty($lines)) {
|
||||
$details = array();
|
||||
$order_details = array();
|
||||
$id_order_details = array();
|
||||
$shipping_numbers = array();
|
||||
$parcel_carrier = array();
|
||||
if(!empty($lines)) {
|
||||
$details = array();
|
||||
$order_details = array();
|
||||
|
||||
// GET DATA
|
||||
foreach( $lines as $line ) {
|
||||
// GET DATA
|
||||
foreach( $lines as $line ) {
|
||||
|
||||
$data = array();
|
||||
foreach($format as $field=>$value) {
|
||||
$data[] = substr($line, ($value[0]-1), $value[1]);
|
||||
}
|
||||
$data = array();
|
||||
foreach($format as $field=>$value) {
|
||||
$data[] = substr($line, ($value[0]-1), $value[1]);
|
||||
}
|
||||
|
||||
if(!isset($data[2]) || (isset($data[2]) && !$data[2])){
|
||||
if(!isset($data[2]) || (isset($data[2]) && !$data[2])){
|
||||
continue;
|
||||
}
|
||||
|
||||
$id_sale = 0;
|
||||
$id_order = (string) $data[3];
|
||||
if(substr($id_order, 0, 2) == 'OP') {
|
||||
$id_order = explode('-', $id_order);
|
||||
if(count($id_order) < 2) {
|
||||
continue;
|
||||
}
|
||||
$id_sale = (int) str_replace('OP', '', $id_order[0]);
|
||||
$id_order = (int) $id_order[1];
|
||||
} else {
|
||||
$id_order = (int) $id_order;
|
||||
}
|
||||
|
||||
$id_sale = 0;
|
||||
$id_order = (string) $data[3];
|
||||
if(substr($id_order, 0, 2) == 'OP') {
|
||||
$id_order = explode('-', $id_order);
|
||||
if(count($id_order) < 2) {
|
||||
continue;
|
||||
}
|
||||
$id_sale = (int) str_replace('OP', '', $id_order[0]);
|
||||
$id_order = (int) $id_order[1];
|
||||
} else {
|
||||
$id_order = (int) $id_order;
|
||||
if(!isset($details[(int)$id_order])){
|
||||
$details[(int)$id_order] = array();
|
||||
}
|
||||
|
||||
$code_art = explode("_", trim($data[9]));
|
||||
if(count($code_art)>1) {
|
||||
list($id_product, $id_attribute) = $code_art;
|
||||
} else {
|
||||
$id_product = $code_art[0];
|
||||
$id_attribute = 0;
|
||||
}
|
||||
|
||||
$order = new Order((int) $id_order);
|
||||
|
||||
// GET CARRIER ID
|
||||
$carrier_found = false;
|
||||
$id_active_carrier = false;
|
||||
$id_inactive_carrier = false;
|
||||
if (isset($data[8]) && $data[8]){
|
||||
$carrier_name = trim($data[8]);
|
||||
if($carrier_name == 'COLINT') {
|
||||
$carrier_name = 'SOCOLMDSS';
|
||||
}
|
||||
|
||||
if(!isset($details[(int)$id_order])){
|
||||
$details[(int)$id_order] = array();
|
||||
}
|
||||
|
||||
$code_art = explode("_", trim($data[9]));
|
||||
if(count($code_art)>1) {
|
||||
list($id_product, $id_attribute) = $code_art;
|
||||
} else {
|
||||
$id_product = $code_art[0];
|
||||
$id_attribute = 0;
|
||||
}
|
||||
|
||||
$order = new Order((int) $id_order);
|
||||
|
||||
// GET CARRIER ID
|
||||
$carrier_found = false;
|
||||
$id_active_carrier = false;
|
||||
$id_inactive_carrier = false;
|
||||
if (isset($data[8]) && $data[8]){
|
||||
$carrier_name = trim($data[8]);
|
||||
if($carrier_name == 'COLINT') {
|
||||
$carrier_name = 'SOCOLMDSS';
|
||||
}
|
||||
$carriers = philea_magistor::getCarriersIdByRef($carrier_name);
|
||||
if ($carriers){
|
||||
foreach ($carriers as $carrier) {
|
||||
if ($carrier['name'] == 'GLS' && $carrier_name == 'DPD') {
|
||||
continue;
|
||||
}
|
||||
if ($carrier['active'] == 1 && $carrier['deleted'] == 0) {
|
||||
$id_active_carrier = (int) $carrier['id_carrier'];
|
||||
}
|
||||
if ($carrier['active'] == 0 && $carrier['deleted'] == 0) {
|
||||
$id_inactive_carrier = (int) $carrier['id_carrier'];
|
||||
}
|
||||
if ((int) $order->id_carrier == (int) $carrier['id_carrier']){
|
||||
$carrier_found = (int) $order->id_carrier;
|
||||
}
|
||||
$carriers = philea_magistor::getCarriersIdByRef($carrier_name);
|
||||
if ($carriers){
|
||||
foreach ($carriers as $carrier) {
|
||||
if ($carrier['name'] == 'GLS' && $carrier_name == 'DPD') {
|
||||
continue;
|
||||
}
|
||||
if ($carrier['active'] == 1 && $carrier['deleted'] == 0) {
|
||||
$id_active_carrier = (int) $carrier['id_carrier'];
|
||||
}
|
||||
if ($carrier['active'] == 0 && $carrier['deleted'] == 0) {
|
||||
$id_inactive_carrier = (int) $carrier['id_carrier'];
|
||||
}
|
||||
if ((int) $order->id_carrier == (int) $carrier['id_carrier']){
|
||||
$carrier_found = (int) $order->id_carrier;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($carrier_found)
|
||||
$id_carrier = (int) $carrier_found;
|
||||
elseif ($id_active_carrier)
|
||||
$id_carrier = (int) $id_active_carrier;
|
||||
elseif ($id_inactive_carrier)
|
||||
$id_carrier = (int) $id_inactive_carrier;
|
||||
else
|
||||
$id_carrier = (int) $order->id_carrier;
|
||||
if ($carrier_found)
|
||||
$id_carrier = (int) $carrier_found;
|
||||
elseif ($id_active_carrier)
|
||||
$id_carrier = (int) $id_active_carrier;
|
||||
elseif ($id_inactive_carrier)
|
||||
$id_carrier = (int) $id_inactive_carrier;
|
||||
else
|
||||
$id_carrier = (int) $order->id_carrier;
|
||||
|
||||
if(isset($id_carrier) && $id_carrier) {
|
||||
$parcel_carrier[(int) $id_order.'|'.trim($data[5])] = $id_carrier;
|
||||
}
|
||||
if(isset($id_carrier) && $id_carrier) {
|
||||
$parcel_carrier[(int) $id_order.'|'.trim($data[5])] = $id_carrier;
|
||||
}
|
||||
|
||||
$shipping_numbers[] = '"'.pSQL(trim($data[5])).'"';
|
||||
$shipping_numbers[] = '"'.pSQL(trim($data[5])).'"';
|
||||
|
||||
if(!isset($details[(int)$id_order][$id_product.'_'.$id_attribute])) {
|
||||
$details[(int)$id_order][$id_product.'_'.$id_attribute] = array(
|
||||
'shipping_numbers' => array(),
|
||||
'quantity' => 0
|
||||
);
|
||||
}
|
||||
$details[(int)$id_order][$id_product.'_'.$id_attribute]['quantity'] += (int) trim($data[10]);
|
||||
$details[(int)$id_order][$id_product.'_'.$id_attribute]['shipping_numbers'][] = array(
|
||||
'number' => trim($data[5]),
|
||||
'date' => pSQL(substr($data[7], 0, 4).'-'.substr($data[7], 4, 2).'-'.substr($data[7], 6, 2).' 18:00:00'),
|
||||
'quantity' => (int) trim($data[10])
|
||||
if(!isset($details[(int)$id_order][$id_product.'_'.$id_attribute])) {
|
||||
$details[(int)$id_order][$id_product.'_'.$id_attribute] = array(
|
||||
'shipping_numbers' => array(),
|
||||
'quantity' => 0
|
||||
);
|
||||
}
|
||||
$details[(int)$id_order][$id_product.'_'.$id_attribute]['quantity'] += (int) trim($data[10]);
|
||||
$details[(int)$id_order][$id_product.'_'.$id_attribute]['shipping_numbers'][] = array(
|
||||
'number' => trim($data[5]),
|
||||
'date' => pSQL(substr($data[7], 0, 4).'-'.substr($data[7], 4, 2).'-'.substr($data[7], 6, 2).' 18:00:00'),
|
||||
'quantity' => (int) trim($data[10])
|
||||
);
|
||||
|
||||
if(!isset($order_details[(int)$id_order])){
|
||||
$order_details[(int)$id_order] = array();
|
||||
if(!isset($order_details[(int)$id_order])){
|
||||
$order_details[(int)$id_order] = array();
|
||||
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT DISTINCT `id_order_detail`, `product_id`, `product_attribute_id`, `product_quantity` - GREATEST(`product_quantity_return`, `product_quantity_refunded`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'order_detail`
|
||||
WHERE `id_order` = '.(int) $id_order.'
|
||||
') as $key => $row) {
|
||||
$sent = (int) Db::getInstance()->getValue('
|
||||
SELECT SUM(`quantity`)
|
||||
FROM `'._DB_PREFIX_.'philea_parcel`
|
||||
WHERE `id_order_detail` = '.(int) $row['id_order_detail'].'
|
||||
');
|
||||
$id_order_details[] = (int) $row['id_order_detail'];
|
||||
if(Pack::isPack((int)$row['product_id'])) {
|
||||
$items = Pack::getSimplePack($row['product_id']);
|
||||
foreach($items as $item) {
|
||||
if(!isset($order_details[(int)$id_order][$item['id_product_item'].'_0'])) {
|
||||
$order_details[(int)$id_order][$item['id_product_item'].'_0'] = array(
|
||||
'id_order_details' => array(),
|
||||
'quantity_to_sent' => 0
|
||||
);
|
||||
}
|
||||
$order_details[$id_order][$item['id_product_item'].'_0']['quantity_to_sent'] += (($row['quantity'] - $sent) * $item['quantity']);
|
||||
$order_details[$id_order][$item['id_product_item'].'_0']['id_order_details'][$row['id_order_detail']] = array(
|
||||
'detail_quantity' => ($row['quantity'] - $sent),
|
||||
'id_order_detail' => $row['id_order_detail']
|
||||
);
|
||||
}
|
||||
} else {
|
||||
if(!isset($order_details[(int)$id_order][$row['product_id'].'_'.$row['product_attribute_id']])) {
|
||||
$order_details[(int)$id_order][$row['product_id'].'_'.$row['product_attribute_id']] = array(
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT DISTINCT `id_order_detail`, `product_id`, `product_attribute_id`, `product_quantity` - GREATEST(`product_quantity_return`, `product_quantity_refunded`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'order_detail`
|
||||
WHERE `id_order` = '.(int) $id_order.'
|
||||
') as $key => $row) {
|
||||
$sent = (int) Db::getInstance()->getValue('
|
||||
SELECT SUM(`quantity`)
|
||||
FROM `'._DB_PREFIX_.'philea_parcel`
|
||||
WHERE `id_order_detail` = '.(int) $row['id_order_detail'].'
|
||||
');
|
||||
$id_order_details[] = (int) $row['id_order_detail'];
|
||||
if(Pack::isPack((int)$row['product_id'])) {
|
||||
$items = Pack::getSimplePack($row['product_id']);
|
||||
foreach($items as $item) {
|
||||
if(!isset($order_details[(int)$id_order][$item['id_product_item'].'_0'])) {
|
||||
$order_details[(int)$id_order][$item['id_product_item'].'_0'] = array(
|
||||
'id_order_details' => array(),
|
||||
'quantity_to_sent' => 0
|
||||
);
|
||||
}
|
||||
$order_details[(int)$id_order][$row['product_id'].'_'.$row['product_attribute_id']]['quantity_to_sent'] += ($row['quantity'] - $sent);
|
||||
$order_details[(int)$id_order][$row['product_id'].'_'.$row['product_attribute_id']]['id_order_details'][$row['id_order_detail']] = array(
|
||||
$order_details[$id_order][$item['id_product_item'].'_0']['quantity_to_sent'] += (($row['quantity'] - $sent) * $item['quantity']);
|
||||
$order_details[$id_order][$item['id_product_item'].'_0']['id_order_details'][$row['id_order_detail']] = array(
|
||||
'detail_quantity' => ($row['quantity'] - $sent),
|
||||
'id_order_detail' => $row['id_order_detail']
|
||||
);
|
||||
}
|
||||
} else {
|
||||
if(!isset($order_details[(int)$id_order][$row['product_id'].'_'.$row['product_attribute_id']])) {
|
||||
$order_details[(int)$id_order][$row['product_id'].'_'.$row['product_attribute_id']] = array(
|
||||
'id_order_details' => array(),
|
||||
'quantity_to_sent' => 0
|
||||
);
|
||||
}
|
||||
$order_details[(int)$id_order][$row['product_id'].'_'.$row['product_attribute_id']]['quantity_to_sent'] += ($row['quantity'] - $sent);
|
||||
$order_details[(int)$id_order][$row['product_id'].'_'.$row['product_attribute_id']]['id_order_details'][$row['id_order_detail']] = array(
|
||||
'detail_quantity' => ($row['quantity'] - $sent),
|
||||
'id_order_detail' => $row['id_order_detail']
|
||||
);
|
||||
}
|
||||
}
|
||||
} // end foreach lines
|
||||
}
|
||||
} // end foreach lines
|
||||
|
||||
foreach($order_details as $order => $order_detail){
|
||||
foreach ($order_detail as $key => $product) {
|
||||
if(isset($details[(int)$order][$key])) {
|
||||
if($details[(int)$order][$key]['quantity'] <= $product['quantity_to_sent']) {
|
||||
if(count($details[(int)$order][$key]['shipping_numbers'])>1) {
|
||||
foreach($details[(int)$order][$key]['shipping_numbers'] as $shipping_number) {
|
||||
foreach($product['id_order_details'] as $id_order_detail => $row) {
|
||||
Db::getInstance()->ExecuteS('
|
||||
INSERT INTO `'._DB_PREFIX_.'philea_parcel`
|
||||
VALUES (
|
||||
'.(int) $id_order_detail.',
|
||||
'.(int) $row['detail_quantity'].',
|
||||
"'.pSQL(trim($shipping_number['number'])).'",
|
||||
"'.$shipping_number['date'].'"
|
||||
)
|
||||
');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
foreach($order_details as $order => $order_detail){
|
||||
foreach ($order_detail as $key => $product) {
|
||||
if(isset($details[(int)$order][$key])) {
|
||||
if($details[(int)$order][$key]['quantity'] <= $product['quantity_to_sent']) {
|
||||
if(count($details[(int)$order][$key]['shipping_numbers'])>1) {
|
||||
foreach($details[(int)$order][$key]['shipping_numbers'] as $shipping_number) {
|
||||
foreach($product['id_order_details'] as $id_order_detail => $row) {
|
||||
Db::getInstance()->ExecuteS('
|
||||
INSERT INTO `'._DB_PREFIX_.'philea_parcel`
|
||||
VALUES (
|
||||
'.(int) $id_order_detail.',
|
||||
'.(int) $row['detail_quantity'].',
|
||||
"'.pSQL($details[(int)$order][$key]['shipping_numbers'][0]['number']).'",
|
||||
"'.$details[(int)$order][$key]['shipping_numbers'][0]['date'].'"
|
||||
"'.pSQL(trim($shipping_number['number'])).'",
|
||||
"'.$shipping_number['date'].'"
|
||||
)
|
||||
');
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// $message = "Commande : ".$order."\r\n Produit : ".$key."\r\n Quantity to sent : ".$product['quantity_to_sent']."\r\n Quantity : ".$details[(int)$order][$key]['quantity'];
|
||||
// mail('marion@antadis.com', '[BBB] Erreurs quantity expe Philea', $message);
|
||||
foreach($product['id_order_details'] as $id_order_detail => $row) {
|
||||
Db::getInstance()->ExecuteS('
|
||||
INSERT INTO `'._DB_PREFIX_.'philea_parcel`
|
||||
VALUES (
|
||||
'.(int) $id_order_detail.',
|
||||
'.(int) $row['detail_quantity'].',
|
||||
"'.pSQL($details[(int)$order][$key]['shipping_numbers'][0]['number']).'",
|
||||
"'.$details[(int)$order][$key]['shipping_numbers'][0]['date'].'"
|
||||
)
|
||||
');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// $message = "Commande : ".$order."\r\n Produit : ".$key."\r\n Produit non présent dans le fichier expe philea";
|
||||
// mail('marion@antadis.com', '[BBB] Erreurs produit expe Philea', $message);
|
||||
// $message = "Commande : ".$order."\r\n Produit : ".$key."\r\n Quantity to sent : ".$product['quantity_to_sent']."\r\n Quantity : ".$details[(int)$order][$key]['quantity'];
|
||||
// mail('marion@antadis.com', '[BBB] Erreurs quantity expe Philea', $message);
|
||||
}
|
||||
} else {
|
||||
// $message = "Commande : ".$order."\r\n Produit : ".$key."\r\n Produit non présent dans le fichier expe philea";
|
||||
// mail('marion@antadis.com', '[BBB] Erreurs produit expe Philea', $message);
|
||||
}
|
||||
}
|
||||
unset($details);
|
||||
unset($order_details);
|
||||
} // end if lines
|
||||
}
|
||||
unset($details);
|
||||
unset($order_details);
|
||||
} // end if lines
|
||||
|
||||
$id_order_details = array_unique($id_order_details);
|
||||
$shipping_numbers = array_unique($shipping_numbers);
|
||||
$id_order_details = array_unique($id_order_details);
|
||||
$shipping_numbers = array_unique($shipping_numbers);
|
||||
|
||||
if(count($id_order_details) > 0) {
|
||||
$id_orders = array();
|
||||
$orders_infos = array();
|
||||
if(count($id_order_details) > 0) {
|
||||
$id_orders = array();
|
||||
$orders_infos = array();
|
||||
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT d.`id_order`, p.`shipping_number`, p.`date_add`
|
||||
FROM `'._DB_PREFIX_.'philea_parcel` p
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (p.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order_detail` IN ('.implode(', ', $id_order_details).')
|
||||
AND p.`shipping_number` IN ('.implode(', ', $shipping_numbers).')
|
||||
GROUP BY d.`id_order`, p.`shipping_number`
|
||||
') as $row) {
|
||||
Db::getInstance()->ExecuteS('
|
||||
INSERT INTO `'._DB_PREFIX_.'shipping_history`
|
||||
VALUES (
|
||||
'.(int) $row['id_order'].',
|
||||
"'.pSQL($row['shipping_number']).'",
|
||||
"'.pSQL($row['date_add']).'",
|
||||
'.(int) $parcel_carrier[(int) $row['id_order'].'|'.$row['shipping_number']].',
|
||||
0
|
||||
)
|
||||
');
|
||||
|
||||
$id_orders[] = (int) $row['id_order'];
|
||||
if(!isset($orders_infos[(int) $row['id_order']])) {
|
||||
$orders_infos[(int) $row['id_order']] = array();
|
||||
}
|
||||
$orders_infos[(int) $row['id_order']][] = array($row['shipping_number'], $row['date_add'], (int) $parcel_carrier[(int) $row['id_order'].'|'.$row['shipping_number']]);
|
||||
}
|
||||
|
||||
$id_orders = array_unique($id_orders);
|
||||
|
||||
$products = Db::getInstance()->ExecuteS('
|
||||
SELECT d.`id_order_detail`, d.`id_order`, c.`id_sale`, d.`product_quantity` - GREATEST(d.`product_quantity_refunded`, d.`product_quantity_return`) AS `quantity`
|
||||
FROM ps_order_detail d
|
||||
LEFT JOIN `'._DB_PREFIX_.'product_ps_cache` c ON (d.`product_id` = c.`id_product`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT d.`id_order`, p.`shipping_number`, p.`date_add`
|
||||
FROM `'._DB_PREFIX_.'philea_parcel` p
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (p.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order_detail` IN ('.implode(', ', $id_order_details).')
|
||||
AND p.`shipping_number` IN ('.implode(', ', $shipping_numbers).')
|
||||
GROUP BY d.`id_order`, p.`shipping_number`
|
||||
') as $row) {
|
||||
Db::getInstance()->ExecuteS('
|
||||
INSERT INTO `'._DB_PREFIX_.'shipping_history`
|
||||
VALUES (
|
||||
'.(int) $row['id_order'].',
|
||||
"'.pSQL($row['shipping_number']).'",
|
||||
"'.pSQL($row['date_add']).'",
|
||||
'.(int) $parcel_carrier[(int) $row['id_order'].'|'.$row['shipping_number']].',
|
||||
0
|
||||
)
|
||||
');
|
||||
|
||||
$sent_sales = array();
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT `id_order`, `id_sale`
|
||||
FROM `'._DB_PREFIX_.'shipping_history`
|
||||
WHERE `id_order` IN ('.implode(', ', $id_orders).')
|
||||
AND `id_sale` != 0
|
||||
GROUP BY `id_order`, `id_sale`
|
||||
') as $row) {
|
||||
if(!isset($sent_sales[(int) $row['id_order']])) {
|
||||
$sent_sales[(int) $row['id_order']] = array();
|
||||
}
|
||||
$sent_sales[(int) $row['id_order']][] = (int) $row['id_sale'];
|
||||
$id_orders[] = (int) $row['id_order'];
|
||||
if(!isset($orders_infos[(int) $row['id_order']])) {
|
||||
$orders_infos[(int) $row['id_order']] = array();
|
||||
}
|
||||
$orders_infos[(int) $row['id_order']][] = array($row['shipping_number'], $row['date_add'], (int) $parcel_carrier[(int) $row['id_order'].'|'.$row['shipping_number']]);
|
||||
}
|
||||
|
||||
$to_send = array();
|
||||
foreach($products as $product) {
|
||||
if ((int) $product['quantity'] > 0
|
||||
&& (!isset($sent_sales[(int) $product['id_order']])
|
||||
|| !in_array((int) $product['id_sale'], $sent_sales[(int) $product['id_order']]))) {
|
||||
$to_send[] = $product;
|
||||
$id_orders = array_unique($id_orders);
|
||||
|
||||
$products = Db::getInstance()->ExecuteS('
|
||||
SELECT d.`id_order_detail`, d.`id_order`, c.`id_sale`, d.`product_quantity` - GREATEST(d.`product_quantity_refunded`, d.`product_quantity_return`) AS `quantity`
|
||||
FROM ps_order_detail d
|
||||
LEFT JOIN `'._DB_PREFIX_.'product_ps_cache` c ON (d.`product_id` = c.`id_product`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
');
|
||||
|
||||
$sent_sales = array();
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT `id_order`, `id_sale`
|
||||
FROM `'._DB_PREFIX_.'shipping_history`
|
||||
WHERE `id_order` IN ('.implode(', ', $id_orders).')
|
||||
AND `id_sale` != 0
|
||||
GROUP BY `id_order`, `id_sale`
|
||||
') as $row) {
|
||||
if(!isset($sent_sales[(int) $row['id_order']])) {
|
||||
$sent_sales[(int) $row['id_order']] = array();
|
||||
}
|
||||
$sent_sales[(int) $row['id_order']][] = (int) $row['id_sale'];
|
||||
}
|
||||
|
||||
$to_send = array();
|
||||
foreach($products as $product) {
|
||||
if ((int) $product['quantity'] > 0
|
||||
&& (!isset($sent_sales[(int) $product['id_order']])
|
||||
|| !in_array((int) $product['id_sale'], $sent_sales[(int) $product['id_order']]))) {
|
||||
$to_send[] = $product;
|
||||
}
|
||||
}
|
||||
|
||||
unset($products);
|
||||
|
||||
$sent_products = array();
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`id_order_detail`, SUM(l.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'lapostews` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (l.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
GROUP BY l.`id_order_detail`
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
}
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`id_order_detail`, SUM(l.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'mondialrelay_parcel` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (l.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
GROUP BY l.`id_order_detail`
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
}
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`id_order_detail`, SUM(l.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'philea_parcel` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (l.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
GROUP BY l.`id_order_detail`
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
}
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`id_order_detail`, SUM(l.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'ant_dropshipping_parcel` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (l.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
GROUP BY l.`id_order_detail`
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
}
|
||||
|
||||
$orders_to_send = array();
|
||||
$orders_list = array();
|
||||
|
||||
$total = count($to_send);
|
||||
|
||||
foreach($to_send as $product) {
|
||||
if(!in_array((int) $product['id_order'], $orders_list)) {
|
||||
$orders_list[] = (int) $product['id_order'];
|
||||
}
|
||||
if(!in_array((int) $product['id_order'], $orders_to_send)) {
|
||||
if(!isset($sent_products[(int) $product['id_order_detail']])
|
||||
|| $product['quantity'] > $sent_products[(int) $product['id_order_detail']]) {
|
||||
$orders_to_send[] = (int) $product['id_order'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unset($products);
|
||||
unset($sent_products);
|
||||
unset($to_send);
|
||||
|
||||
$sent_products = array();
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`id_order_detail`, SUM(l.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'lapostews` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (l.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
GROUP BY l.`id_order_detail`
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
$orders_sent = array();
|
||||
foreach($orders_list as $order) {
|
||||
if(!in_array($order, $orders_to_send)) {
|
||||
$orders_sent[] = $order;
|
||||
}
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`id_order_detail`, SUM(l.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'mondialrelay_parcel` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (l.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
GROUP BY l.`id_order_detail`
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
}
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`id_order_detail`, SUM(l.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'philea_parcel` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (l.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
GROUP BY l.`id_order_detail`
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
}
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`id_order_detail`, SUM(l.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'ant_dropshipping_parcel` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (l.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
GROUP BY l.`id_order_detail`
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
}
|
||||
|
||||
unset($orders_list);
|
||||
|
||||
$status_sent = array();
|
||||
$status_partially_sent = array();
|
||||
|
||||
foreach($orders_sent as $order) {
|
||||
if((int) Db::getInstance()->getValue('
|
||||
SELECT `id_order_state`
|
||||
FROM `'._DB_PREFIX_.'order_history`
|
||||
WHERE `id_order` = '.(int) $order.'
|
||||
ORDER BY `date_add` DESC LIMIT 1
|
||||
') != 4) {
|
||||
$status_sent[] = (int) $order;
|
||||
}
|
||||
}
|
||||
|
||||
$orders_to_send = array();
|
||||
$orders_list = array();
|
||||
|
||||
$total = count($to_send);
|
||||
|
||||
foreach($to_send as $product) {
|
||||
if(!in_array((int) $product['id_order'], $orders_list)) {
|
||||
$orders_list[] = (int) $product['id_order'];
|
||||
}
|
||||
if(!in_array((int) $product['id_order'], $orders_to_send)) {
|
||||
if(!isset($sent_products[(int) $product['id_order_detail']])
|
||||
|| $product['quantity'] > $sent_products[(int) $product['id_order_detail']]) {
|
||||
$orders_to_send[] = (int) $product['id_order'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unset($sent_products);
|
||||
unset($to_send);
|
||||
|
||||
$orders_sent = array();
|
||||
foreach($orders_list as $order) {
|
||||
if(!in_array($order, $orders_to_send)) {
|
||||
$orders_sent[] = $order;
|
||||
}
|
||||
}
|
||||
|
||||
unset($orders_list);
|
||||
|
||||
$status_sent = array();
|
||||
$status_partially_sent = array();
|
||||
|
||||
foreach($orders_sent as $order) {
|
||||
if((int) Db::getInstance()->getValue('
|
||||
foreach($id_orders as $order) {
|
||||
if(!in_array($order, $status_sent)) {
|
||||
if(!in_array((int) Db::getInstance()->getValue('
|
||||
SELECT `id_order_state`
|
||||
FROM `'._DB_PREFIX_.'order_history`
|
||||
WHERE `id_order` = '.(int) $order.'
|
||||
ORDER BY `date_add` DESC LIMIT 1
|
||||
') != 4) {
|
||||
$status_sent[] = (int) $order;
|
||||
}
|
||||
}
|
||||
|
||||
foreach($id_orders as $order) {
|
||||
if(!in_array($order, $status_sent)) {
|
||||
if(!in_array((int) Db::getInstance()->getValue('
|
||||
SELECT `id_order_state`
|
||||
FROM `'._DB_PREFIX_.'order_history`
|
||||
WHERE `id_order` = '.(int) $order.'
|
||||
ORDER BY `date_add` DESC LIMIT 1
|
||||
'), array(4, 17, 9, 19))) {
|
||||
$status_partially_sent[] = (int) $order;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unset($orders_sent);
|
||||
unset($orders_to_send);
|
||||
|
||||
foreach($orders_infos as $id_order => $parcels) {
|
||||
$order = new Order($id_order);
|
||||
$customer = new Customer((int) $order->id_customer);
|
||||
|
||||
foreach($parcels as $parcel) {
|
||||
$products_sent = '';
|
||||
|
||||
$products_names = array();
|
||||
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT d.`id_order_detail`, d.`product_name`, SUM(p.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'philea_parcel` p
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (p.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` = '.(int) $id_order.'
|
||||
AND p.`shipping_number` = "'.pSQL($parcel[0]).'"
|
||||
AND p.`date_add` = "'.pSQL($parcel[1]).'"
|
||||
GROUP BY d.`id_order_detail`
|
||||
') as $p) {
|
||||
$products_sent .= '<br />'."\r\n".$p['quantity'].' x '.$p['product_name'];
|
||||
}
|
||||
|
||||
$carrier = new Carrier($parcel[2], (int) $order->id_lang);
|
||||
|
||||
if((int) $order->id_lang == 3) {
|
||||
if(preg_match('/colissimo/i', $carrier->name)) {
|
||||
$carrier->url .= '&language=es_ES';
|
||||
}
|
||||
$content_html = '<strong>Contenido del paquete:</strong>';
|
||||
$content_txt = 'Contenido del paquete:';
|
||||
} else {
|
||||
$content_html = '<strong>Contenu du colis :</strong>';
|
||||
$content_txt = 'Contenu du colis :';
|
||||
}
|
||||
|
||||
$templateVars = array(
|
||||
'{followup}' => str_replace('@', $parcel[0], $carrier->url),
|
||||
'{firstname}' => $customer->firstname,
|
||||
'{lastname}' => $customer->lastname,
|
||||
'{id_order}' => (int) $order->id,
|
||||
'{product_list}' => !empty($products_sent)? $content_html.$products_sent: '',
|
||||
'{product_list_txt}' => !empty($products_sent)? $content_txt.strip_tags($products_sent): '',
|
||||
);
|
||||
|
||||
$order->shipping_number = $parcel[0];
|
||||
$order->update();
|
||||
|
||||
$last_state = Db::getInstance()->getValue('
|
||||
SELECT `id_order_state`
|
||||
FROM `'._DB_PREFIX_.'order_state_current`
|
||||
WHERE `id_order` ='.(int)$order->id
|
||||
);
|
||||
if(in_array($order->id, $status_sent) && (int)$last_state != 4) {
|
||||
$history = new OrderHistory();
|
||||
$history->id_order = (int) $order->id;
|
||||
$history->changeIdOrderState(4, (int) $order->id);
|
||||
$history->addWithemail(true, $templateVars);
|
||||
} elseif(in_array($order->id, $status_partially_sent)) {
|
||||
$history = new OrderHistory();
|
||||
$history->id_order = (int) $order->id;
|
||||
$history->changeIdOrderState(17, (int) $order->id);
|
||||
$history->addWithemail(true, $templateVars);
|
||||
}
|
||||
|
||||
$subjects = array(
|
||||
1 => 'Package in transit',
|
||||
2 => 'Livraison en cours',
|
||||
3 => 'Pedido en tránsito',
|
||||
);
|
||||
|
||||
Mail::Send(
|
||||
intval($order->id_lang),
|
||||
'in_transit',
|
||||
$subjects[(int) $order->id_lang],
|
||||
$templateVars,
|
||||
$customer->email,
|
||||
$customer->firstname.' '.$customer->lastname
|
||||
);
|
||||
'), array(4, 17, 9, 19))) {
|
||||
$status_partially_sent[] = (int) $order;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$repo_archive = './archives/IN/LIVRAISON/';
|
||||
$repo_paths = array(date('Y'), date('m'));
|
||||
foreach ($repo_paths as $repo_path) {
|
||||
$repo_archive .= $repo_path . '/';
|
||||
if (!file_exists($repo_archive))
|
||||
mkdir($repo_archive);
|
||||
}
|
||||
unset($orders_sent);
|
||||
unset($orders_to_send);
|
||||
|
||||
copy($datFile, $repo_archive . preg_replace( '@BAL$@', 'DAT', $fileinfo->getFilename() ));
|
||||
unlink($inFolder.$fileinfo->getFilename());
|
||||
unlink($datFile);
|
||||
foreach($orders_infos as $id_order => $parcels) {
|
||||
$order = new Order($id_order);
|
||||
$customer = new Customer((int) $order->id_customer);
|
||||
|
||||
foreach($parcels as $parcel) {
|
||||
$products_sent = '';
|
||||
|
||||
$products_names = array();
|
||||
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT d.`id_order_detail`, d.`product_name`, SUM(p.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'philea_parcel` p
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (p.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` = '.(int) $id_order.'
|
||||
AND p.`shipping_number` = "'.pSQL($parcel[0]).'"
|
||||
AND p.`date_add` = "'.pSQL($parcel[1]).'"
|
||||
GROUP BY d.`id_order_detail`
|
||||
') as $p) {
|
||||
$products_sent .= '<br />'."\r\n".$p['quantity'].' x '.$p['product_name'];
|
||||
}
|
||||
|
||||
$carrier = new Carrier($parcel[2], (int) $order->id_lang);
|
||||
|
||||
if((int) $order->id_lang == 3) {
|
||||
if(preg_match('/colissimo/i', $carrier->name)) {
|
||||
$carrier->url .= '&language=es_ES';
|
||||
}
|
||||
$content_html = '<strong>Contenido del paquete:</strong>';
|
||||
$content_txt = 'Contenido del paquete:';
|
||||
} else {
|
||||
$content_html = '<strong>Contenu du colis :</strong>';
|
||||
$content_txt = 'Contenu du colis :';
|
||||
}
|
||||
|
||||
$templateVars = array(
|
||||
'{followup}' => str_replace('@', $parcel[0], $carrier->url),
|
||||
'{firstname}' => $customer->firstname,
|
||||
'{lastname}' => $customer->lastname,
|
||||
'{id_order}' => (int) $order->id,
|
||||
'{product_list}' => !empty($products_sent)? $content_html.$products_sent: '',
|
||||
'{product_list_txt}' => !empty($products_sent)? $content_txt.strip_tags($products_sent): '',
|
||||
);
|
||||
|
||||
$order->shipping_number = $parcel[0];
|
||||
$order->update();
|
||||
|
||||
$last_state = Db::getInstance()->getValue('
|
||||
SELECT `id_order_state`
|
||||
FROM `'._DB_PREFIX_.'order_state_current`
|
||||
WHERE `id_order` ='.(int)$order->id
|
||||
);
|
||||
if(in_array($order->id, $status_sent) && (int)$last_state != 4) {
|
||||
$history = new OrderHistory();
|
||||
$history->id_order = (int) $order->id;
|
||||
$history->changeIdOrderState(4, (int) $order->id);
|
||||
$history->addWithemail(true, $templateVars);
|
||||
} elseif(in_array($order->id, $status_partially_sent)) {
|
||||
$history = new OrderHistory();
|
||||
$history->id_order = (int) $order->id;
|
||||
$history->changeIdOrderState(17, (int) $order->id);
|
||||
$history->addWithemail(true, $templateVars);
|
||||
}
|
||||
|
||||
$subjects = array(
|
||||
1 => 'Package in transit',
|
||||
2 => 'Livraison en cours',
|
||||
3 => 'Pedido en tránsito',
|
||||
);
|
||||
|
||||
Mail::Send(
|
||||
intval($order->id_lang),
|
||||
'in_transit',
|
||||
$subjects[(int) $order->id_lang],
|
||||
$templateVars,
|
||||
$customer->email,
|
||||
$customer->firstname.' '.$customer->lastname
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$repo_archive = './archives/IN/LIVRAISON/';
|
||||
$repo_paths = array(date('Y'), date('m'));
|
||||
foreach ($repo_paths as $repo_path) {
|
||||
$repo_archive .= $repo_path . '/';
|
||||
if (!file_exists($repo_archive))
|
||||
mkdir($repo_archive);
|
||||
}
|
||||
|
||||
copy($datFile, $repo_archive . preg_replace( '@BAL$@', 'DAT', $fileinfo->getFilename() ));
|
||||
unlink($inFolder.$fileinfo->getFilename());
|
||||
unlink($datFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
echo 'fin';
|
||||
}
|
||||
echo 'fin';
|
||||
|
@ -249,12 +249,12 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$message = "Commande : ".$order."\r\n Produit : ".$key."\r\n Quantity to sent : ".$product['quantity_to_sent']."\r\n Quantity : ".$details[(int)$order][$key]['quantity'];
|
||||
mail('marion@antadis.com', '[BBB] Erreurs quantity expe Philea', $message);
|
||||
// $message = "Commande : ".$order."\r\n Produit : ".$key."\r\n Quantity to sent : ".$product['quantity_to_sent']."\r\n Quantity : ".$details[(int)$order][$key]['quantity'];
|
||||
// mail('marion@antadis.com', '[BBB] Erreurs quantity expe Philea', $message);
|
||||
}
|
||||
} else {
|
||||
$message = "Commande : ".$order."\r\n Produit : ".$key."\r\n Produit non présent dans le fichier expe philea";
|
||||
mail('marion@antadis.com', '[BBB] Erreurs produit expe Philea', $message);
|
||||
// $message = "Commande : ".$order."\r\n Produit : ".$key."\r\n Produit non présent dans le fichier expe philea";
|
||||
// mail('marion@antadis.com', '[BBB] Erreurs produit expe Philea', $message);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -357,6 +357,15 @@
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
}
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
SELECT l.`id_order_detail`, SUM(l.`quantity`) AS `quantity`
|
||||
FROM `'._DB_PREFIX_.'ant_dropshipping_parcel` l
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON (l.`id_order_detail` = d.`id_order_detail`)
|
||||
WHERE d.`id_order` IN ('.implode(', ', $id_orders).')
|
||||
GROUP BY l.`id_order_detail`
|
||||
') as $row) {
|
||||
$sent_products[(int) $row['id_order_detail']] = (int) $row['quantity'];
|
||||
}
|
||||
|
||||
$orders_to_send = array();
|
||||
$orders_list = array();
|
||||
|
@ -140,11 +140,20 @@ if($magistorModule->active) {
|
||||
if($quantity>0){
|
||||
|
||||
if(isset($attribute['ean13']) && !empty($attribute['ean13'])) {
|
||||
$ean = $attribute['ean13'];
|
||||
$ean = $attribute['ean13'];
|
||||
} else {
|
||||
$ean = $attribute['supplier_reference'];
|
||||
}
|
||||
|
||||
$link = new Link();
|
||||
$cover = Db::getInstance()->getValue('
|
||||
SELECT `id_image`
|
||||
FROM `'._DB_PREFIX_.'image`
|
||||
WHERE id_product = ' . (int) $product['id_product'] . '
|
||||
AND `cover` = 1');
|
||||
$ids = (int) $product['id_product'] . '-' . (int) $cover;
|
||||
$img_link = 'http://'.$link->getImageLink($product['link_rewrite'], $ids, 'thickbox');
|
||||
|
||||
$data .= str_pad('ART01', 10, ' ', STR_PAD_RIGHT);
|
||||
$data .= str_pad($code_societe, 20, ' ', STR_PAD_RIGHT);
|
||||
$data .= str_pad(substr(utf8_decode(str_replace(array("\r", "\n"), '', $product['id_product'].'_'.$attribute['id_product_attribute'])), 0, 50), 50, ' ', STR_PAD_RIGHT);
|
||||
@ -214,7 +223,7 @@ if($magistorModule->active) {
|
||||
chmod($fileName.'.DAT', 0755);
|
||||
file_put_contents($fileName.'.BAL', '');
|
||||
chmod($fileName.'.BAL', 0755);
|
||||
//require_once('connection_ftp.php');
|
||||
require_once('connection_ftp.php');
|
||||
echo 'fin';
|
||||
}
|
||||
}
|
@ -70,7 +70,7 @@ if($magistorModule->active) {
|
||||
exit;
|
||||
}
|
||||
|
||||
// $exclude_orders = array();
|
||||
$exclude_orders = array();
|
||||
// foreach($db->ExecuteS('
|
||||
// SELECT DISTINCT `id_order`
|
||||
// FROM `'._DB_PREFIX_.'philea_sent`
|
||||
@ -145,8 +145,8 @@ if($magistorModule->active) {
|
||||
$carrier_value = false;
|
||||
|
||||
if($nbProducts) {
|
||||
$carriers_socol = array(67,87,88,89);
|
||||
$carriers_mr = array(91);
|
||||
$carriers_socol = explode(',', Configuration::get('ANT_CARRIERS_SOCOL'));
|
||||
$carriers_mr = explode(',', Configuration::get('ANT_CARRIERS_MR'));
|
||||
|
||||
$customer = new Customer($order->id_customer);
|
||||
$address_invoice = new Address($order->id_address_invoice);
|
||||
|
@ -50,7 +50,7 @@ if($magistorModule->active) {
|
||||
|
||||
$products = array();
|
||||
$orders = $db->executeS('
|
||||
SELECT d.`id_rorder_detail`, o.`id_order`, d.`product_id`, d.`product_attribute_id`, (d.`product_quantity` - d.`product_quantity_refunded`) as p_quantity, pl.*,p.*
|
||||
SELECT d.`id_order_detail`, o.`id_order`, d.`product_id`, d.`product_attribute_id`, (d.`product_quantity` - d.`product_quantity_refunded`) as p_quantity, pl.*,p.*
|
||||
FROM `'._DB_PREFIX_.'order_state_current` o
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` d ON o.`id_order` = d.`id_order`
|
||||
LEFT JOIN `'._DB_PREFIX_.'product_ps_cache` c ON d.`product_id` = c.`id_product`
|
||||
@ -123,7 +123,7 @@ if($magistorModule->active) {
|
||||
$data .= str_pad( $code_societe, 20, ' ', STR_PAD_RIGHT );
|
||||
$data .= str_pad( 'OP'.(int) $id_sale, 20, ' ', STR_PAD_RIGHT );
|
||||
$data .= date('Ymd');
|
||||
$data .= str_pad( substr(utf8_decode(str_replace(array("\r", "\n"), "", $product['id_product'].'_'.$attribute['id_product_attribute'])),0,50), 50, ' ', STR_PAD_RIGHT );
|
||||
$data .= str_pad( substr(utf8_decode(str_replace(array("\r", "\n"), "", $id_product.'_'.$id_attribute)),0,50), 50, ' ', STR_PAD_RIGHT );
|
||||
$data .= str_pad( $row['quantity'], 10, '0', STR_PAD_LEFT );
|
||||
$data .= str_pad( '', 10, '0', STR_PAD_LEFT );
|
||||
$data .= str_pad( '', 250, ' ', STR_PAD_LEFT );
|
||||
@ -131,8 +131,8 @@ if($magistorModule->active) {
|
||||
$data .= str_pad( str_replace(array("\r", "\n"), "", $ean), 14, ' ', STR_PAD_LEFT );
|
||||
$data .= PHP_EOL;
|
||||
|
||||
$product_quantities[$product['id_product'].'_'.$id_attribute] = (int)$row['quantity'];
|
||||
$product_quantities2[$product['id_product'].'_'.$id_attribute] = 0;
|
||||
$product_quantities[$id_product.'_'.$id_attribute] = (int)$row['quantity'];
|
||||
$product_quantities2[$id_product.'_'.$id_attribute] = 0;
|
||||
} else {
|
||||
|
||||
if(isset($product['ean13']) && !empty($product['ean13'])) {
|
||||
@ -145,7 +145,7 @@ if($magistorModule->active) {
|
||||
$data .= str_pad( $code_societe, 20, ' ', STR_PAD_RIGHT );
|
||||
$data .= str_pad( 'OP'.(int) $id_sale, 20, ' ', STR_PAD_RIGHT );
|
||||
$data .= date('Ymd');
|
||||
$data .= str_pad( substr(utf8_decode(str_replace(array("\r", "\n"), "", $product['id_product'])),0,50), 50, ' ', STR_PAD_RIGHT );
|
||||
$data .= str_pad( substr(utf8_decode(str_replace(array("\r", "\n"), "", $product['product_id'])),0,50), 50, ' ', STR_PAD_RIGHT );
|
||||
$data .= str_pad( $row['quantity'], 10, '0', STR_PAD_LEFT );
|
||||
$data .= str_pad( '', 10, '0', STR_PAD_LEFT );
|
||||
$data .= str_pad( '', 250, ' ', STR_PAD_LEFT );
|
||||
@ -153,8 +153,8 @@ if($magistorModule->active) {
|
||||
$data .= str_pad( str_replace(array("\r", "\n"), "", $product['ean13']), 14, ' ', STR_PAD_LEFT );
|
||||
$data .= PHP_EOL;
|
||||
|
||||
$product_quantities[$product['id_product']] = (int)$row['quantity'];
|
||||
$product_quantities2[$product['id_product']] = 0;
|
||||
$product_quantities[$product['product_id']] = (int)$row['quantity'];
|
||||
$product_quantities2[$product['product_id']] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -183,7 +183,7 @@ if($magistorModule->active) {
|
||||
|
||||
unset($data);
|
||||
|
||||
//require_once('connection_ftp.php');
|
||||
require_once('connection_ftp.php');
|
||||
}
|
||||
echo 'fin'."\n";
|
||||
}
|
||||
|
@ -571,6 +571,11 @@ class AdminPrivateSalesSales extends AdminTab {
|
||||
'value' => 9,
|
||||
'selected' => ($this->cursale!==NULL && $this->cursale->delivery_delay== 9?true:false)
|
||||
),
|
||||
array(
|
||||
'label' => $this->l('Livraison 72h Noel'),
|
||||
'value' => 10,
|
||||
'selected' => ($this->cursale!==NULL && $this->cursale->delivery_delay== 10?true:false)
|
||||
),
|
||||
);
|
||||
// Delivery delay
|
||||
$input = array(
|
||||
|
@ -1883,7 +1883,8 @@ class Sale {
|
||||
}
|
||||
|
||||
public function getProducts($order = FALSE) {
|
||||
$categories = Sale::flatRecurseCategory($this->id_category);
|
||||
//$categories = Sale::flatRecurseCategory($this->id_category);
|
||||
$categories = Sale::getCategoriesFromCache($this->id);
|
||||
|
||||
$products = array();
|
||||
foreach(Db::getInstance()->ExecuteS('
|
||||
|
@ -161,6 +161,9 @@ if (!class_exists('SaleDelay')) {
|
||||
case '8':
|
||||
return '48h Noël';
|
||||
break;
|
||||
case '10':
|
||||
return '72h Noël';
|
||||
break;
|
||||
case '9':
|
||||
return 'Spé';
|
||||
break;
|
||||
@ -197,6 +200,9 @@ if (!class_exists('SaleDelay')) {
|
||||
case '8':
|
||||
return '48h Noël';
|
||||
break;
|
||||
case '10':
|
||||
return '72h Noël';
|
||||
break;
|
||||
default:
|
||||
return 'Unknown';
|
||||
break;
|
||||
@ -235,6 +241,9 @@ if (!class_exists('SaleDelay')) {
|
||||
case '8':
|
||||
return 'sous 48h';
|
||||
break;
|
||||
case '10':
|
||||
return 'sous 72h';
|
||||
break;
|
||||
case '9':
|
||||
return 'spécifique';
|
||||
break;
|
||||
@ -271,6 +280,9 @@ if (!class_exists('SaleDelay')) {
|
||||
case '8':
|
||||
return 'de 48h';
|
||||
break;
|
||||
case '10':
|
||||
return 'de 72h';
|
||||
break;
|
||||
default:
|
||||
return 'de un poco días';
|
||||
break;
|
||||
|
@ -101,6 +101,32 @@ class RefundReason extends Module {
|
||||
return $output;
|
||||
}
|
||||
|
||||
public function hookAdminOrderNew($params) {
|
||||
global $cookie;
|
||||
|
||||
$output .= '
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
$(document).ready(function() {
|
||||
$(\'<select id=\"typeReason\" class="form-control" name=\"typeReason\" style=\"display:none; margin-top: 5px;\"><option value=\"0\" style="color: #999999;">'.$this->l('Refund reason').'</option><option value=\"1\">'.$this->l('Cancelled (before shipping)').'</option><option value=\"2\">'.$this->l('Cancelled (received, -7d)').'</option><option value=\"11\">'.$this->l('ZZZZZ4').'</option><option value=\"4\">'.$this->l('Product default').'</option><option value=\"5\">'.$this->l('Missing product (supplier)').'</option><option value=\"3\">'.$this->l('Return (received +7d)').'</option><option value=\"6\">'.$this->l('Logistics error').'</option><option value=\"8\">'.$this->l('ZZZZZ1').'</option><option value=\"12\">'.$this->l('ZZZZZ5').'</option><option value=\"9\">'.$this->l('ZZZZZ2').'</option><option value=\"10\">'.$this->l('ZZZZZ3').'</option><option value=\"7\">'.$this->l('Other').'</option></select>\').insertAfter(\'#spanShippingBack\');
|
||||
|
||||
$(\'<p class="center"><select id=\"typeReasonTotal\" class="form-control" name=\"typeReason\"><option value=\"0\" style="color: #999999;">'.$this->l('Refund reason').'</option><option value=\"1\">'.$this->l('Cancelled (before shipping)').'</option><option value=\"2\">'.$this->l('Cancelled (received, -7d)').'</option><option value=\"11\">'.$this->l('ZZZZZ4').'</option><option value=\"4\">'.$this->l('Product default').'</option><option value=\"5\">'.$this->l('Missing product (supplier)').'</option><option value=\"3\">'.$this->l('Return (received +7d)').'</option><option value=\"6\">'.$this->l('Logistics error').'</option><option value=\"8\">'.$this->l('ZZZZZ1').'</option><option value=\"12\">'.$this->l('ZZZZZ5').'</option><option value=\"9\">'.$this->l('ZZZZZ2').'</option><option value=\"10\">'.$this->l('ZZZZZ3').'</option><option value=\"7\">'.$this->l('Other').'</option></select></p>\').insertBefore(\'form.refundform p\');
|
||||
|
||||
$("#generateCreditSlip").click(function() {
|
||||
if($("#generateCreditSlip:checked").length == 1) {
|
||||
$("#typeReason").show();
|
||||
} else {
|
||||
$("#typeReason").hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
-->
|
||||
</script>
|
||||
';
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
public function hookOrderSlip($params) {
|
||||
global $cookie;
|
||||
|
||||
|
@ -840,10 +840,9 @@ class Cart extends CartCore {
|
||||
if (!$order_total)
|
||||
return Tools::displayError('Cannot add voucher if order is free.');
|
||||
|
||||
// Ony for API (application)
|
||||
$subdomain = substr($_SERVER['HTTP_HOST'], 0, strpos($_SERVER['HTTP_HOST'], '.'));
|
||||
if ($subdomain != 'api' && $discountObj->appli == 1) {
|
||||
return Tools::displayError('This voucher is not valid');
|
||||
// Only for API (application)
|
||||
if (!Tools::isApi() && $discountObj->appli == 1) {
|
||||
return Tools::displayError('This voucher is only valid on the application');
|
||||
}
|
||||
|
||||
if (!$discountObj->active)
|
||||
|
@ -128,5 +128,14 @@ class Tools extends ToolsCore {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public static function isApi()
|
||||
{
|
||||
$subdomain = substr($_SERVER['HTTP_HOST'], 0, strpos($_SERVER['HTTP_HOST'], '.'));
|
||||
if ($subdomain == 'api') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -26,4 +26,8 @@
|
||||
<div class="delivery_delay">
|
||||
<img src="{$img_ps_dir}delay/48h_noel_{$cookie->id_lang}.png" alt="72h">
|
||||
</div>
|
||||
{elseif $delivery_delay == 10}
|
||||
<div class="delivery_delay">
|
||||
<img src="{$img_ps_dir}delay/72h_noel_{$cookie->id_lang}.png" alt="72h">
|
||||
</div>
|
||||
{/if}
|
||||
|
@ -26,4 +26,8 @@
|
||||
<div class="delivery_delay">
|
||||
<img src="{$img_ps_dir}delay/delay_48h_noel_{$cookie->id_lang}.png" alt="72h">
|
||||
</div>
|
||||
{elseif $delivery_delay == 10}
|
||||
<div class="delivery_delay">
|
||||
<img src="{$img_ps_dir}delay/delay_72h_noel_{$cookie->id_lang}.png" alt="72h">
|
||||
</div>
|
||||
{/if}
|
@ -426,7 +426,8 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}';
|
||||
|| $sale->delivery_delay == 5
|
||||
|| $sale->delivery_delay == 6
|
||||
|| $sale->delivery_delay == 7
|
||||
|| $sale->delivery_delay == 8}
|
||||
|| $sale->delivery_delay == 8
|
||||
|| $sale->delivery_delay == 10}
|
||||
<div class="delay_flag" {if !$product->online_only}style="top:55px;"{/if}>
|
||||
{include file="./themes/site/delay_product.tpl" delivery_delay=$sale->delivery_delay}
|
||||
</div>
|
||||
@ -511,7 +512,8 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}';
|
||||
|| $sale->delivery_delay == 5
|
||||
|| $sale->delivery_delay == 6
|
||||
|| $sale->delivery_delay == 7
|
||||
|| $sale->delivery_delay == 8}
|
||||
|| $sale->delivery_delay == 8
|
||||
|| $sale->delivery_delay == 10}
|
||||
{include file="./themes/site/delay.tpl" delivery_delay=$sale->delivery_delay}
|
||||
{else}
|
||||
<span class="picto"></span>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user