shop-old/themes/easyshop_advanced/templates/content_shipping_info.tpl
2026-04-20 01:03:43 +02:00

76 lines
3.1 KiB
Smarty

<!-- template content_shipping_info.tpl -->
<div class="full_box">
<div class="title_wrapper">
<h1>{$template_text.default.shipping_cost}</h1>
</div>
<div class="box_content">
<div class="box_padder">
{foreach $countries as $country}
{if !$country.delivery_methods && !$country.payment_methods}
{else}
<div class="country_wrapper">
<h4>{$country.name}</h4>
{if $country.delivery_methods}
<div class="title" style="font-weight:bold;">{$template_text.default.shipping_charges}:</div>
{foreach $country.delivery_methods as $delivery_method}
{if $delivery_method.cost_type == 1}
<div class="title">{$delivery_method.name}: Gewichtsabhängig{if $delivery_method.bulk_goods_price_add > 0}, {$delivery_method.bulk_goods_price_add|number_format:"2":",":"."} &euro; Sperrgutaufschlag{/if} {if $delivery_method.shipping_free_price > 0}(Versandkostenfrei ab {$delivery_method.shipping_free_price|number_format:"2":",":"."} &euro; {$template_text.shipping_info.from_order_sum}){/if}</div>
{else}
<div class="title">{$delivery_method.name}: {$delivery_method.price} &euro; {if $delivery_method.shipping_free_price > 0}(Versandkostenfrei ab {$delivery_method.shipping_free_price|number_format:"2":",":"."} &euro; {$template_text.shipping_info.from_order_sum}){/if}</div>
{/if}
{/foreach}
{else}
<div class="title">{$template_text.shipping_info.not_delivery_country_text}</div>
{/if}
<br />
{if $country.payment_methods}
<div class="title" style="font-weight:bold;">{$template_text.default.payment_charges}:</div>
{foreach $country.payment_methods as $payment_method}
<div>
{if $payment_method.active == '0'}
{* {$payment_method.name} Ist in diesen Land nicht verf&uuml;gbar *}
{elseif $payment_method.active == '1'}
{$payment_method.name}
{if $payment_method.add == '0.00'}
-
{elseif $payment_method.type == '0'}
zzgl. {$payment_method.add} &euro;
{elseif $payment_method.type == '1'}
abzgl. {$payment_method.add} &euro;
{elseif $payment_method.type == '2'}
zzgl. {$payment_method.add} %
{elseif $payment_method.type == '3'}
abzgl. {$payment_method.add} %
{/if}
{elseif $payment_method.active == '2'}
{$payment_method.name} Ist in diesen Land für manche Kunden verfügbar
{if $payment_method.type == '0'}
zzgl. {$payment_method.add} &euro;
{elseif $payment_method.type == '1'}
abzgl. {$payment_method.add} &euro;
{elseif $payment_method.type == '2'}
zzgl. {$payment_method.add} %
{elseif $payment_method.type == '3'}
abzgl. {$payment_method.add} %
{/if}
{/if}
</div>
{/foreach}
{else}
<p>{$template_text.shipping_info.not_sale_country_text}</p>
{/if}
</div>
{/if}
{if $country@iteration is even}
<div class="clear"></div>
{/if}
{/foreach}
<div style="clear:both;"></div>
</div>
</div>
</div>
<!-- template content_shipping_info.tpl -->