diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2018-03-07 06:36:58 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2018-03-07 06:36:58 +0000 |
| commit | b1a0f1dbcfc0e6e43dbff4830e7fdda526dc76b5 (patch) | |
| tree | ea295aea9a8611fc7ca27b126b30a785e836adb1 | |
| parent | 7ea7418018bde43315000e87ec49c4903ebae7c6 (diff) | |
- Löschen Button im Warenkorb (Standard Theme) wiederhergestellt
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6914 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/css/frontend.css | 4 | ||||
| -rw-r--r-- | views/warenkorb/basket.phtml | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/views/css/frontend.css b/views/css/frontend.css index ea41924..cf3c3a3 100644 --- a/views/css/frontend.css +++ b/views/css/frontend.css @@ -31,7 +31,8 @@ input.wpsg_error { border-color:red !important; } .basket_product_wrap .basket_product_row .productimage { max-width:150px; padding-right:0.75em; }
.basket_product_wrap .basket_product_row .product_content { width:100%; display:flex; flex-direction:column; justify-content:space-between; }
.basket_product_wrap .basket_product_row .product_action { display:flex; width:100%; justify-content:space-between; align-items:center; }
-.basket_product_wrap .basket_product_row .product_action .amount { width:80px; margin-top:0.5em; margin-bottom:0.5em; text-align:center;}
+.basket_product_wrap .basket_product_row .product_action .amount { width:100px; padding-right:40px; position:relative; margin-top:0.5em; margin-bottom:0.5em; text-align:center;}
+.basket_product_wrap .basket_product_row .product_action .amount .wpsg_basket_removelink { -webkit-box-shadow:none; box-shadow:none; text-decoration:none; border:0px !important; position:absolute; right:5px; top:50%; margin-top:-8px; }
.basket_product_wrap .basket_product_row .product_action .title { width: 60%; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; }
.basket_product_wrap .basket_product_row .product_action .price { width: 39%; display:inline-block; text-align:right; }
.basket_product_wrap .basket_product_row .product_action .price_total { width: 39%; display:inline-block; font-weight:bold; text-align:right; }
@@ -64,7 +65,6 @@ input.wpsg_error { border-color:red !important; } .basket_sum_wrap .wpsg_gutschein_add {padding:0.75em 1em;}
/* .glyphicon {width:20px !important; text-decoration:none; position:relative; display:inline-block; font-family:'Glyphicons Halflings'; line-height:1rem;} */
-.wpsg_basket .wpsg_basket_removelink { float:right; -webkit-box-shadow:none; box-shadow:none; text-decoration:none; border:0px !important; }
.wpsg_basket .wpsg_checkoutbutton { float:right; padding:0.75em 1em; }
.wpsg_basket .wpsg_cell_gesamtsumme_value { font-weight:bold; }
.wpsg_basket .wpsg_refreshbutton, .wpsg_basketbutton { float:left; padding:0.75em 1em; }
diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml index c98419a..ac1afdd 100644 --- a/views/warenkorb/basket.phtml +++ b/views/warenkorb/basket.phtml @@ -76,11 +76,6 @@ <div class="product_shortdesc"><?php echo $product_data['shortdesc']; ?></div>
<?php } ?>
- <a class="wpsg_basket_removelink" href="<?php echo $this->getRemoveLinkURL($product_data['product_index']); ?>" title="<?php echo __('Produkt aus dem Warenkorb entfernen', 'wpsg'); ?>" onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass Sie das Produkt aus dem Warenkorb entfernen möchten?', 'wpsg'); ?>');">
- <!-- <img src="<?php echo WPSG_URL; ?>views/gfx/bin_x.png" alt="<?php echo __('Löschen', 'wpsg'); ?>" /> -->
- <span class="glyphicon glyphicon-trash"></span>
- </a>
-
</div>
<div class="product_action">
@@ -90,6 +85,11 @@ <div class="amount">
<input class="wpsg_form_submit_return" type="text" name="wpsg[menge][<?php echo $product_data['product_index']; ?>]" <?php echo ((wpsg_isTrue($product_data['oneOnly']) || wpsg_isSizedInt($product_data['basket_multiple'], 4))?'readonly="readonly"':''); ?> value="<?php echo wpsg_hspc($product_data['menge']); ?>" size="3" />
+
+ <a class="wpsg_basket_removelink" href="<?php echo $this->getRemoveLinkURL($product_data['product_index']); ?>" title="<?php echo __('Produkt aus dem Warenkorb entfernen', 'wpsg'); ?>" onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass Sie das Produkt aus dem Warenkorb entfernen möchten?', 'wpsg'); ?>');">
+ <img src="<?php echo WPSG_URL; ?>views/gfx/bin_x.png" alt="<?php echo __('Löschen', 'wpsg'); ?>" />
+ </a>
+
</div>
</div>
<div class="product_action">
|
