summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2024-10-28 11:03:27 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2024-10-28 11:03:27 +0000
commit741d89788e2c0acb1de365390685887b7957aa6f (patch)
tree39fb999835e815cedbd3767ae8eef892ae449fc6
parent8f33a05a9d0032f97ce3282767c6f5e4f4efb504 (diff)
- Bugfix: Warenkorb Button im Widget bei Option "Lightbox Meldung"
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8451 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/warenkorb/index.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/warenkorb/index.phtml b/views/warenkorb/index.phtml
index b93c7fd..0385572 100644
--- a/views/warenkorb/index.phtml
+++ b/views/warenkorb/index.phtml
@@ -79,8 +79,8 @@
<?php } ?>
</span>
- <?php if (get_the_ID() !== intval($this->get_option('wpsg_page_basket'))) { ?>
- <input type="button" class="wpsg_button wpshopgermany_linktokasse" onclick="location.href='<?php echo $this->getURL(wpsg_ShopController:: URL_BASKET); ?>';" value="<?php echo __("Zum Warenkorb", "wpsg"); ?>" />
+ <?php if (get_the_ID() !== intval($this->get_option('wpsg_page_basket')) || (($_REQUEST['wpsg']['action']??'') === 'widget')) { ?>
+ <input type="button" class="button wpsg_button wpshopgermany_linktokasse" onclick="location.href='<?php echo $this->getURL(wpsg_ShopController:: URL_BASKET); ?>';" value="<?php echo __("Zum Warenkorb", "wpsg"); ?>" />
<?php } ?>
<?php } else { ?>