Merge branch 'ticket-modifNameCarrierEs'
This commit is contained in:
commit
51e726856d
@ -63,11 +63,15 @@ class BlockOrderSummary extends Module {
|
||||
$order_address = nl2br(AddressFormat::generateAddress(new Address((int) $cart->id_address_delivery)));
|
||||
}
|
||||
|
||||
$carrier_name = Db::getInstance()->getValue('
|
||||
SELECT `name`
|
||||
FROM `'._DB_PREFIX_.'carrier`
|
||||
WHERE `id_carrier` = '.(int) $cart->id_carrier.'
|
||||
');
|
||||
if ($cookie->id_lang == 3 && (int)$cart->id_carrier == 87) {
|
||||
$carrier_name = "SEUR a domicilio";
|
||||
} else {
|
||||
$carrier_name = Db::getInstance()->getValue('
|
||||
SELECT `name`
|
||||
FROM `'._DB_PREFIX_.'carrier`
|
||||
WHERE `id_carrier` = '.(int) $cart->id_carrier.'
|
||||
');
|
||||
}
|
||||
|
||||
$products_keys = array();
|
||||
$products_delays = array();
|
||||
|
@ -140,7 +140,11 @@
|
||||
<img src="{$carrier.img|escape:'htmlall':'UTF-8'}" alt="{$carrier.name|escape:'htmlall':'UTF-8'}" />
|
||||
{/if}
|
||||
{else}
|
||||
{if $cookie->id_lang == 3 && $carrier.id_carrier == 87}
|
||||
{l s='SEUR a domicilio'}
|
||||
{else}
|
||||
{$carrier.name|escape:'htmlall':'UTF-8'}
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
</label>
|
||||
@ -165,7 +169,7 @@
|
||||
{/if}
|
||||
{if in_array(5,$sale_delivery)}
|
||||
<li>{l s='Livraison avant Noël'}</li>
|
||||
{/if}
|
||||
{/if}
|
||||
{if in_array(6,$sale_delivery)}
|
||||
<li>{l s='Produit Star - Livraison 48h'}</li>
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user