This commit is contained in:
Roman Pyrih
2025-06-03 13:05:55 +02:00
parent 4e05b19379
commit 36f17c145b
7 changed files with 143 additions and 96 deletions

View File

@@ -14,9 +14,15 @@
<span class="notification-title"><i class="material-icons">&#xE876;</i></span> <span class="notification-title"><i class="material-icons">&#xE876;</i></span>
*} *}
<strong class="noti product-name"></strong> <strong class="noti product-name"></strong>
<span class="noti noti-update">{l s='The product has been updated in your shopping cart' mod='leofeature'}</span> <span
<span class="noti noti-delete">{l s='The product has been removed from your shopping cart' mod='leofeature'}</span> class="noti noti-update">{l s='The product has been updated in your shopping cart' mod='leofeature'}</span>
<span class="noti noti-add"><strong class="noti-special"></strong> {l s='Product successfully added to your shopping cart' mod='leofeature'}</span> <span
class="noti noti-delete">{l s='The product has been removed from your shopping cart' mod='leofeature'}</span>
<span class="noti noti-add">
<strong class="noti-special"></strong>
<br />
{l s='Product successfully added to your shopping cart' mod='leofeature'}
</span>
<span class="notification-close">X</span> <span class="notification-close">X</span>
</div> </div>
@@ -31,7 +37,8 @@
<span class="noti noti-update">{l s='Error updating' mod='leofeature'}</span> <span class="noti noti-update">{l s='Error updating' mod='leofeature'}</span>
<span class="noti noti-delete">{l s='Error deleting' mod='leofeature'}</span> <span class="noti noti-delete">{l s='Error deleting' mod='leofeature'}</span>
<span class="noti noti-add">{l s='Error adding. Please go to product detail page and try again' mod='leofeature'}</span> <span
class="noti noti-add">{l s='Error adding. Please go to product detail page and try again' mod='leofeature'}</span>
<span class="notification-close">X</span> <span class="notification-close">X</span>
@@ -44,7 +51,8 @@
{* {*
<span class="notification-title"><i class="material-icons">&#xE645;</i></span> <span class="notification-title"><i class="material-icons">&#xE645;</i></span>
*} *}
<span class="noti noti-min">{l s='The minimum purchase order quantity for the product is' mod='leofeature'} <strong class="noti-special"></strong></span> <span class="noti noti-min">{l s='The minimum purchase order quantity for the product is' mod='leofeature'}
<strong class="noti-special"></strong></span>
<span class="noti noti-max">{l s='There are not enough products in stock' mod='leofeature'}</span> <span class="noti noti-max">{l s='There are not enough products in stock' mod='leofeature'}</span>
<span class="notification-close">X</span> <span class="notification-close">X</span>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -5691,3 +5691,26 @@ body {
} }
} }
} }
.card > .checkout {
.btn.btn-primary {
text-wrap: auto;
}
}
#promo-code {
.promo-code {
form {
@media (max-width: 400px) {
.promo-input {
width: 100%;
}
.btn.btn-primary {
top: 0;
margin-top: 10px;
width: 100%;
}
}
}
}
}

View File

@@ -30,15 +30,26 @@
</div> </div>
<div class="media-body"> <div class="media-body">
<span class="product-name">{$product.name}</span> <span class="product-name">{$product.name}</span>
<span class="product-quantity">x{$product.quantity}</span> {* <span class="product-quantity">x{$product.quantity}</span> *}
<span class="product-price float-xs-right">{$product.price}</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"} {hook h='displayProductPriceBlock' product=$product type="unit_price"}
{foreach from=$product.attributes key="attribute" item="value"} {foreach from=$product.attributes key="attribute" item="value"}
<div class="product-line-info product-line-info-secondary text-muted"> <div class="product-line-info product-line-info-secondary text-muted">
<span class="label">{$attribute}:</span> <span class="label">{$attribute}:</span>
<span class="value">{$value}</span> <span class="value"><strong>{$value}</strong></span>
</div> </div>
{/foreach} {/foreach}
<br/> <br />
</div> </div>
{/block} {/block}

View File

@@ -45,9 +45,11 @@
{if is_array($product.customizations) && $product.customizations|count} {if is_array($product.customizations) && $product.customizations|count}
{foreach from=$product.customizations item="customization"} {foreach from=$product.customizations item="customization"}
<div class="customizations"> <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>
<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-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@@ -85,7 +87,8 @@
</div> </div>
<div class="col-sm-6 col-xs-12 qty"> <div class="col-sm-6 col-xs-12 qty">
<div class="row"> <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-2">{$product.quantity}</div>
<div class="col-xs-5 text-xs-right bold">{$product.total}</div> <div class="col-xs-5 text-xs-right bold">{$product.total}</div>
</div> </div>
@@ -104,12 +107,12 @@
</tr> </tr>
{/if} {/if}
{/foreach} {/foreach}
{if $subtotals.tax.label !== null} {* {if $subtotals.tax.label !== null}
<tr class="sub"> <tr class="sub">
<td>{$subtotals.tax.label}</td> <td>{$subtotals.tax.label}</td>
<td>{$subtotals.tax.value}</td> <td>{$subtotals.tax.value}</td>
</tr> </tr>
{/if} {/if} *}
<tr class="font-weight-bold"> <tr class="font-weight-bold">
<td><span class="text-uppercase">{$totals.total.label}</span> {$labels.tax_short}</td> <td><span class="text-uppercase">{$totals.total.label}</span> {$labels.tax_short}</td>
<td>{$totals.total.value}</td> <td>{$totals.total.value}</td>

View File

@@ -5,9 +5,9 @@
* @copyright Apollotheme * @copyright Apollotheme
* @description: ApPageBuilder is module help you can build content for your shop * @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"> <section id="content-hook_order_confirmation" class="card">
<div class="card-block"> <div class="card-block">
<div class="row"> <div class="row">
@@ -44,9 +44,9 @@
</div> </div>
</div> </div>
</section> </section>
{/block} {/block}
{block name='page_content_container'} {block name='page_content_container'}
<section id="content" class="page-content page-order-confirmation card"> <section id="content" class="page-content page-order-confirmation card">
<div class="card-block"> <div class="card-block">
<div class="row"> <div class="row">
@@ -62,7 +62,9 @@
{/block} {/block}
{block name='order_details'} {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 --> <!-- // End Offer Conversion -->
<div id="order-details" class="col-md-4"> <div id="order-details" class="col-md-4">
<h3 class="h3 card-title">{l s='Order details' d='Shop.Theme.Checkout'}:</h3> <h3 class="h3 card-title">{l s='Order details' d='Shop.Theme.Checkout'}:</h3>
@@ -87,7 +89,7 @@
{block name='hook_payment_return'} {block name='hook_payment_return'}
{if ! empty($HOOK_PAYMENT_RETURN)} {if ! empty($HOOK_PAYMENT_RETURN)}
<section id="content-hook_payment_return" class="card definition-list"> <section id="content-hook_payment_return" class="1 card definition-list">
<div class="card-block"> <div class="card-block">
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
@@ -119,4 +121,4 @@
{hook h='displayOrderConfirmation2'} {hook h='displayOrderConfirmation2'}
</section> </section>
{/block} {/block}
{/block} {/block}