@ -41,7 +41,7 @@
|
|||||||
<br /><br />
|
<br /><br />
|
||||||
Vous devez coller l'étiquette fournie par Mondial Relay sur une face bien visible du colis.
|
Vous devez coller l'étiquette fournie par Mondial Relay sur une face bien visible du colis.
|
||||||
<br /><br /><br />
|
<br /><br /><br />
|
||||||
Le dépôt des colis se fait dans l'un des 4 500 Point Relais® de France.
|
Le dépôt des colis se fait dans l'un de nos nombreux Points Relais®.
|
||||||
<br />
|
<br />
|
||||||
Vous pouvez retrouver la liste des points relais près de chez vous en <a href="http://www.mondialrelay.fr/trouver-le-point-relais-le-plus-proche-de-chez-moi/" target="_blank" style="color: #5082f5; text-decoration: none;">cliquant sur ce lien</a>
|
Vous pouvez retrouver la liste des points relais près de chez vous en <a href="http://www.mondialrelay.fr/trouver-le-point-relais-le-plus-proche-de-chez-moi/" target="_blank" style="color: #5082f5; text-decoration: none;">cliquant sur ce lien</a>
|
||||||
<br />
|
<br />
|
||||||
|
@ -103,13 +103,13 @@ class Ant_Alert extends Module
|
|||||||
);
|
);
|
||||||
if ((int)$open_messages['total'] >= (int)$alert->limit) {
|
if ((int)$open_messages['total'] >= (int)$alert->limit) {
|
||||||
// dev
|
// dev
|
||||||
$to = array('marion@antadis.com');
|
//$to = array('marion@antadis.com');
|
||||||
// prod
|
// prod
|
||||||
// $to = array(
|
$to = array(
|
||||||
// 'frederic@bebeboutik.com',
|
'frederic@bebeboutik.com',
|
||||||
// 'jacques@bebeboutik.com',
|
'jacques@bebeboutik.com',
|
||||||
// 'valentin@bebeboutik.com',
|
'valentin@bebeboutik.com',
|
||||||
// );
|
);
|
||||||
$contact = new Contact((int)$alert->id_contact,2);
|
$contact = new Contact((int)$alert->id_contact,2);
|
||||||
$data = array(
|
$data = array(
|
||||||
'{limit}' => (int)$alert->limit,
|
'{limit}' => (int)$alert->limit,
|
||||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 34 KiB |
@ -82,7 +82,7 @@ class GenerateBarcode {
|
|||||||
$this->directory = self::$barcode_directory.$name;
|
$this->directory = self::$barcode_directory.$name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function generateBarcode($id_product, $id_product_attribute = NULL, $reference = NULL, $ean = NULL) {
|
public function generateBarcode($id_product, $id_product_attribute = NULL, $reference = NULL, $ean = NULL, $big_label = false) {
|
||||||
if($ean == null) {
|
if($ean == null) {
|
||||||
$ean = $this->_getEanNumber();
|
$ean = $this->_getEanNumber();
|
||||||
}
|
}
|
||||||
@ -95,7 +95,11 @@ class GenerateBarcode {
|
|||||||
$white = ImageColorAllocate($im, 0xff, 0xff, 0xff);
|
$white = ImageColorAllocate($im, 0xff, 0xff, 0xff);
|
||||||
imagefilledrectangle($im, 0, 0, $width, $height, $white);
|
imagefilledrectangle($im, 0, 0, $width, $height, $white);
|
||||||
Barcode::gd($im, $black, $width / 2, $height / 2 - 10 , 0, "code128", $str, 3, 50);
|
Barcode::gd($im, $black, $width / 2, $height / 2 - 10 , 0, "code128", $str, 3, 50);
|
||||||
//imagettftext($im, 11, 0, $width / 2 - (strlen('*'.$reference.'*')* 4), $height - 10 , $black, dirname(__FILE__).'/arial.ttf', '*'.$reference.'*' );
|
if(!$big_label && $reference!=NULL) {
|
||||||
|
imagettftext($im, 11, 0, $width / 2 - (strlen('*'.$reference.'*')* 4), $height - 10 , $black, dirname(__FILE__).'/arial.ttf', '*'.$reference.'*' );
|
||||||
|
} elseif(!$big_label) {
|
||||||
|
imagettftext($im, 11, 0, $width / 2 - (strlen('*'.$str.'*')* 4), $height - 10 , $black, dirname(__FILE__).'/arial.ttf', '*'.$str.'*' );
|
||||||
|
}
|
||||||
|
|
||||||
if ($id_product_attribute) {
|
if ($id_product_attribute) {
|
||||||
imagegif($im, $this->directory.'/ean-'.$id_product.'-'.$id_product_attribute.'.gif');
|
imagegif($im, $this->directory.'/ean-'.$id_product.'-'.$id_product_attribute.'.gif');
|
||||||
|
Before Width: | Height: | Size: 587 KiB After Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 517 KiB After Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 106 KiB |
@ -83,8 +83,8 @@ class PayPalConnect
|
|||||||
@curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
@curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||||
@curl_setopt($ch, CURLOPT_HEADER, false);
|
@curl_setopt($ch, CURLOPT_HEADER, false);
|
||||||
@curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
@curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
||||||
@curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
@curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
||||||
@curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
|
@curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
|
||||||
@curl_setopt($ch, CURLOPT_SSLVERSION, defined(CURL_SSLVERSION_TLSv1) ? CURL_SSLVERSION_TLSv1 : 1);
|
@curl_setopt($ch, CURLOPT_SSLVERSION, defined(CURL_SSLVERSION_TLSv1) ? CURL_SSLVERSION_TLSv1 : 1);
|
||||||
@curl_setopt($ch, CURLOPT_VERBOSE, false);
|
@curl_setopt($ch, CURLOPT_VERBOSE, false);
|
||||||
|
|
||||||
|
@ -936,6 +936,7 @@ class Sale {
|
|||||||
$order_sales = array();
|
$order_sales = array();
|
||||||
|
|
||||||
foreach ($_orders as $key => $order) {
|
foreach ($_orders as $key => $order) {
|
||||||
|
$added_sale = false;
|
||||||
|
|
||||||
// supprime les orders avec plus de 2 ventes pour les multi only
|
// supprime les orders avec plus de 2 ventes pour les multi only
|
||||||
if($multi_only) {
|
if($multi_only) {
|
||||||
@ -958,6 +959,7 @@ class Sale {
|
|||||||
if((int)$row['p_quantity'] != 0) {
|
if((int)$row['p_quantity'] != 0) {
|
||||||
continue 3;
|
continue 3;
|
||||||
}
|
}
|
||||||
|
$added_sale = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -973,7 +975,7 @@ class Sale {
|
|||||||
$order_print[] = $key;
|
$order_print[] = $key;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (count($diff) >= 2) {
|
if (count($diff) >= 2 || $added_sale) {
|
||||||
$order_print[] = $key;
|
$order_print[] = $key;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
20160818 155601
|
20170901 110601
|
@ -844,19 +844,20 @@ if(Tools::getValue('action') == 'getOrderForm' && ( ( $id_category = Tools::getV
|
|||||||
$ref = array();
|
$ref = array();
|
||||||
$decli = array();
|
$decli = array();
|
||||||
foreach ($lines_attributes as $key => $row) {
|
foreach ($lines_attributes as $key => $row) {
|
||||||
|
// si le produit n'apparait pas dans une commande, on affiche pas la ligne
|
||||||
|
if (!isset($row['total_m']) || $row['total_m'] == 0) {
|
||||||
|
unset($lines_attributes[$key]);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$ref[$key] = $row['line']['product_reference'];
|
$ref[$key] = $row['line']['product_reference'];
|
||||||
$decli[$key] = $row['line']['product_attribute_name_base'];
|
$decli[$key] = $row['line']['product_attribute_name_base'];
|
||||||
}
|
}
|
||||||
array_multisort($ref, SORT_ASC, $decli, SORT_ASC, $lines_attributes);
|
array_multisort($ref, SORT_ASC, $decli, SORT_ASC, $lines_attributes);
|
||||||
foreach($lines_attributes as $key => $values)
|
foreach($lines_attributes as $key => $values)
|
||||||
{
|
{
|
||||||
// si le produit n'apparait pas dans une commande, on affiche pas la ligne
|
|
||||||
if (!isset($values['total_m']) || $values['total_m'] == 0) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ((is_array($lines_attributes[$key+1]) && isset($lines_attributes[$key+1]['total_m']) && $lines_attributes[$key+1]['total_m'] != 0)
|
if (is_array($lines_attributes[$key+1])
|
||||||
|| ($lines2[$k+1][0]['line']['product_reference'] == $values['line']['product_reference'] && isset($lines2[$k+1][0]['line']['total_m']) && $lines2[$k+1][0]['line']['total_m'] != 0)) {
|
|| $lines2[$k+1][0]['line']['product_reference'] == $values['line']['product_reference']) {
|
||||||
$borders_style = array(
|
$borders_style = array(
|
||||||
'borders' => array(
|
'borders' => array(
|
||||||
'right' => array(
|
'right' => array(
|
||||||
|
@ -356,6 +356,9 @@ class SoFlexibiliteDelivery
|
|||||||
} else {
|
} else {
|
||||||
$result = Db::getInstance()->autoExecute(_DB_PREFIX_.$table_name, $values, 'UPDATE', $where);
|
$result = Db::getInstance()->autoExecute(_DB_PREFIX_.$table_name, $values, 'UPDATE', $where);
|
||||||
}
|
}
|
||||||
|
if($values['type'] == "DOM" || $values['type']== "BOM") {
|
||||||
|
mail('marion@antadis.com', '[BBB] So Colissimo', json_encode($values).' '.$result);
|
||||||
|
}
|
||||||
|
|
||||||
return ($result);
|
return ($result);
|
||||||
}
|
}
|
||||||
@ -454,7 +457,9 @@ class SoFlexibiliteDelivery
|
|||||||
} else {
|
} else {
|
||||||
$result = Db::getInstance()->autoExecute(_DB_PREFIX_.$table_name, $values, 'INSERT');
|
$result = Db::getInstance()->autoExecute(_DB_PREFIX_.$table_name, $values, 'INSERT');
|
||||||
}
|
}
|
||||||
|
if($values['type'] == "DOM" || $values['type']== "BOM") {
|
||||||
|
mail('marion@antadis.com', '[BBB] So Colissimo', json_encode($values).' '.$result);
|
||||||
|
}
|
||||||
return ($result);
|
return ($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +23,6 @@ class Customer extends CustomerCore
|
|||||||
Db::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'customer_group` WHERE `id_customer` = '.(int)($this->id));
|
Db::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'customer_group` WHERE `id_customer` = '.(int)($this->id));
|
||||||
Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'customer_thread` SET `id_customer` = 0 WHERE `id_customer` = '.(int)($this->id));
|
Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'customer_thread` SET `id_customer` = 0 WHERE `id_customer` = '.(int)($this->id));
|
||||||
Discount::deleteByIdCustomer((int)($this->id));
|
Discount::deleteByIdCustomer((int)($this->id));
|
||||||
return parent::delete();
|
return ObjectModel::delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 22 KiB |
@ -663,6 +663,8 @@ $_LANG['shopping-cart_f8617a92ba0a0a4eabee724eab7c9f48'] = 'Transportista:';
|
|||||||
$_LANG['shopping-cart_914419aa32f04011357d3b604a86d7eb'] = 'Transportista';
|
$_LANG['shopping-cart_914419aa32f04011357d3b604a86d7eb'] = 'Transportista';
|
||||||
$_LANG['shopping-cart_300225ee958b6350abc51805dab83c24'] = 'Continuar la compra';
|
$_LANG['shopping-cart_300225ee958b6350abc51805dab83c24'] = 'Continuar la compra';
|
||||||
$_LANG['shopping-cart_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Siguiente';
|
$_LANG['shopping-cart_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Siguiente';
|
||||||
|
$_LANG['shopping-cart_ea3bd794dfeb4537c194ee43899516ed'] = 'Mi pedido es un regalo. Esta opción, genera una factura sin los precios indicados y permite añadir una pequeña dedicatoria sobre esta. ¡Ideal para enviar tu regalo directamente a casa de tus familiares o amigos! ';
|
||||||
|
$_LANG['shopping-cart_b4e59f3a4554655a099738382ebedbff'] = 'Si lo desea, puede añadir una nota al regalo:';
|
||||||
$_LANG['sitemap_5813ce0ec7196c492c97596718f71969'] = 'Mapa del sitio';
|
$_LANG['sitemap_5813ce0ec7196c492c97596718f71969'] = 'Mapa del sitio';
|
||||||
$_LANG['sitemap_24cc85476cb8ec1a03192f09231e742b'] = 'Nuestras ofertas';
|
$_LANG['sitemap_24cc85476cb8ec1a03192f09231e742b'] = 'Nuestras ofertas';
|
||||||
$_LANG['sitemap_9ff0635f5737513b1a6f559ac2bff745'] = 'Nuevos productos';
|
$_LANG['sitemap_9ff0635f5737513b1a6f559ac2bff745'] = 'Nuevos productos';
|
||||||
|
@ -664,6 +664,8 @@ $_LANG['shopping-cart_f8617a92ba0a0a4eabee724eab7c9f48'] = 'Transporteur :';
|
|||||||
$_LANG['shopping-cart_914419aa32f04011357d3b604a86d7eb'] = 'Transporteur';
|
$_LANG['shopping-cart_914419aa32f04011357d3b604a86d7eb'] = 'Transporteur';
|
||||||
$_LANG['shopping-cart_300225ee958b6350abc51805dab83c24'] = 'Retour aux ventes';
|
$_LANG['shopping-cart_300225ee958b6350abc51805dab83c24'] = 'Retour aux ventes';
|
||||||
$_LANG['shopping-cart_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Suivant';
|
$_LANG['shopping-cart_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Suivant';
|
||||||
|
$_LANG['shopping-cart_ea3bd794dfeb4537c194ee43899516ed'] = 'Ma commande est un cadeau. Elle me permet de bénéficier d\'une facture sans prix et d\'insérer un petit mot sur cette dernière. C\'est idéal pour expédier votre cadeau directement chez vos proches !';
|
||||||
|
$_LANG['shopping-cart_b4e59f3a4554655a099738382ebedbff'] = 'Vous pouvez ajouter un message d\'accompagnement à votre commande.';
|
||||||
$_LANG['sitemap_5813ce0ec7196c492c97596718f71969'] = 'Plan du site';
|
$_LANG['sitemap_5813ce0ec7196c492c97596718f71969'] = 'Plan du site';
|
||||||
$_LANG['sitemap_24cc85476cb8ec1a03192f09231e742b'] = 'Nos offres';
|
$_LANG['sitemap_24cc85476cb8ec1a03192f09231e742b'] = 'Nos offres';
|
||||||
$_LANG['sitemap_9ff0635f5737513b1a6f559ac2bff745'] = 'Nouveaux produits';
|
$_LANG['sitemap_9ff0635f5737513b1a6f559ac2bff745'] = 'Nouveaux produits';
|
||||||
|