fix trad add to cart box

This commit is contained in:
Srv Bebeboutik 2016-03-02 10:39:36 +01:00
parent adaecb5c9b
commit 97ec6bff44
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ $id_product = Tools::getValue('id_product', 0);
$idCombination = Tools::getValue('idCombination', 0); $idCombination = Tools::getValue('idCombination', 0);
if($id_product){ if($id_product){
$product = new Product($id_product, false, 2); $product = new Product($id_product, false, $cookie->id_lang);
$quantity = Tools::getValue('quantity', 1); $quantity = Tools::getValue('quantity', 1);
$cart = new Cart((int)($cookie->id_cart)); $cart = new Cart((int)($cookie->id_cart));

View File

@ -17,7 +17,7 @@
</div> </div>
<div class="price"> <div class="price">
<p class="quantity">{l s='Quantité' mod='blockcartex'} : <span id="quantity_sel">{$quantity}</span></p> <p class="quantity">{l s='Quantité' mod='blockcartex'} : <span id="quantity_sel">{$quantity}</span></p>
<p class="price"><span id="price_add_to_cart">{$price|replace:'.':','}</span> € TTC</p> <p class="price"><span id="price_add_to_cart">{$price|replace:'.':','}</span> € {l s='TTC' mod='blockcartex'}</p>
</div> </div>
</div> </div>
<div class="others_links"> <div class="others_links">