fix trad add to cart box
This commit is contained in:
parent
adaecb5c9b
commit
97ec6bff44
@ -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));
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user