{* * We offer the best and most useful modules PrestaShop and modifications for your online store. * * We are experts and professionals in PrestaShop * * @author PresTeamShop.com * @copyright 2011-2017 PresTeamShop * @license see file: LICENSE.txt * @category PrestaShop * @category Module *} {block name='step_review'} {if $CONFIGS.OPC_SHOW_REMAINING_FREE_SHIPPING} {if $total_shipping_tax_exc > 0 && !isset($virtualCart) && $free_ship > 0}
{l s='Remaining amount to be added to your cart in order to obtain free shipping' mod='onepagecheckoutps'}: {$free_ship}
{/if} {/if}
{l s='Description' mod='onepagecheckoutps'}
{if $CONFIGS.OPC_SHOW_UNIT_PRICE}
{l s='Unit price' mod='onepagecheckoutps'}
{/if}
{l s='Qty' mod='onepagecheckoutps'}
{l s='Total' mod='onepagecheckoutps'}
{foreach from=$cart.products|@sortby:'name' item=product} {assign var='productId' value=$product.id_product} {assign var='productAttributeId' value=$product.id_product_attribute} {assign var='quantityDisplayed' value=0} {assign var='odd' value=$product@iteration%2} {assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId) or count($gift_products)} {include file="./review_product_line.tpl" CONFIGS=$CONFIGS productLast=$product@last productFirst=$product@first} {/foreach} {foreach from=$gift_products|@sortby:'name' item=product} {assign var='productId' value=$product.id_product} {assign var='productAttributeId' value=$product.id_product_attribute} {assign var='quantityDisplayed' value=0} {assign var='odd' value=($product@iteration+$last_was_odd)%2} {assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId)} {assign var='cannotModify' value=1} {include file="./review_product_line.tpl" productLast=$product@last productFirst=$product@first} {/foreach}
{if $cart.vouchers.added} {foreach from=$cart.vouchers.added item=voucher}
{$voucher.name}:
{$voucher.reduction_formatted}
{/foreach} {/if} {if $CONFIGS.OPC_SHOW_TOTAL_PRODUCT && $cart.subtotals.products}
{$cart.subtotals.products.label}:
{$cart.subtotals.products.value}
{/if} {if $CONFIGS.OPC_SHOW_TOTAL_DISCOUNT && $cart.subtotals.discounts}
{$cart.subtotals.discounts.label}:
{$cart.subtotals.discounts.value}
{/if} {if $CONFIGS.OPC_SHOW_TOTAL_SHIPPING && $cart.subtotals.shipping}
{$cart.subtotals.shipping.label}:
{$cart.subtotals.shipping.value}
{/if} {if $CONFIGS.OPC_SHOW_TOTAL_TAX && $cart.subtotals.tax}
{$cart.subtotals.tax.label}:
{$cart.subtotals.tax.value}
{/if} {if $CONFIGS.OPC_SHOW_TOTAL_PRICE && $cart.totals.total}
{$cart.totals.total.label}:
{$total_cart}
{/if} {if $CONFIGS.OPC_SHOW_VOUCHER_BOX && $cart.vouchers.allowed}
{if $cart.discounts|count > 0}

{l s='Take advantage of our exclusive offers:' mod='onepagecheckoutps'}

    {foreach from=$cart.discounts item=discount}
  • {$discount.code} - {$discount.name}
  • {/foreach}
{/if}
{/if} {* *}
{/block}