Save
This commit is contained in:
@@ -30,15 +30,26 @@
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<span class="product-name">{$product.name}</span>
|
||||
<span class="product-quantity">x{$product.quantity}</span>
|
||||
<span class="product-price float-xs-right">{$product.price}</span>
|
||||
{* <span class="product-quantity">x{$product.quantity}</span> *}
|
||||
{* <span class="product-price float-xs-right">{$product.price}</span> *}
|
||||
|
||||
<div class="product-line-info product-line-info-secondary text-muted">
|
||||
<span class="label">ILOŚĆ:</span>
|
||||
<span class="value"><strong>{$product.quantity}</strong></span>
|
||||
</div>
|
||||
|
||||
<div class="product-line-info product-line-info-secondary text-muted">
|
||||
<span class="label">CENA POJEDYNCZA:</span>
|
||||
<span class="value"><strong>{$product.price}</strong></span>
|
||||
</div>
|
||||
|
||||
{hook h='displayProductPriceBlock' product=$product type="unit_price"}
|
||||
{foreach from=$product.attributes key="attribute" item="value"}
|
||||
<div class="product-line-info product-line-info-secondary text-muted">
|
||||
<span class="label">{$attribute}:</span>
|
||||
<span class="value">{$value}</span>
|
||||
</div>
|
||||
<div class="product-line-info product-line-info-secondary text-muted">
|
||||
<span class="label">{$attribute}:</span>
|
||||
<span class="value"><strong>{$value}</strong></span>
|
||||
</div>
|
||||
{/foreach}
|
||||
<br/>
|
||||
<br />
|
||||
</div>
|
||||
{/block}
|
||||
{/block}
|
||||
@@ -41,13 +41,15 @@
|
||||
<div class="col-sm-4 col-xs-9 details">
|
||||
{if $add_product_link}<a href="{$product.url}" target="_blank">{/if}
|
||||
<span>{$product.name}</span>
|
||||
{if $add_product_link}</a>{/if}
|
||||
{if $add_product_link}</a>{/if}
|
||||
{if is_array($product.customizations) && $product.customizations|count}
|
||||
{foreach from=$product.customizations item="customization"}
|
||||
<div class="customizations">
|
||||
<a href="#" data-toggle="modal" data-target="#product-customizations-modal-{$customization.id_customization}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
|
||||
<a href="#" data-toggle="modal"
|
||||
data-target="#product-customizations-modal-{$customization.id_customization}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
|
||||
</div>
|
||||
<div class="modal fade customization-modal" id="product-customizations-modal-{$customization.id_customization}" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal fade customization-modal" id="product-customizations-modal-{$customization.id_customization}"
|
||||
tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
@@ -85,7 +87,8 @@
|
||||
</div>
|
||||
<div class="col-sm-6 col-xs-12 qty">
|
||||
<div class="row">
|
||||
<div class="col-xs-5 text-sm-right text-xs-left">{$product.price}</div>
|
||||
{* <div class="col-xs-5 text-sm-right text-xs-left">{$product.price}</div> *}
|
||||
<div class="col-xs-5 text-sm-right text-xs-left"></div>
|
||||
<div class="col-xs-2">{$product.quantity}</div>
|
||||
<div class="col-xs-5 text-xs-right bold">{$product.total}</div>
|
||||
</div>
|
||||
@@ -104,12 +107,12 @@
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $subtotals.tax.label !== null}
|
||||
{* {if $subtotals.tax.label !== null}
|
||||
<tr class="sub">
|
||||
<td>{$subtotals.tax.label}</td>
|
||||
<td>{$subtotals.tax.value}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/if} *}
|
||||
<tr class="font-weight-bold">
|
||||
<td><span class="text-uppercase">{$totals.total.label}</span> {$labels.tax_short}</td>
|
||||
<td>{$totals.total.value}</td>
|
||||
@@ -118,4 +121,4 @@
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -5,80 +5,82 @@
|
||||
* @copyright Apollotheme
|
||||
* @description: ApPageBuilder is module help you can build content for your shop
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_content_container' prepend}
|
||||
{block name='page_content_container' prepend}
|
||||
<section id="content-hook_order_confirmation" class="card">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
{block name='order_confirmation_header'}
|
||||
<h3 class="h1 card-title">
|
||||
<i class="material-icons rtl-no-flip done"></i>{l s='Your order is confirmed'
|
||||
d='Shop.Theme.Checkout'}
|
||||
</h3>
|
||||
<h3 class="h1 card-title">
|
||||
<i class="material-icons rtl-no-flip done"></i>{l s='Your order is confirmed'
|
||||
d='Shop.Theme.Checkout'}
|
||||
</h3>
|
||||
{/block}
|
||||
|
||||
<p>
|
||||
{l s='An email has been sent to your mail address %email%.' d='Shop.Theme.Checkout' sprintf=['%email%' =>
|
||||
$customer.email]}
|
||||
$customer.email]}
|
||||
{if $order.details.invoice_url}
|
||||
{* [1][/1] is for a HTML tag. *}
|
||||
{l
|
||||
s='You can also [1]download your invoice[/1]'
|
||||
d='Shop.Theme.Checkout'
|
||||
sprintf=[
|
||||
'[1]' => "<a href='{$order.details.invoice_url}'>",
|
||||
{* [1][/1] is for a HTML tag. *}
|
||||
{l
|
||||
s='You can also [1]download your invoice[/1]'
|
||||
d='Shop.Theme.Checkout'
|
||||
sprintf=[
|
||||
'[1]' => "<a href='{$order.details.invoice_url}'>",
|
||||
'[/1]' => "</a>"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
{block name='hook_order_confirmation'}
|
||||
{$HOOK_ORDER_CONFIRMATION nofilter}
|
||||
{$HOOK_ORDER_CONFIRMATION nofilter}
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/block}
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-content page-order-confirmation card">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
{block name='order_confirmation_table'}
|
||||
{include
|
||||
file='checkout/_partials/order-confirmation-table.tpl'
|
||||
products=$order.products
|
||||
subtotals=$order.subtotals
|
||||
totals=$order.totals
|
||||
labels=$order.labels
|
||||
add_product_link=false
|
||||
}
|
||||
{include
|
||||
file='checkout/_partials/order-confirmation-table.tpl'
|
||||
products=$order.products
|
||||
subtotals=$order.subtotals
|
||||
totals=$order.totals
|
||||
labels=$order.labels
|
||||
add_product_link=false
|
||||
}
|
||||
{/block}
|
||||
|
||||
{block name='order_details'}
|
||||
<iframe src="https://alerabat.go2cloud.org/aff_l?offer_id=367&adv_sub={$order.details.reference}&amount={$total_paid_tax_excl}" scrolling="no" frameborder="0" width="1" height="1"></iframe>
|
||||
<iframe
|
||||
src="https://alerabat.go2cloud.org/aff_l?offer_id=367&adv_sub={$order.details.reference}&amount={$total_paid_tax_excl}"
|
||||
scrolling="no" frameborder="0" width="1" height="1"></iframe>
|
||||
<!-- // End Offer Conversion -->
|
||||
<div id="order-details" class="col-md-4">
|
||||
<h3 class="h3 card-title">{l s='Order details' d='Shop.Theme.Checkout'}:</h3>
|
||||
<ul>
|
||||
<li>{l s='Order reference: %reference%' d='Shop.Theme.Checkout' sprintf=['%reference%' =>
|
||||
$order.details.reference]}</li>
|
||||
<li>{l s='Payment method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.details.payment]}
|
||||
</li>
|
||||
{if !$order.details.is_virtual}
|
||||
<li>
|
||||
{l s='Shipping method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.carrier.name]}<br>
|
||||
<em>{$order.carrier.delay}</em>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="order-details" class="col-md-4">
|
||||
<h3 class="h3 card-title">{l s='Order details' d='Shop.Theme.Checkout'}:</h3>
|
||||
<ul>
|
||||
<li>{l s='Order reference: %reference%' d='Shop.Theme.Checkout' sprintf=['%reference%' =>
|
||||
$order.details.reference]}</li>
|
||||
<li>{l s='Payment method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.details.payment]}
|
||||
</li>
|
||||
{if !$order.details.is_virtual}
|
||||
<li>
|
||||
{l s='Shipping method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.carrier.name]}<br>
|
||||
<em>{$order.carrier.delay}</em>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
@@ -86,37 +88,37 @@
|
||||
</section>
|
||||
|
||||
{block name='hook_payment_return'}
|
||||
{if ! empty($HOOK_PAYMENT_RETURN)}
|
||||
<section id="content-hook_payment_return" class="card definition-list">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{$HOOK_PAYMENT_RETURN nofilter}
|
||||
{if ! empty($HOOK_PAYMENT_RETURN)}
|
||||
<section id="content-hook_payment_return" class="1 card definition-list">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{$HOOK_PAYMENT_RETURN nofilter}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/if}
|
||||
</section>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='customer_registration_form'}
|
||||
{if $customer.is_guest}
|
||||
<div id="registration-form" class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="h4">{l s='Save time on your next order, sign up now' d='Shop.Theme.Checkout'}</h4>
|
||||
{render file='customer/_partials/customer-form.tpl' ui=$register_form}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $customer.is_guest}
|
||||
<div id="registration-form" class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="h4">{l s='Save time on your next order, sign up now' d='Shop.Theme.Checkout'}</h4>
|
||||
{render file='customer/_partials/customer-form.tpl' ui=$register_form}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='hook_order_confirmation_1'}
|
||||
{hook h='displayOrderConfirmation1'}
|
||||
{hook h='displayOrderConfirmation1'}
|
||||
{/block}
|
||||
|
||||
{block name='hook_order_confirmation_2'}
|
||||
<section id="content-hook-order-confirmation-footer">
|
||||
{hook h='displayOrderConfirmation2'}
|
||||
</section>
|
||||
<section id="content-hook-order-confirmation-footer">
|
||||
{hook h='displayOrderConfirmation2'}
|
||||
</section>
|
||||
{/block}
|
||||
{/block}
|
||||
{/block}
|
||||
Reference in New Issue
Block a user