From ef354c8bae01b4416ba3b1958d58c38e2e25d2a4 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 23 Nov 2016 14:01:21 +0000 Subject: - standard.phtml git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5928 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/css/frontend.css | 34 ++- views/gfx/deliverytime.png | Bin 0 -> 417 bytes views/gfx/stock_pos.png | Bin 0 -> 605 bytes views/produkttemplates/standard.phtml | 486 +++++++++++++++++++--------------- 4 files changed, 306 insertions(+), 214 deletions(-) create mode 100644 views/gfx/deliverytime.png create mode 100644 views/gfx/stock_pos.png diff --git a/views/css/frontend.css b/views/css/frontend.css index 171c100..7c943ab 100644 --- a/views/css/frontend.css +++ b/views/css/frontend.css @@ -154,7 +154,7 @@ input.wpsg_error { border-color:red !important; } .wpsg_produkt_wrapper .wpsg_product_afterimage .wpsg_producttitle { clear:none; } .wpsg_produkt_wrapper .wpsg_add_basket { margin:1rem 0; float:right; } .wpsg_produkt_wrapper .wpsg_produkt_add_basket_wrapper { clear:both; float:left; margin:1rem 0 0 0; } -.wpsg_produkt_wrapper .wpsg_label { display:inline; } +.wpsg_produkt_wrapper .wpsg_label { display:inline; font-weight:bold; } .wpsg_produkt_wrapper .wpsg_value { display:inline; } .wpsg_produkt_wrapper .wpsg_preis_prediscount { text-decoration: line-through; } .wpsg_produkt_wrapper .wpsg_menge { width:auto; } @@ -162,6 +162,38 @@ input.wpsg_error { border-color:red !important; } .wpsg_productform .wpsg_product_layer { z-index:1000; background-color:rgba(125, 125, 125, 0.5); position:absolute; left:-10px; top:-10px; width:100%; height:100%; padding:20px; } .wpsg_productform .wpsg_product_layer img { position:absolute; left:50%; top:50%; margin-left:-8px; margin-top:-5.5px; } +.wpsg_produkt_wrapper .wpsg_product_afterimage { float:left; width:50%; } +.wpsg_produkt_wrapper .wpsg_product_image { float:left; width:50%; } +.wpsg_produkt_wrapper .wpsg_mod_deliverytime, +.wpsg_produkt_wrapper .wpsg_mod_weight_produkt, +.wpsg_produkt_wrapper .wpsg_produkt_varianten, +.wpsg_produkt_wrapper .wpsg-mod_produktindex_stock, +.wpsg_produkt_wrapper .wpsg_produkt_fuellmenge { margin:10px 0; } + +.wpsg_produkt_wrapper .wpsg_product_mod_information_left { float:left; width:45%; margin:20px 20px 20px 0; } +.wpsg_produkt_wrapper .wpsg_product_mod_information_right { float:left; width:45%; margin:20px 0 20px 0; } +.wpsg_produkt_wrapper .wpsg_mod_deliverytime_offline { border:1px solid #ff0a0a; } + +.wpsg_produkt_wrapper .wpsg_product_buttons_add_basket .wpsg_amount_label { float:left; } +.wpsg_produkt_wrapper .wpsg_product_button_basket { float:right; margin:30px 0; } +.wpsg_produkt_wrapper .wpsg_add_basket { padding:10px 30px; color:#fff; background-color:#29556e; border:none; text-transform:uppercase; } +.wpsg_produkt_wrapper .wpsg_add_basket { padding:10px 30px; color:#fff; background-color:#29556e; border:none; text-transform:uppercase; } +.wpsg_produkt_wrapper .wpsg_product_button_area { border-top:1px solid #d0e7ef; border-bottom:1px solid #d0e7ef; } +.wpsg_produkt_wrapper .wpsg_producttitle { font-size:25px; margin:20px 0; } +.wpsg_produkt_wrapper .wpsg_produkt_preis label { display:none; } +.wpsg_produkt_wrapper .wpsg_produkt_preis .wpsg_preis { font-size:20px; font-weight:bold; color:#29556E;} +.wpsg_produkt_wrapper .wpsg_product_price_area { margin-bottom:20px; } +.wpsg_produkt_wrapper .wpsg_product_social_media { border-top:1px solid #d0e7ef; border-bottom:1px solid #d0e7ef; margin:20px 0; } + +.wpsg_product_informationarea { margin:20px 0; } +.wpsg_product_informationarea .wpsg_product_informationarea_reiter { text-transform:uppercase; font-size:20px; font-weight:bold; color:#d0e7ef; } +.wpsg_product_informationarea .wpsg_product_informationarea_reiter:active { font-weight:bold; color:##29556e; text-decoration:underline; } +.wpsg_product_informationarea .wpsg_product_informationarea_reiter:hover { font-weight:bold; color:##29556e; text-decoration:none; } + +.wpsg_product_assessment, .wpsg_product_information_more, .wpsg_product_information_large { width:30%; margin:0 10px; float:left; } + + + /* Ajax Meldung über das Produkttemplate */ #wpsg_basket_ajax_message { z-index:2000; position:absolute; top:55px; width:100%; position:fixed; } #wpsg_basket_ajax_message .wpsg_basket_ajax_message_content { diff --git a/views/gfx/deliverytime.png b/views/gfx/deliverytime.png new file mode 100644 index 0000000..f1fd35f Binary files /dev/null and b/views/gfx/deliverytime.png differ diff --git a/views/gfx/stock_pos.png b/views/gfx/stock_pos.png new file mode 100644 index 0000000..7546840 Binary files /dev/null and b/views/gfx/stock_pos.png differ diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index fcec1d0..81c449f 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -13,253 +13,313 @@ //wpsg_debug($_SESSION); ?> -
- - - - callMods('product_top', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> - -
- -
+
-

getProductName($this->view['data']['id']); ?>

+
- callMods('product_top_afterheadline', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + - - hasMod('wpsg_mod_produktbilder')) { ?> -
- callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])))) { ?> - callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])) as $b) { $i ++; ?> - view['data']['varianten_image']) || $b == $this->view['data']['varianten_image']) { ?> -
- - <?php echo wpsg_hspc($this->view['data']['name']); ?> - -
- - \ No newline at end of file -- cgit v1.2.3