This commit is contained in:
2025-08-07 21:17:15 +02:00
parent f36ca88abf
commit af479e7974
37 changed files with 72 additions and 55 deletions

View File

@@ -54,11 +54,7 @@
{hook h='displayLeoWishlistButton' product=$product}
<div class="quickview{if !$product.main_variants} no-variants{/if} hidden-sm-down">
<a
href="#"
class="quick-view"
data-link-action="quickview" title="{l s='Add to cart' d='Shop.Theme.Actions'}"
>
<a href="{$product.url}" class="quick-view" title="{l s='Add to cart' d='Shop.Theme.Actions'}">
<span class="leo-quickview-bt-loading cssload-speeding-wheel"></span>
<span class="leo-quickview-bt-content">
{* <i class="material-icons search">&#xE8B6;</i> *}
@@ -87,7 +83,7 @@
</div>
{literal}
<script type="text/javascript">
function registerWidget (w, token) {
w['_ekomiWidgetsServerUrl'] = 'https://widgets.ekomi.com';
w['_customerId'] = 147976;
@@ -95,7 +91,7 @@
w['_language'] = new Array();
}
w['_language'][token] = 'auto';
if(typeof(w['_ekomiWidgetTokens']) !== 'undefined'){
w['_ekomiWidgetTokens'][w['_ekomiWidgetTokens'].length] = token;
} else {
@@ -105,7 +101,7 @@
ekomiWidgetJs = true;
var scr = document.createElement('script');scr.src = 'https://sw-assets.ekomiapps.de/static_resources/widget.js';
var head = document.getElementsByTagName('head')[0];head.appendChild(scr);
} else {if (typeof ekomiWidgetMain != 'undefined') {ekomiWidgetMain('ajax', token);}}
return true;
}
@@ -116,7 +112,7 @@
})(window);
</script>
{/literal}
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
{block name='product_price_and_shipping'}
{if $product.show_price}

View File

@@ -1,4 +1,4 @@
{*
{*
* @Module Name: AP Page Builder
* @Website: apollotheme.com - prestashop template provider
* @author Apollotheme <apollotheme@gmail.com>
@@ -26,7 +26,7 @@
</a>
{/block}
{if $product.has_discount}
{if $product.has_discount}
{if $product.discount_type === 'percentage'}
<span class="discount-percentage">{$product.discount_percentage}</span>
{/if}
@@ -54,20 +54,20 @@
<div class="product-price-and-shipping">
{hook h='displayProductPriceBlock' product=$product type="before_price"}
<span class="price" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span itemprop="priceCurrency" content="{$currency.iso_code}"></span><span itemprop="price" content="{$product.price_amount}">{$product.price}</span>
</span>
</span>
{if $product.has_discount}
{hook h='displayProductPriceBlock' product=$product type="old_price"}
<span class="regular-price">{$product.regular_price}</span>
{/if}
{hook h='displayProductPriceBlock' product=$product type='unit_price'}
{hook h='displayProductPriceBlock' product=$product type='weight'}
@@ -85,25 +85,25 @@
{hook h='displayLeoWishlistButton' product=$product}
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
<div class="quickview{if !$product.main_variants} no-variants{/if} hidden-sm-down">
{* <div class="quickview{if !$product.main_variants} no-variants{/if} hidden-sm-down">
<a
href="#"
class="quick-view"
data-link-action="quickview"
title="{l s='Quick view'}"
>
<span class="leo-quickview-bt-loading cssload-speeding-wheel"></span>
<span class="leo-quickview-bt-loading cssload-speeding-wheel"></span>
<span class="leo-quickview-bt-content">
<i class="icon-font icon-eye"></i>
<span>{l s='Quick view'}</span>
</span>
</a>
</div>
</div> *}
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
{hook h='displayLeoCompareButton' product=$product}
</div></div>
<!-- @file modulesappagebuilderviewstemplatesfrontproductsfile_tpl -->
<!-- @file modulesappagebuilderviewstemplatesfrontproductsfile_tpl -->
<div class="leo-more-cdown" data-idproduct="{$product.id_product}"></div>
</div>