diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2024-10-28 11:03:27 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2024-10-28 11:03:27 +0000 |
| commit | 741d89788e2c0acb1de365390685887b7957aa6f (patch) | |
| tree | 39fb999835e815cedbd3767ae8eef892ae449fc6 | |
| parent | 8f33a05a9d0032f97ce3282767c6f5e4f4efb504 (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.phtml | 4 |
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 { ?>
|
