Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions templates/_partials/head.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
{/block}

{block name='head_open_graph'}
<meta property="og:title" content="{$page.meta.title}" />
<meta property="og:description" content="{$page.meta.description}" />
<meta property="og:url" content="{$urls.current_url}" />
<meta property="og:site_name" content="{$shop.name}" />
{if !isset($product) && $page.page_name != 'product'}<meta property="og:type" content="website" />{/if}
<meta property="og:title" content="{$page.meta.title}">
<meta property="og:description" content="{$page.meta.description}">
<meta property="og:url" content="{$urls.current_url}">
<meta property="og:site_name" content="{$shop.name}">
{if !isset($product) && $page.page_name != 'product'}<meta property="og:type" content="website">{/if}
{/block}
{/block}

Expand Down
2 changes: 1 addition & 1 deletion templates/_partials/pagination.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<li class="page-item disabled">
<span class="page-link" aria-hidden="true">&hellip;</span>
</li>
{else if $page.type != "prev" && $page.type != "next"}
{elseif $page.type != "prev" && $page.type != "next"}
<li class="page-item{if $page.current} active{/if}">
<button data-ps-data="{$page.url}"
class="page-link {['js-pager-link' => $page.clickable]|classnames}"
Expand Down
2 changes: 1 addition & 1 deletion templates/catalog/_partials/miniatures/product.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
{if $product.add_to_cart_url}
<form class="{$componentName}__form" action="{$urls.pages.cart}" method="post">
<input type="hidden" value="{$product.id_product}" name="id_product">
<input type="hidden" name="token" value="{$static_token}" />
<input type="hidden" name="token" value="{$static_token}">

<div class="quantity-button js-quantity-button">
{include file='components/qty-input.tpl'
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/cart-detailed-totals.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<span class="cart-summary__value">
{if $subtotal.type === 'discount'}
-{$subtotal.value}
{else if $subtotal.type === 'shipping'}
{elseif $subtotal.type === 'shipping'}
{$subtotal.value}
<small class="cart-summary__value-inner">{hook h='displayCheckoutSubtotalDetails' subtotal=$subtotal}</small>
{else}
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/customer-form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<label class="form-check-label" for="password-form__check">
<span class="fw-bold">{l s='Create an account' d='Shop.Theme.Checkout'}</span> <small class="fw-normal">{l s='(optional)' d='Shop.Theme.Checkout'}</small>
<br />
<br>
<em>{l s='And save time on your next order!' d='Shop.Theme.Checkout'}</em>
</label>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/order-final-summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<span class="grid-table__cell" role="cell" data-ps-label="{l s='Delivery Option' d='Shop.Theme.Checkout'}">
<span class="grid-table__cell-group grid-table__cell-group--sm grid-table__cell-group--inline">
{if $selected_delivery_option.logo}
<img src="{$selected_delivery_option.logo}" class="rounded img-fluid" width="32" height="auto" alt="{$selected_delivery_option.name}" loading="lazy" />
<img src="{$selected_delivery_option.logo}" class="rounded img-fluid" width="32" height="auto" alt="{$selected_delivery_option.name}" loading="lazy">
{/if}

{$selected_delivery_option.name}
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/steps/payment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
data-module-name="{$option.module_name}"
id="{$option.id}"
{if ($selected_payment_option == $option.id || $is_free) || ($payment_options|@count === 1 && $module_options|@count === 1)} checked {/if}
/>
>

<label class="payment-option__label form-check-label" for="{$option.id}">
{if $option.logo}
Expand Down
6 changes: 3 additions & 3 deletions templates/checkout/_partials/steps/shipping.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<div class="delivery-option__carrier {if $carrier.logo} delivery-option__carrier--hasLogo{/if}">
{if $carrier.logo}
<img class="delivery-option__carrier-logo" src="{$carrier.logo}" class="img-fluid" alt="{$carrier.name}" loading="lazy" aria-hidden="true" />
<img class="delivery-option__carrier-logo" src="{$carrier.logo}" class="img-fluid" alt="{$carrier.name}" loading="lazy" aria-hidden="true">
{/if}

<span class="delivery-option__carrier-name">{$carrier.name}</span>
Expand Down Expand Up @@ -67,7 +67,7 @@
{if $recyclablePackAllowed}
<div class="form-check" for="input_recyclable">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" id="input_recyclable" name="recyclable" value="1" {if $recyclable} checked {/if}/>
<input class="form-check-input" type="checkbox" id="input_recyclable" name="recyclable" value="1"{if $recyclable} checked{/if}>
{l s='I would like to receive my order in recycled packaging.' d='Shop.Theme.Checkout'}
</label>
</div>
Expand All @@ -76,7 +76,7 @@
{if $gift.allowed}
<div class="form-check mb-4">
<label class="form-check-label" for="input_gift" data-bs-toggle="collapse" data-bs-target="#gift">
<input class="form-check-input js-gift-checkbox" id="input_gift" name="gift" type="checkbox" value="1" {if $gift.isGift}checked="checked"{/if}/>
<input class="form-check-input js-gift-checkbox" id="input_gift" name="gift" type="checkbox" value="1"{if $gift.isGift} checked="checked"{/if}>
{$gift.label}
</label>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/components/qty-input.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{if !isset($attributes.pattern)}pattern="[0-9]+"{/if}
{if !isset($attributes.value)}value="1"{/if}
{if !isset($attributes.min)}min="1"{/if}
/>
>

<button aria-label="{$increment_label}" class="btn {$append.button} btn-square-icon js-{$append.button}-button" type="button" id="increment_button_{$product.id_product}">
<i class="material-icons" aria-hidden="true">&#x{$append.icon};</i>
Expand Down