| 2 |
lars |
1 |
<!-- $Id: update_versand.tpl 2392 2022-10-06 14:16:38Z tiefland $ BEGIN -->
|
|
|
2 |
{if $ini.weban_vk.aktiv==1}
|
|
|
3 |
<script>
|
|
|
4 |
$(function(){
|
|
|
5 |
$('#accordion').accordion({
|
|
|
6 |
heightStyle: "content"
|
|
|
7 |
});
|
|
|
8 |
})
|
|
|
9 |
$('.vkselection').click(function(){
|
|
|
10 |
vk_name=$(this).attr("data-vk-name");
|
|
|
11 |
data={
|
|
|
12 |
vk_name:vk_name
|
|
|
13 |
}
|
|
|
14 |
$.post("/updateSession.php",data,function(html)
|
|
|
15 |
{
|
|
|
16 |
$(".auswahl").html("");
|
|
|
17 |
$('#Versand').val(html);
|
|
|
18 |
$('#auswahl_'+vk_name).html('<img src="/images/webelemente/icon_haken_za.png"/>');
|
|
|
19 |
});
|
|
|
20 |
});
|
|
|
21 |
|
|
|
22 |
$('#vk0').click();
|
|
|
23 |
</script>
|
|
|
24 |
<input type="hidden" name="Versand" id="Versand" value="" />
|
|
|
25 |
<div id="accordion">
|
|
|
26 |
{foreach $versandOptionen as $vkId => $vk}
|
|
|
27 |
<h3 class="vkselection" id="vk{$vkId}" data-vk-name="{$vk.rufname}">
|
|
|
28 |
<div class="za_text">
|
|
|
29 |
<p>
|
|
|
30 |
{$vk.kurz}
|
|
|
31 |
{if $vk.preis > 0}
|
|
|
32 |
zzgl. {$vk.preis|money_format}
|
|
|
33 |
{elseif $vk.preis == 0}
|
|
|
34 |
|
|
|
35 |
{elseif $vk.preis < 0}
|
|
|
36 |
{$vk.preis|abs}% des Warenwertes
|
|
|
37 |
{/if}
|
|
|
38 |
{if $vk.rufname=="nachnahme"}
|
|
|
39 |
+ Nachnahmegebühr, welche vom Auslieferer erhoben wird.
|
|
|
40 |
{/if}
|
|
|
41 |
</p>
|
|
|
42 |
</div>
|
|
|
43 |
<div class="auswahl" id="auswahl_{$vk.rufname}" ></div>
|
|
|
44 |
<div class="za_logo"><img src="/images/webelemente/za_{$vk.rufname}.svg" onerror="this.src='/images/webelemente/za_{$vk.rufname}.png'" /></div>
|
|
|
45 |
</h3>
|
|
|
46 |
<div>
|
|
|
47 |
{if $vk.beschr}
|
|
|
48 |
<p>
|
|
|
49 |
{$vk.beschr}
|
|
|
50 |
</p>
|
|
|
51 |
{/if}
|
|
|
52 |
</div>
|
|
|
53 |
{/foreach}
|
|
|
54 |
</div>
|
|
|
55 |
{else}
|
|
|
56 |
<table class="versandauswahl">
|
|
|
57 |
<tr>
|
|
|
58 |
<td colspan="3" style="text-align:right;"><b style="color:#666;vertical-align:bottom;">Gesamtzuschlag</td>
|
|
|
59 |
</tr>
|
|
|
60 |
|
|
|
61 |
{foreach $versandOptionen AS $vk}
|
|
|
62 |
|
|
|
63 |
<tr>
|
|
|
64 |
<td width="15" valign="top">
|
|
|
65 |
<input class="radio_toggle_versand" type="radio" class="radio" id="vInput_{$vk.ID}" name="Versand" value="{$vk.ID}" {$vk.checked}
|
|
|
66 |
/>
|
|
|
67 |
</td>
|
|
|
68 |
<td valign="top" align="left">
|
|
|
69 |
<span class="versandTitle">
|
|
|
70 |
|
|
|
71 |
<label class="toggle_versand" style="cursor:pointer;" for="vInput_{$vk.ID}" id="{$vk.ID}">
|
|
|
72 |
{$vk.kurz}
|
|
|
73 |
|
|
|
74 |
{if $vk.preis > 0}
|
|
|
75 |
zzgl. {$vk.preis|money_format}
|
|
|
76 |
{elseif $vk.preis == 0}
|
|
|
77 |
|
|
|
78 |
{elseif $vk.preis < 0}
|
|
|
79 |
{$vk.preis|abs}% des Warenwertes
|
|
|
80 |
{/if}
|
|
|
81 |
{if $vk.rufname=="nachnahme"}
|
|
|
82 |
+ Nachnahmegebühr, welche vom Auslieferer erhoben wird.
|
|
|
83 |
{/if}
|
|
|
84 |
{if $ini.modules.versandkosten_beschreibung == "overlib"}
|
|
|
85 |
<a style="cursor:pointer;" onmouseover="return overlib('{$vk.beschr}',CAPTION,'{$vk.kurz}', WIDTH, {$ini.modules.parse_desc_width});" onmouseout="nd();">[?]</a>
|
|
|
86 |
{/if}
|
|
|
87 |
</label>
|
|
|
88 |
</span>
|
|
|
89 |
{if $ini.modules.versandkosten_beschreibung != "overlib"}
|
|
|
90 |
<div class="versandinfo" id="v_{$vk.ID}">
|
|
|
91 |
{$vk.beschr}
|
|
|
92 |
</div>
|
|
|
93 |
{/if}
|
|
|
94 |
</td>
|
|
|
95 |
<td style="color:#666;min-width:77px;text-align:right;">
|
|
|
96 |
{$vk.gesamt|money_format}
|
|
|
97 |
</td>
|
|
|
98 |
</tr>
|
|
|
99 |
|
|
|
100 |
{/foreach}
|
|
|
101 |
</table>
|
|
|
102 |
|
|
|
103 |
<script>
|
|
|
104 |
$('.toggle_versand').click(function()
|
|
|
105 |
{
|
|
|
106 |
var v_id = $(this).attr('id');
|
|
|
107 |
$('.versandinfo').css('display','none');
|
|
|
108 |
$('#v_'+v_id).toggle('slow');
|
|
|
109 |
|
|
|
110 |
});
|
|
|
111 |
$('.radio_toggle_versand').click(function()
|
|
|
112 |
{
|
|
|
113 |
var v_id = $(this).attr('id');
|
|
|
114 |
v_id=v_id.split("_");
|
|
|
115 |
v_id=v_id[1];
|
|
|
116 |
$('.versandinfo').css('display','none');
|
|
|
117 |
$('#v_'+v_id).toggle('slow');
|
|
|
118 |
|
|
|
119 |
});
|
|
|
120 |
|
|
|
121 |
</script>
|
|
|
122 |
{/if}
|
|
|
123 |
<!-- $Id: update_versand.tpl 2392 2022-10-06 14:16:38Z tiefland $ END -->
|