1067 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
5765 |
thomas |
4 |
* Template für den ersten Schritt der Kasse
|
1067 |
daniel |
5 |
* Kundendaten etc.
|
|
|
6 |
*/
|
5765 |
thomas |
7 |
|
1067 |
daniel |
8 |
//wpsg_debug($this->view);
|
5765 |
thomas |
9 |
?>
|
3444 |
daniel |
10 |
<script type="text/javascript">/* <![CDATA[ */
|
1306 |
daniel |
11 |
|
|
|
12 |
jQuery(document).ready(function() {
|
2330 |
daniel |
13 |
|
2803 |
daniel |
14 |
<?php if ($this->get_option('wpsg_form_validation') == '1') { ?>
|
|
|
15 |
|
2330 |
daniel |
16 |
if (typeof jQuery.validationEngine == "object")
|
|
|
17 |
{
|
|
|
18 |
|
2803 |
daniel |
19 |
jQuery("#form-step2").validationEngine('attach', {promptPosition : "bottomLeft", scroll: false});
|
1306 |
daniel |
20 |
|
2330 |
daniel |
21 |
jQuery('.wpsg_mod_kundenverwaltung_login').bind('click', function(){
|
2927 |
daniel |
22 |
jQuery("#form-step2").validationEngine('detach');
|
2330 |
daniel |
23 |
});
|
|
|
24 |
|
|
|
25 |
}
|
1306 |
daniel |
26 |
|
2803 |
daniel |
27 |
<?php } else if ($this->get_option('wpsg_form_validation') == '2') { ?>
|
|
|
28 |
|
|
|
29 |
jQuery.validator.addMethod("cRequired", jQuery.validator.methods.required, "<?php echo __('Dieses Feld ist ein Pflichtfeld.', 'wpsg'); ?>");
|
|
|
30 |
jQuery.validator.addClassRules('validate[required]', { cRequired: true } );
|
|
|
31 |
jQuery("#form-step2").validate( {
|
|
|
32 |
ignore: '',
|
|
|
33 |
errorClass: 'wpsg_error',
|
|
|
34 |
onsubmit: false,
|
|
|
35 |
showErrors: function(errorMap, errorList) {
|
|
|
36 |
|
|
|
37 |
this.defaultShowErrors();
|
|
|
38 |
|
|
|
39 |
}
|
|
|
40 |
} );
|
|
|
41 |
|
|
|
42 |
jQuery('#wpsg_checkout2button').bind('click', function() {
|
3021 |
daniel |
43 |
|
|
|
44 |
var bReturn = jQuery('#form-step2').validate().form();
|
|
|
45 |
if (jQuery('#form-step2 input.wpsg_error').length > 0) jQuery('#form-step2 input.wpsg_error')[0].focus();
|
|
|
46 |
return bReturn;
|
|
|
47 |
|
2803 |
daniel |
48 |
} );
|
|
|
49 |
|
|
|
50 |
<?php } ?>
|
3444 |
daniel |
51 |
|
|
|
52 |
jQuery('.wpsg_checkout input').bind('keyup', function(e) {
|
|
|
53 |
|
|
|
54 |
if(e.keyCode == 13)
|
|
|
55 |
{
|
|
|
56 |
jQuery('#wpsg_checkout2button').click();
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
} );
|
2803 |
daniel |
60 |
|
1306 |
daniel |
61 |
} );
|
5765 |
thomas |
62 |
|
|
|
63 |
/* Checkout aktiv, wird Passwortabfrage für Kundenkonto angezeigt */
|
|
|
64 |
function setVisibility2(id) {
|
1306 |
daniel |
65 |
|
5765 |
thomas |
66 |
if(document.getElementById('bt2').value=='Hide Layer'){
|
|
|
67 |
|
|
|
68 |
document.getElementById('bt2').value = 'Show Layer';
|
|
|
69 |
document.getElementById(id).style.display = 'none';
|
|
|
70 |
|
|
|
71 |
}else{
|
|
|
72 |
|
|
|
73 |
document.getElementById('bt2').value = 'Hide Layer';
|
|
|
74 |
document.getElementById(id).style.display = 'inline';
|
|
|
75 |
}
|
|
|
76 |
}
|
|
|
77 |
|
3444 |
daniel |
78 |
/* ]]> */</script>
|
1306 |
daniel |
79 |
|
3444 |
daniel |
80 |
<div class="wpsg wpsg_checkout">
|
2792 |
daniel |
81 |
|
1067 |
daniel |
82 |
<?php echo $this->writeFrontendMessage(); ?>
|
2792 |
daniel |
83 |
|
5201 |
daniel |
84 |
<?php $GLOBALS['step'] = 2; $this->render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?>
|
5013 |
daniel |
85 |
|
1403 |
daniel |
86 |
<form id="form-step2" method="post" action="<?php echo $this->getURL(wpsg_ShopController::URL_BASKET); ?>" enctype="multipart/form-data">
|
1067 |
daniel |
87 |
|
|
|
88 |
<?php /* Einbindung des Logins im Checokut */ ?>
|
|
|
89 |
<?php $this->callMod('wpsg_mod_kundenverwaltung', 'checkout_login'); ?>
|
|
|
90 |
|
2792 |
daniel |
91 |
<div class="wpsg_box" id="wpsg_box_kundendaten">
|
3444 |
daniel |
92 |
|
5581 |
thomas |
93 |
<?php /*Wenn Kunden eingeloggt, oder wenn Kunde nicht eingeloggt */ ?>
|
|
|
94 |
<?php if ($this->callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn')) { ?>
|
5765 |
thomas |
95 |
<h2><?php echo __('Bitte überprüfen Sie Ihre Kundendaten','wpsg');?></h2>
|
5581 |
thomas |
96 |
<?php } else { ?>
|
|
|
97 |
<h2><?php echo __('Bitte geben Sie Ihre Kundendaten ein', 'wpsg'); ?></h2>
|
|
|
98 |
<?php } ?>
|
5765 |
thomas |
99 |
|
3460 |
daniel |
100 |
<div class="wpsg_spacer"></div>
|
1131 |
daniel |
101 |
|
2792 |
daniel |
102 |
<div class="wpsg_inner">
|
5765 |
thomas |
103 |
|
|
|
104 |
<div class="wpsg_checkoutblock" id="wpsg_firma">
|
|
|
105 |
<label for="wpsg_firma"><?php echo __("Firma", "wpsg"); ?>
|
|
|
106 |
<?php if ($this->view['pflicht']['firma'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
107 |
</label>
|
|
|
108 |
<input class="<?php echo (($this->view['pflicht']['firma'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("firma", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[checkout][firma]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['firma']); ?>" />
|
|
|
109 |
</div>
|
|
|
110 |
|
4159 |
thomas |
111 |
<div class="wpsg_checkoutblock" id="wpsg_anrede">
|
2792 |
daniel |
112 |
<label for="wpsg_title"><?php echo __('Anrede', 'wpsg'); ?>
|
|
|
113 |
<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:</label>
|
|
|
114 |
<select class="<?php echo (($this->view['pflicht']['anrede'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_title" name="wpsg[checkout][title]">
|
5765 |
thomas |
115 |
<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
|
2792 |
daniel |
116 |
<?php foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
|
|
|
117 |
<option value="<?php echo wpsg_hspc($t); ?>" <?php echo (($this->view['basket']['checkout']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
|
|
|
118 |
<?php } ?>
|
|
|
119 |
</select>
|
|
|
120 |
</div>
|
|
|
121 |
|
4159 |
thomas |
122 |
<div class="wpsg_checkoutblock" id="wpsg_vorname">
|
2792 |
daniel |
123 |
<label for="vname" class="wpsg_checkout"><?php echo __("Vorname", "wpsg"); ?>
|
|
|
124 |
<?php if ($this->view['pflicht']['vname'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
125 |
</label>
|
|
|
126 |
<input class="<?php echo (($this->view['pflicht']['vname'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("vname", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[checkout][vname]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['vname']); ?>" />
|
|
|
127 |
</div>
|
1131 |
daniel |
128 |
|
4159 |
thomas |
129 |
<div class="wpsg_checkoutblock" id="wpsg_name">
|
2792 |
daniel |
130 |
<label for="name" class="wpsg_checkout"><?php echo __("Name", "wpsg"); ?>
|
2880 |
daniel |
131 |
<?php if ($this->view['pflicht']['name'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
2792 |
daniel |
132 |
</label>
|
|
|
133 |
<input class="<?php echo (($this->view['pflicht']['name'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[checkout][name]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['name']); ?>" />
|
|
|
134 |
</div>
|
|
|
135 |
|
4159 |
thomas |
136 |
<div class="wpsg_checkoutblock" id="wpsg_email">
|
2792 |
daniel |
137 |
<label for="email" class="wpsg_checkout"><?php echo __("E-Mail Adresse", "wpsg"); ?>
|
|
|
138 |
<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
139 |
</label>
|
4904 |
daniel |
140 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['email'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("email", (array)$this->view['error']))?'wpsg_error':''); ?>" type="email" id="email" name="wpsg[checkout][email]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['email']); ?>" />
|
2792 |
daniel |
141 |
</div>
|
|
|
142 |
|
|
|
143 |
<?php if (isset($this->view['pflicht']['emailconfirm']) && $this->view['pflicht']['emailconfirm'] == '1') { ?>
|
4159 |
thomas |
144 |
<div class="wpsg_checkoutblock" id="wpsg_email2">
|
3448 |
daniel |
145 |
<label for="email" class="wpsg_checkout"><?php echo __("E-Mail (Wiederholung)", "wpsg"); ?>
|
2792 |
daniel |
146 |
<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
147 |
</label>
|
4904 |
daniel |
148 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['email'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("email", (array)$this->view['error']))?'wpsg_error':''); ?>" type="email" id="email2" name="wpsg[checkout][email2]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['email2']); ?>" />
|
2792 |
daniel |
149 |
</div>
|
1067 |
daniel |
150 |
<?php } ?>
|
2792 |
daniel |
151 |
|
4159 |
thomas |
152 |
<div class="wpsg_checkoutblock" id="wpsg_geburtsdatum">
|
4918 |
thomas |
153 |
<label for="geb" class="wpsg_checkout"><?php echo __('Geburtsdatum (Format: TT.MM.JJJJ)',"wpsg"); ?>
|
2792 |
daniel |
154 |
<?php if ($this->view['pflicht']['geb'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
155 |
</label>
|
4941 |
daniel |
156 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['geb'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("geb", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[checkout][geb]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['geb']); ?>" />
|
2792 |
daniel |
157 |
</div>
|
5765 |
thomas |
158 |
|
|
|
159 |
<div class="wpsg_checkoutblock" id="wpsg_fax">
|
|
|
160 |
<label for="fax" class="wpsg_checkout"><?php echo __("Fax.", "wpsg"); ?>
|
|
|
161 |
<?php if ($this->view['pflicht']['fax'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
162 |
</label>
|
|
|
163 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['fax'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("fax", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[checkout][fax]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['fax']); ?>" />
|
|
|
164 |
</div>
|
2792 |
daniel |
165 |
|
5765 |
thomas |
166 |
<div class="wpsg_checkoutblock" id="wpsg_telefon">
|
|
|
167 |
<label for="tel" class="wpsg_checkout"><?php echo __("Tel.", "wpsg"); ?>
|
|
|
168 |
<?php if ($this->view['pflicht']['tel'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
2792 |
daniel |
169 |
</label>
|
5765 |
thomas |
170 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['tel'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("tel", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[checkout][tel]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['tel']); ?>" />
|
2792 |
daniel |
171 |
</div>
|
5765 |
thomas |
172 |
|
4159 |
thomas |
173 |
<div class="wpsg_checkoutblock" id="wpsg_strasse">
|
2792 |
daniel |
174 |
<label for="strasse" class="wpsg_checkout"><?php echo __("Strasse Nr.", "wpsg"); ?>
|
|
|
175 |
<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
176 |
</label>
|
|
|
177 |
<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[checkout][strasse]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['strasse']); ?>" />
|
|
|
178 |
</div>
|
|
|
179 |
|
4159 |
thomas |
180 |
<div class="wpsg_checkoutblock" id="wpsg_postleitzahl">
|
2792 |
daniel |
181 |
<label for="plz" class="wpsg_checkout"><?php echo __("Postleitzahl", "wpsg"); ?>
|
|
|
182 |
<?php if ($this->view['pflicht']['plz'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
183 |
</label>
|
5253 |
thomas |
184 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['plz'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("plz", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="plz" name="wpsg[checkout][plz]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['plz']); ?>" />
|
2792 |
daniel |
185 |
</div>
|
|
|
186 |
|
4159 |
thomas |
187 |
<div class="wpsg_checkoutblock" id="wpsg_ort">
|
4311 |
daniel |
188 |
<label for="ort" class="wpsg_checkout"><?php echo __("Ort", "wpsg"); ?>
|
2792 |
daniel |
189 |
<?php if ($this->view['pflicht']['ort'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
190 |
</label>
|
|
|
191 |
<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[checkout][ort]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['ort']); ?>" />
|
|
|
192 |
</div>
|
|
|
193 |
|
4159 |
thomas |
194 |
<div class="wpsg_checkoutblock" id="wpsg_land">
|
2792 |
daniel |
195 |
<label for="wpsg_land" class="wpsg_checkout"><?php echo __("Land", "wpsg"); ?>
|
|
|
196 |
<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
197 |
</label>
|
|
|
198 |
<select name="wpsg[checkout][land]" class="<?php echo (($this->view['pflicht']['land'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("land", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_land">
|
5765 |
thomas |
199 |
<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
|
2792 |
daniel |
200 |
<?php foreach ($this->view['laender'] as $l) { ?>
|
3574 |
daniel |
201 |
<option value="<?php echo wpsg_hspc($l['id']); ?>" <?php echo (($l['id'] == $this->view['basket']['checkout']['land'])?'selected="selected"':((!wpsg_isSizedInt($this->view['basket']['checkout']['land']) && $this->get_option('wpsg_defaultland') == $l['id'])?'selected="selected"':'')); ?>><?php echo wpsg_hspc(__($l['name'], 'wpsg')); ?></option>
|
2792 |
daniel |
202 |
<?php } ?>
|
|
|
203 |
</select>
|
|
|
204 |
</div>
|
|
|
205 |
|
4159 |
thomas |
206 |
<div class="wpsg_checkoutblock" id="wpsg_ustidnr">
|
2792 |
daniel |
207 |
<label for="wpsg_ustidnr" class="wpshopgermany_checkout"><?php echo __("UStIdNr.", "wpsg"); ?>
|
|
|
208 |
<?php if ($this->view['pflicht']['ustidnr'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
209 |
</label>
|
|
|
210 |
<input class="<?php echo (($this->view['pflicht']['ustidnr'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("ustidnr", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[checkout][ustidnr]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['ustidnr']); ?>" />
|
|
|
211 |
</div>
|
|
|
212 |
|
|
|
213 |
<?php /* Automatische Einbindung der benutzerdefinierten Felder */ ?>
|
|
|
214 |
<?php if ($this->get_option('wpsg_kundenvariablen_show') == '1') { ?>
|
|
|
215 |
<?php foreach ((array)$this->view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?>
|
|
|
216 |
<div class="wpsg_checkoutblock">
|
4312 |
daniel |
217 |
<label class="wpsg_cv wpsg_checkout" for="wpsg_cv_<?php echo $c_id; ?>">
|
2792 |
daniel |
218 |
<?php echo wpsg_hspc(__($c['name'], 'wpsg')); ?><?php if ($c['show'] == '0') { ?> <span class="wpsg_required">*</span><?php } ?>:
|
5765 |
thomas |
219 |
</label>
|
|
|
220 |
<?php if ($c['typ'] == '0') { // Textfeld ?>
|
|
|
221 |
<input class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> <?php echo ((in_array("custom_".$c_id, (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg[checkout][custom][<?php echo $c_id; ?>]" type="text" value="<?php echo wpsg_hspc($this->view['basket']['checkout']['custom'][$c_id]); ?>" />
|
|
|
222 |
<?php } else if ($c['typ'] == '1') { $arAuswahl = explode("|", $c['auswahl']); // Auswahlfeld ?>
|
|
|
223 |
<select class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> <?php echo ((in_array("custom_".$c_id, (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg[checkout][custom][<?php echo $c_id; ?>]">
|
|
|
224 |
<option value="-1"><?php echo __('Bitte Auswählen', 'wpsg'); ?></option>
|
|
|
225 |
<?php foreach ((array)$arAuswahl as $a) { ?>
|
|
|
226 |
<option value="<?php echo wpsg_hspc($a); ?>" <?php echo (($a == $this->view['basket']['checkout']['custom'][$c_id])?'selected="selected"':''); ?>><?php echo wpsg_hspc($a); ?></option>
|
|
|
227 |
<?php } ?>
|
|
|
228 |
</select>
|
|
|
229 |
<?php } else if ($c['typ'] == '2') { // Checkbox ?>
|
|
|
230 |
<input type="hidden" name="wpsg[checkout][custom][<?php echo $c_id; ?>]" value="0" />
|
|
|
231 |
<input class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> checkbox" type="checkbox" value="1" name="wpsg[checkout][custom][<?php echo $c_id; ?>]" value="1" <?php echo wpsg_hspc(($this->view['basket']['checkout']['custom'][$c_id] == '1')?'checked="checked"':''); ?> />
|
|
|
232 |
<?php } ?>
|
2792 |
daniel |
233 |
</div>
|
|
|
234 |
<?php } } ?>
|
1131 |
daniel |
235 |
<?php } ?>
|
2792 |
daniel |
236 |
<?php /* Automatische Einbindung der benutzerdefinierten Kundenfelder ENDE */ ?>
|
|
|
237 |
<div class="wpsg_clear"></div>
|
|
|
238 |
|
5717 |
thomas |
239 |
<?php /* $this->callMods('checkout_customer_inner'); START */ ?>
|
2792 |
daniel |
240 |
|
5717 |
thomas |
241 |
<?php /* Passwortabfrage für Neuregistrierung */ ?>
|
5765 |
thomas |
242 |
|
|
|
243 |
<label for="checkout_login"><br />
|
|
|
244 |
<input type=checkbox name=type id='bt2' value='Show Layer' onclick="setVisibility2('sub4')">
|
|
|
245 |
<span class="wpsg-checkbox-label">Ich möchte ein Kundenkonto anlegen.</span>
|
|
|
246 |
</label>
|
|
|
247 |
<div id="sub4" class="wpsg_checkout_login_aktiv">
|
|
|
248 |
<?php echo $this->callMod('wpsg_mod_kundenverwaltung', 'checkout_customer_inner'); ?>
|
|
|
249 |
</div>
|
|
|
250 |
<?php /*echo $this->callMod('wpsg_mod_kundenverwaltung', 'checkout_customer_inner'); */ ?>
|
5717 |
thomas |
251 |
|
|
|
252 |
<?php /* Abfrage Satollo-Newsletter */ ?>
|
|
|
253 |
<?php echo $this->callMod('wpsg_mod_nlsatolo', 'checkout_customer_inner'); ?>
|
|
|
254 |
|
|
|
255 |
<?php /* Einverständnisabfrage Trusted Shops */ ?>
|
|
|
256 |
<?php echo $this->callMod('wpsg_mod_trustedshops', 'checkout_customer_inner'); ?>
|
|
|
257 |
|
|
|
258 |
<?php /* $this->callMods('checkout_customer_inner'); ENDE */ ?>
|
|
|
259 |
|
2792 |
daniel |
260 |
</div>
|
|
|
261 |
|
1131 |
daniel |
262 |
</div>
|
2792 |
daniel |
263 |
|
1403 |
daniel |
264 |
<?php $this->callMods('checkout_inner_prebutton', array(&$this->view)); ?>
|
|
|
265 |
|
1306 |
daniel |
266 |
<div class="wpsg_clear"></div>
|
2792 |
daniel |
267 |
|
|
|
268 |
<div class="wpsg_box">
|
3460 |
daniel |
269 |
|
3444 |
daniel |
270 |
<h2><?php echo __('Bestellkommentar', 'wpsg'); ?></h2>
|
3460 |
daniel |
271 |
|
|
|
272 |
<div class="wpsg_spacer"></div>
|
|
|
273 |
|
2792 |
daniel |
274 |
<div class="wpsg_inner wpsg_commentblock">
|
2932 |
daniel |
275 |
<textarea name="wpsg[checkout][comment]" id="wpsg_checkout_comment"><?php echo wpsg_hspc($this->view['basket']['checkout']['comment']); ?></textarea>
|
2792 |
daniel |
276 |
</div>
|
1206 |
daniel |
277 |
</div>
|
|
|
278 |
|
2780 |
daniel |
279 |
<div class="wpsg_mandatoryfield_hint">
|
|
|
280 |
<?php echo wpsg_translate(__('Mit #1# gekennzeichnete Felder sind Pflichtfelder.', 'wpsg'), '<span class="wpsg_required">*</span>'); ?>
|
|
|
281 |
</div>
|
2792 |
daniel |
282 |
|
1067 |
daniel |
283 |
<br />
|
3444 |
daniel |
284 |
|
2792 |
daniel |
285 |
<?php $this->ClearSessionErrors(); ?>
|
3444 |
daniel |
286 |
|
5765 |
thomas |
287 |
<input type="submit" onclick="location.href='<?php echo $this->getURL(wpsg_ShopController::URL_BASKET); ?>'; return false;" class="wpsg_button wpsg_basketbutton" value="<?php echo __('zurück zum Warenkorb', 'wpsg'); ?>" name="wpsg_redirect_basket" />
|
3453 |
daniel |
288 |
<input type="submit" id="wpsg_checkout2button" class="wpsg_button wpsg_checkout2button" value="<?php echo __('weiter', 'wpsg'); ?>" name="wpsg_checkout" />
|
1067 |
daniel |
289 |
|
|
|
290 |
<div class="wpsg_clear"></div>
|
2792 |
daniel |
291 |
|
|
|
292 |
<br />
|
|
|
293 |
|
|
|
294 |
</form>
|
1067 |
daniel |
295 |
|
2792 |
daniel |
296 |
<script type="text/javascript">/* <![CDATA[ */
|
|
|
297 |
|
|
|
298 |
jQuery(document).ready(function() {
|
|
|
299 |
jQuery('#wpsg_checkout_set_comment').bind('change', function() {
|
|
|
300 |
if (jQuery(this).attr('checked') == true || jQuery(this).attr('checked') == "checked") jQuery('#wpsg_checkout_comment').show();
|
|
|
301 |
else jQuery('#wpsg_checkout_comment').hide();
|
|
|
302 |
} );
|
|
|
303 |
} );
|
|
|
304 |
|
|
|
305 |
/* ]]> */</script>
|
1067 |
daniel |
306 |
|
|
|
307 |
</div>
|