PDF rausgenommen

This commit is contained in:
aschwarz
2023-01-23 11:03:31 +01:00
parent 82d562a322
commit a6523903eb
28078 changed files with 4247552 additions and 2 deletions

View File

@ -0,0 +1,31 @@
{if $best_sellers_block}
<!-- best_sellers -->
<div class="mb-60">
<h4>{$block_heading_best_sellers}</h4>
<div><!-- slide -->
<ul class="list-unstyled m-0 p-0 text-left">
{foreach name=best item=best_seller from=$best_sellers_list}
<li class="clearfix"><!-- item -->
{if $smarty.const.BLOCK_BEST_SELLERS_IMAGE eq 'true'}
<div class="thumbnail featured clearfix float-left">
<a href="{product_link products_id=$best_seller.products_id}">
{product_image dir=small image=$best_seller.products_image alt=$best_seller.products_name}
</a>
</div>
{/if}
<a class="block fs-12" href="{product_link products_id=$best_seller.products_id}">{$best_seller.products_name|truncate:17:"":true|close_tags}</a>
{*
todo
<div class="rating rating-4 fs-13 fw-100 text-left"><!-- rating-0 ... rating-5 --></div>
<div class="fs-18 text-left">00.00 €</div>
*}
</li><!-- /item -->
{/foreach}
</ul>
</div><!-- /slide -->
</div>
<!-- /best_sellers -->
{/if}

View File

@ -0,0 +1,23 @@
<!-- categories -->
<div class="side-nav mb-60">
<div class="side-nav-head">
<button class="fa fa-bars"></button>
<h4>{$block_heading_categories}</h4>
</div>
<ul class="list-group list-group-bordered list-group-noicon">
{foreach item=category from=$categories}
{if $category.isGroupStart eq 1}<ul>{/if}
{if $category.isActive eq 1}
<li class="list-group-item active"><a href="{if $category.parent eq 0}{html_href_link content=$filename.shop category=$category.counter}{else}{html_href_link content=$filename.shop category=$category.path}{/if}" title=" {$category.name} "><span class="fs-11 text-muted float-right">({$category.countProductsInCategory})</span><strong>{$category.name}</strong></a></li>
{else}
<li class="list-group-item"><a href="{if $category.parent eq 0}{html_href_link content=$filename.shop category=$category.counter}{else}{html_href_link content=$filename.shop category=$category.path}{/if}" title=" {$category.name} "><span class="fs-11 text-muted float-right">({$category.countProductsInCategory})</span>{$category.name}</a></li>
{/if}
{if $category.isGroupEnd eq 1}</ul>{/if}
{/foreach}
</ul>
</div>
<!-- /categories -->

View File

@ -0,0 +1,29 @@
{if $manufacturers_block}
<!-- manufacturers -->
<div class="side-nav mb-60">
<div class="side-nav-head">
<button class="fa fa-bars"></button>
<h4>{$block_heading_manufacturers}</h4>
</div>
{if $display_a_list}
<ul class="list-group list-unstyled">
{foreach item=manufacturer from=$manufacturers_list}
<li class="list-group-item"><a href="{html_href_link content=$filename.shop manufacturers_id=$manufacturer.id}">{$manufacturer.name}</a></li>
{/foreach}
</ul>
{else}
<form name="manufacturers" action="{html_get_link}" method="GET" role="form">
<input type="hidden" name="content" value="{$filename.shop}">
{if $mySystem.sed}
<input type="hidden" name="{$mySystem.session_name}" value="{$mySystem.session_id}">
<input type="hidden" name="formid" value="{$mySystem.formid}">
{/if}
<select name="manufacturers_id" onChange="this.form.submit();" size="{$smarty.const.MAX_MANUFACTURERS_LIST}" style="width: 100%">{html_options values=$manufacturers_values selected=$select_manufacturers output=$manufacturers_names}</select>
</form>
{/if}
</div>
<!-- /manufacturers -->
{/if}

View File

@ -0,0 +1,34 @@
{if $products_history_block}
<!-- products_history -->
<div class="mb-60">
<h4>{$block_heading_products_history}</h4>
<div><!-- slide -->
<ul class="list-unstyled m-0 p-0 text-left">
{foreach name=history item=products_history from=$customer_products_history}
<li class="clearfix"><!-- item -->
<div class="thumbnail featured clearfix float-left">
<a href="{product_link products_id=$products_history.products_id}">
{product_image dir=min image=$products_history.products_image alt=$products_history.products_name}
</a>
</div>
<div class="block">
<a class="block fs-12" href="{product_link products_id=$products_history.products_id}">{$products_history.products_name|truncate:11:"":true|close_tags}</a>
{*
todo
<div class="rating rating-4 fs-13 fw-100 text-left"><!-- rating-0 ... rating-5 --></div>
<div class="fs-18 text-left">00.00 €</div>
*}
{if $myUser.show_price eq 1 }
<a href="{html_href_link content=$page_file oos_get=$get_params action=buy_now products_id=$products_history.products_id}" class="btn btn-secondary float-right" role="button"><i class="fa fa-shopping-cart" aria-hidden="true"></i></a>
{/if}
</div>
</li><!-- /item -->
{/foreach}
</ul>
</div><!-- /slide -->
</div>
<!-- /products_historys -->
{/if}

View File

@ -0,0 +1,28 @@
{if $oEvent->installed_plugin('reviews')}
<div class="mb-60">
<h4>{$block_heading_reviews}</h4>
{if $random_product.reviews_text}
<div class="text-center">
<a href="{html_href_link content=$filename.product_reviews_info products_id=$random_product.products_id reviews_id=$random_product.reviews_id}">
{product_image dir=small image=$random_product.products_image alt=$random_product.products_name}
</a>
</div>
<div class="fs-12 text-left">
<a href="{html_href_link content=$filename.product_reviews_info products_id=$random_product.products_id reviews_id=$random_product.reviews_id}">
{$random_product.reviews_text|strip|truncate:55:"...":true|close_tags}
</a>
</div>
<div class="rating rating-{$random_product.reviews_rating} fs-13 fw-100 text-center"><!-- rating-0 ... rating-5 --></div>
{elseif (isset($smarty.get.products_id))}
<ul class="list-group list-unstyled">
<li class="list-group-item"><a href="{html_href_link content=$filename.product_reviews_write products_id=$smarty.get.products_id}">{$lang.button_write_review}</a></li>
<li class="list-group-item"><a href="{html_href_link content=$filename.product_reviews_write products_id=$smarty.get.products_id}">{$lang.block_reviews_write_review}</a></li>
</ul>
{else}
{$lang.block_reviews_no_reviews}
{/if}
</div>
{/if}

View File

@ -0,0 +1,27 @@
{if $specials_block}
<!-- specials -->
<div class="mb-60">
<h4>{$block_heading_specials}</h4>
<div class="text-center">
<a href="{product_link products_id=$specials_random_product.products_id}">
{product_image dir=small image=$specials_random_product.products_image alt=$specials_random_product.products_name}
</a>
</div>
<div class="text-center">
<a href="{product_link products_id=$specials_random_product.products_id}">{$specials_random_product.products_name}</a>
</div>
{if $myUser.show_price eq 1 }
<div class="text-center">
<s>{$specials_random_product_price}</s><br>
<span class="special_price">{$specials_random_product_special_price}</span><br>
{if $specials_random_product.products_base_price != 1}
{$specials_random_product.products_product_quantity} {$products_units[$specials_random_product.products_units_id]}
<span class="special_base_price">{$specials_random_base_product_special_price}/{$products_units[$specials_random_product.products_base_unit]}</span><br>{/if}
</div>
{/if}
</div>
<!-- specials -->
{/if}

View File

@ -0,0 +1,29 @@
{if $whats_new_block}
<!-- whats_new -->
<div class="mb-60">
<h4>{$block_heading_whats_new}</h4>
<div class="text-center">
<a href="{product_link products_id=$random_product.products_id}">
{product_image dir=small image=$random_product.products_image alt=$random_product.products_name}
</a>
</div>
<div class="text-center">
<a href="{product_link products_id=$random_product.products_id}">{$random_product.products_name|truncate:18:"":true|close_tags}</a>
</div>
{if $myUser.show_price eq 1 }
<div class="text-center">
{if (!empty($whats_new_special_price))}
<s>{$whats_new_product_price}</s><br>
<span class="special_price">{$whats_new_product_special_price}</span>
{else}
{$whats_new_product_price}
{/if}
{if $random_product.products_base_price != 1}<br>{$random_product.products_product_quantity}{$products_units[$random_product.products_units_id]} <span class="base_price">({$whats_new_base_product_price}/{$products_units[$random_product.products_base_unit]})</span>{/if}
</div>
{/if}
</div>
<!-- /whats_new -->
{/if}