+ {foreach from=$products item='product'}
+ {if isset($customized_datas[$product.id_product][$product.id_product_attribute])}
+
+ | {$product.image} |
+
+ {$product.name}{if isset($product.attributes)} {$product.attributes}{/if}
+ {if $product.reference}$this->l('Ref:') {$product.reference}{/if}
+ {if $product.reference && $product.supplier_reference} / {$product.supplier_reference}{/if}
+
+ |
+ {displayWtPriceWithCurrency price=$product.price_wt currency=$currency} |
+ {$product.customizationQuantityTotal} |
+ {$product.qty_in_stock} |
+ {displayWtPriceWithCurrency price=$product.total_customization_wt currency=$currency} |
+
+ {foreach from=$customized_datas[$product.id_product][$product.id_product_attribute] item='customization'}
+
+
+ {foreach from=$customization.datas key='type' item='datas'}
+ {if $type == constant('Product::CUSTOMIZE_FILE')}
+
+ {foreach from=$datas key='index' item='data'}
+ -
+
+
+
+ {/foreach}
+
+ {elseif $type == constant('Product::CUSTOMIZE_TEXTFIELD')}
+
+ {foreach from=$datas key='index' item='data'}
+ - {if $data.name}{$data.name}{else}{l s='Text #'}{$smarty.foreach.count.index}{/if}{l s=':'}{$data.value}
+ {/foreach}
+
+ {/if}
+ {/foreach}
+ |
+ |
+ {$customization.quantity} |
+ |
+ |
+
{/foreach}
-
- |
- {$customization.quantity} |
- |
- |
-
- {/foreach}
- {/if}
-
- {if $product.cart_quantity > $product.customizationQuantityTotal}
-
- | {$product.image} |
-
-
- {$product.name}{if isset($product.attributes)} {$product.attributes}{/if}
- {if $product.reference}{l s='Ref:'} {$product.reference}{/if}
- {if $product.reference && $product.supplier_reference} / {$product.supplier_reference}{/if}
-
- |
- {displayWtPriceWithCurrency price=$product.product_price currency=$currency} |
- {math equation='x - y' x=$product.cart_quantity y=$product.customizationQuantityTotal} |
- {$product.qty_in_stock} |
- {displayWtPriceWithCurrency price=$product.product_total currency=$currency} |
+ {/if}
+
+ {if $product.cart_quantity > $product.customizationQuantityTotal}
+
+ | {$product.image} |
+
+
+ {$product.name}{if isset($product.attributes)} {$product.attributes}{/if}
+ {if $product.reference}{l s='Ref:'} {$product.reference}{/if}
+ {if $product.reference && $product.supplier_reference} / {$product.supplier_reference}{/if}
+
+ |
+ {displayWtPriceWithCurrency price=$product.product_price currency=$currency} |
+ {math equation='x - y' x=$product.cart_quantity y=$product.customizationQuantityTotal} |
+ {$product.qty_in_stock} |
+ {displayWtPriceWithCurrency price=$product.product_total currency=$currency} |
+
+ {/if}
+ {/foreach}
+
+ | {l s='Total products:'} |
+ {displayWtPriceWithCurrency price=$total_products currency=$currency} |
+
+
+ {if $total_discounts != 0}
+
+ | {l s='Total vouchers:'} |
+ {displayWtPriceWithCurrency price=$total_discounts currency=$currency} |
{/if}
- {/foreach}
-
- | {l s='Total products:'} |
- {displayWtPriceWithCurrency price=$total_products currency=$currency} |
-
-
- {if $total_discounts != 0}
-
- | {l s='Total vouchers:'} |
- {displayWtPriceWithCurrency price=$total_discounts currency=$currency} |
+ {if $total_wrapping > 0}
+
+ | {l s='Total gift-wrapping:'} |
+ {displayWtPriceWithCurrency price=$total_wrapping currency=$currency} |
+
+ {/if}
+ {if $cart->getOrderTotal(true, Cart::ONLY_SHIPPING) > 0}
+
+ | {l s='Total shipping:'} |
+ {displayWtPriceWithCurrency price=$total_shipping currency=$currency} |
+
+ {/if}
+
+ | {l s='Total:'} |
+ {displayWtPriceWithCurrency price=$total_price currency=$currency} |
- {/if}
- {if $total_wrapping > 0}
-
- | {l s='Total gift-wrapping:'} |
- {displayWtPriceWithCurrency price=$total_wrapping currency=$currency} |
-
- {/if}
- {if $cart->getOrderTotal(true, Cart::ONLY_SHIPPING) > 0}
-
- | {l s='Total shipping:'} |
- {displayWtPriceWithCurrency price=$total_shipping currency=$currency} |
-
- {/if}
-
- | {l s='Total:'} |
- {displayWtPriceWithCurrency price=$total_price currency=$currency} |
-
-