summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods')
-rw-r--r--views/mods/mod_paypalapi/paypalplus.phtml2
-rw-r--r--views/mods/mod_trustedshops/checkout_customer_inner.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/mods/mod_paypalapi/paypalplus.phtml b/views/mods/mod_paypalapi/paypalplus.phtml
index d95f1b3..f19fe7c 100644
--- a/views/mods/mod_paypalapi/paypalplus.phtml
+++ b/views/mods/mod_paypalapi/paypalplus.phtml
@@ -28,7 +28,7 @@
},
<?php } ?>
- <?php if ($this->view['wpsg_order_done'] !== true) { ?>
+ <?php if (@$this->view['wpsg_order_done'] !== true) { ?>
"onLoad": function() { if (typeof wpsg_mod_paypalapi_load == 'function') wpsg_mod_paypalapi_load(); },
"buttonLocation": "outside",
"disableContinue": "<?php echo $this->view['wpsg_mod_paypalapi']['disableContinue']; ?>",
diff --git a/views/mods/mod_trustedshops/checkout_customer_inner.phtml b/views/mods/mod_trustedshops/checkout_customer_inner.phtml
index ae4d94a..3ccf518 100644
--- a/views/mods/mod_trustedshops/checkout_customer_inner.phtml
+++ b/views/mods/mod_trustedshops/checkout_customer_inner.phtml
@@ -7,6 +7,6 @@
?>
<div class="wpsg_checkoutblock">
<label for="wpsg_mod_trustedshops_set">
- <input class="wpsg_checkout" type="checkbox" id="wpsg_mod_trustedshops_set" name="wpsg[checkout][wpsg_mod_trustedshops_set]" value="1" <?php echo (($this->view['basket']['checkout']['wpsg_mod_trustedshops_set'] == '1' || ($this->get_option('wpsg_mod_trustedshops_customerset_preset') == '1' && !isset($this->view['basket']['checkout']['wpsg_mod_trustedshops_set'])))?'checked="checked"':''); ?> /><?php echo __('Ich bin damit einverstanden, eine separate und unverbindliche Bewertungsaufforderung (<a href="https://www.trustedshops.com/" target="_blank">Trusted Shops</a>) per Mail zu erhalten.', 'wpsg'); ?>
+ <input class="wpsg_checkout" type="checkbox" id="wpsg_mod_trustedshops_set" name="wpsg[checkout][wpsg_mod_trustedshops_set]" value="1" <?php echo ((wpsg_isSizedInt($this->view['basket']['checkout']['wpsg_mod_trustedshops_set']) || ($this->get_option('wpsg_mod_trustedshops_customerset_preset') == '1' && !isset($this->view['basket']['checkout']['wpsg_mod_trustedshops_set'])))?'checked="checked"':''); ?> /><?php echo __('Ich bin damit einverstanden, eine separate und unverbindliche Bewertungsaufforderung (<a href="https://www.trustedshops.com/" target="_blank">Trusted Shops</a>) per Mail zu erhalten.', 'wpsg'); ?>
</label>
</div> \ No newline at end of file