GX-Task #60192 » Preis_auf_Anfrage_Button.patch
src/StyleEdit3/templates/Honeygrid/boilerplates/style_3.json (date 1543218229000) | ||
---|---|---|
4 | 4 |
"thumbnail": "style_3.png", |
5 | 5 |
"boilerplate": "boilerplate3", |
6 | 6 |
"creationDate": "2016-01-08 16:42:42", |
7 |
"modificationDate": "2018-10-05 19:16:00",
|
|
7 |
"modificationDate": "2018-11-26 08:43:00",
|
|
8 | 8 |
"colorPalette": [ |
9 | 9 |
"brand-primary", |
10 | 10 |
"body-bg", |
... | ... | |
5378 | 5378 |
"value": "darken($gx-product-info-button-border, 10%)", |
5379 | 5379 |
"tags": [ |
5380 | 5380 |
"color-background" |
5381 |
] |
|
5382 |
}, |
|
5383 |
{ |
|
5384 |
"group": "template", |
|
5385 |
"name": "gx-btn-price-on-request-color", |
|
5386 |
"type": "color", |
|
5387 |
"value": "#FFFFFF", |
|
5388 |
"tags": [ |
|
5389 |
"color-background" |
|
5390 |
] |
|
5391 |
}, |
|
5392 |
{ |
|
5393 |
"group": "template", |
|
5394 |
"name": "gx-btn-price-on-request-bg", |
|
5395 |
"type": "color", |
|
5396 |
"value": "#2EAE06", |
|
5397 |
"tags": [ |
|
5398 |
"color-background" |
|
5399 |
] |
|
5400 |
}, |
|
5401 |
{ |
|
5402 |
"group": "template", |
|
5403 |
"name": "gx-btn-price-on-request-border", |
|
5404 |
"type": "color", |
|
5405 |
"value": "darken($gx-btn-calltoaction-bg, 5%)", |
|
5406 |
"tags": [ |
|
5407 |
"color-background" |
|
5381 | 5408 |
] |
5382 | 5409 |
}, |
5383 | 5410 |
{ |
src/templates/Honeygrid/styles/config/_variables.scss (date 1543215777000) | ||
---|---|---|
156 | 156 |
$gx-btn-calltoaction-bg-image-size: auto !default; |
157 | 157 |
$gx-btn-calltoaction-bg-image-attachment: scroll !default; |
158 | 158 | |
159 |
// Price on request |
|
160 |
// applied to price-on-request button |
|
161 | ||
162 |
$gx-btn-price-on-request-color: $gx-btn-calltoaction-color !default; |
|
163 |
$gx-btn-price-on-request-bg: $gx-btn-calltoaction-bg !default; |
|
164 |
$gx-btn-price-on-request-border: darken($gx-btn-price-on-request-bg, 5%) !default; |
|
165 |
$gx-btn-price-on-request-bg-image-url: $gx-btn-calltoaction-bg-image-url !default; |
|
166 |
$gx-btn-price-on-request-bg-image-position: $gx-btn-calltoaction-bg-image-url !default; |
|
167 |
$gx-btn-price-on-request-bg-image-repeat: $gx-btn-calltoaction-bg-image-repeat !default; |
|
168 |
$gx-btn-price-on-request-bg-image-size: $gx-btn-calltoaction-bg-image-size !default; |
|
169 |
$gx-btn-price-on-request-bg-image-attachment: $gx-btn-calltoaction-bg-image-attachment !default; |
|
170 | ||
159 | 171 |
// Product-Info Button |
160 | 172 |
// for the buttons below the call to action button |
161 | 173 |
src/templates/Honeygrid/styles/modules/_buttons.scss (date 1543066493000) | ||
---|---|---|
47 | 47 |
opacity: 0.5; |
48 | 48 |
} |
49 | 49 |
} |
50 |
|
|
51 |
&.btn-price-on-request { |
|
52 |
@include button-variant($gx-btn-price-on-request-color, $gx-btn-price-on-request-bg, $gx-btn-price-on-request-border); |
|
53 |
@include background($gx-btn-price-on-request-bg, |
|
54 |
$gx-btn-price-on-request-bg-image-url, |
|
55 |
$gx-btn-price-on-request-bg-image-position, |
|
56 |
$gx-btn-price-on-request-bg-image-repeat, |
|
57 |
$gx-btn-price-on-request-bg-image-size, |
|
58 |
$gx-btn-price-on-request-bg-image-attachment); |
|
59 |
&:focus { |
|
60 |
outline: none; |
|
61 |
} |
|
62 |
|
|
63 |
&.inactive { |
|
64 |
opacity: 0.5; |
|
65 |
} |
|
66 |
} |
|
50 | 67 |
} |
src/templates/Honeygrid/styles/modules/_product_info.scss (date 1543219395000) | ||
---|---|---|
1050 | 1050 |
transform: rotate(360deg); |
1051 | 1051 |
} |
1052 | 1052 |
} |
1053 | ||
1054 |
.price-on-request { |
|
1055 |
width: 100%; |
|
1056 |
} |
src/system/classes/products/AttributesAjaxHandler.inc.php (date 1543219439000) | ||
---|---|---|
229 | 229 |
. $sefParameter); |
230 | 230 |
} |
231 | 231 |
|
232 |
$this->v_output_buffer .= '<a href="' . $t_contact_url . '" class="price-on-request">' . GM_SHOW_PRICE_ON_REQUEST . '</a>';
|
|
232 |
$this->v_output_buffer .= '<a href="' . $t_contact_url . '" class="btn btn-lg btn-price-on-request price-on-request">' . GM_SHOW_PRICE_ON_REQUEST . '</a>';
|
|
233 | 233 |
} |
234 | 234 |
else |
235 | 235 |
{ |
src/StyleEdit3/templates/Honeygrid/lang/de.json (date 1543216734000) | ||
---|---|---|
624 | 624 |
"gx-btn-calltoaction-bg-image-repeat": "Hintergrundbild Wiederholung Kaufen-Button", |
625 | 625 |
"gx-btn-calltoaction-bg-image-size": "Hintergrundbild Größe Kaufen-Button", |
626 | 626 |
"gx-btn-calltoaction-bg-image-attachment": "Hintergrundbild Eigenschaften Kaufen-Button", |
627 |
"gx-btn-price-on-request-color": "Farbe Preis auf Anfrage Button", |
|
628 |
"gx-btn-price-on-request-bg": "Hintergrund Preis auf Anfrage Button", |
|
629 |
"gx-btn-price-on-request-border": "Rahmen Preis auf Anfrage Button", |
|
627 | 630 | |
628 | 631 |
"ribbons": "Ribbons", |
629 | 632 |
"gx-ribbon-new-active": "Neu anzeigen", |
src/StyleEdit3/templates/Honeygrid/lang/en.json (date 1543217684000) | ||
---|---|---|
622 | 622 |
"gx-btn-calltoaction-bg-image-repeat": "Background Image Repeat Buy Button", |
623 | 623 |
"gx-btn-calltoaction-bg-image-size": "Background Image Size Buy Button", |
624 | 624 |
"gx-btn-calltoaction-bg-image-attachment": "Background Image Attachment Buy Button", |
625 |
"gx-btn-price-on-request-color": "Color Price on request Button", |
|
626 |
"gx-btn-price-on-request-bg": "Background Price on request Button", |
|
627 |
"gx-btn-price-on-request-border": "Border Price on request Button", |
|
625 | 628 | |
626 | 629 |
"ribbons": "Ribbons", |
627 | 630 |
"gx-ribbon-new-active": "Show New", |
src/system/classes/products/ProductInfoContentView.inc.php (date 1543219077000) | ||
---|---|---|
1119 | 1119 |
. $sefParameter); |
1120 | 1120 |
} |
1121 | 1121 |
|
1122 |
$contactLinkHtml = '<a href="' . $contactUrl . '" class="price-on-request">' . GM_SHOW_PRICE_ON_REQUEST |
|
1123 |
. '</a>'; |
|
1122 |
$contactLinkHtml = '<a href="' . $contactUrl . '" class="btn btn-lg btn-price-on-request price-on-request">' . GM_SHOW_PRICE_ON_REQUEST . '</a>'; |
|
1124 | 1123 |
|
1125 | 1124 |
$this->set_content_data('PRODUCTS_PRICE', $contactLinkHtml); |
1126 | 1125 |
} |
src/GXMainComponents/Controllers/HttpView/ShopAjax/CheckStatusController.inc.php (date 1543219439000) | ||
---|---|---|
614 | 614 |
'coID=7&subject=' . rawurlencode($subject) . $sefParameter); |
615 | 615 |
} |
616 | 616 |
|
617 |
$price = '<a href="' . $contactUrl . '" class="price-on-request">' . GM_SHOW_PRICE_ON_REQUEST . '</a>'; |
|
617 |
$price = '<a href="' . $contactUrl . '" class="btn btn-lg btn-price-on-request price-on-request">' . GM_SHOW_PRICE_ON_REQUEST . '</a>';
|
|
618 | 618 |
} |
619 | 619 |
|
620 | 620 |
return $price; |
src/StyleEdit3/templates/Honeygrid/boilerplates/style_1.json (date 1543218205000) | ||
---|---|---|
4 | 4 |
"thumbnail": "style_1.png", |
5 | 5 |
"boilerplate": "boilerplate1", |
6 | 6 |
"creationDate": "2016-01-08 16:42:42", |
7 |
"modificationDate": "2018-10-05 19:16:00",
|
|
7 |
"modificationDate": "2018-11-26 08:43:00",
|
|
8 | 8 |
"colorPalette": [ |
9 | 9 |
"brand-primary", |
10 | 10 |
"body-bg", |
... | ... | |
908 | 908 |
"value": "#2eae06", |
909 | 909 |
"tags": [ |
910 | 910 |
"color-background" |
911 |
] |
|
912 |
}, |
|
913 |
{ |
|
914 |
"group": "template", |
|
915 |
"name": "gx-btn-calltoaction-border", |
|
916 |
"type": "color", |
|
917 |
"value": "darken($gx-btn-calltoaction-bg, 5%)", |
|
918 |
"tags": [ |
|
919 |
"color-background" |
|
920 | 911 |
] |
921 | 912 |
}, |
922 | 913 |
{ |
... | ... | |
5387 | 5378 |
"value": "darken($gx-product-info-button-border, 10%)", |
5388 | 5379 |
"tags": [ |
5389 | 5380 |
"color-background" |
5381 |
] |
|
5382 |
}, |
|
5383 |
{ |
|
5384 |
"group": "template", |
|
5385 |
"name": "gx-btn-price-on-request-color", |
|
5386 |
"type": "color", |
|
5387 |
"value": "#FFFFFF", |
|
5388 |
"tags": [ |
|
5389 |
"color-background" |
|
5390 |
] |
|
5391 |
}, |
|
5392 |
{ |
|
5393 |
"group": "template", |
|
5394 |
"name": "gx-btn-price-on-request-bg", |
|
5395 |
"type": "color", |
|
5396 |
"value": "#2EAE06", |
|
5397 |
"tags": [ |
|
5398 |
"color-background" |
|
5399 |
] |
|
5400 |
}, |
|
5401 |
{ |
|
5402 |
"group": "template", |
|
5403 |
"name": "gx-btn-price-on-request-border", |
|
5404 |
"type": "color", |
|
5405 |
"value": "darken($gx-btn-calltoaction-bg, 5%)", |
|
5406 |
"tags": [ |
|
5407 |
"color-background" |
|
5390 | 5408 |
] |
5391 | 5409 |
}, |
5392 | 5410 |
{ |
src/StyleEdit3/templates/Honeygrid/boilerplates/style_2.json (date 1543218229000) | ||
---|---|---|
4 | 4 |
"thumbnail": "style_2.png", |
5 | 5 |
"boilerplate": "boilerplate2", |
6 | 6 |
"creationDate": "2016-01-08 16:42:42", |
7 |
"modificationDate": "2018-10-05 19:16:00",
|
|
7 |
"modificationDate": "2018-11-26 08:43:00",
|
|
8 | 8 |
"colorPalette": [ |
9 | 9 |
"brand-primary", |
10 | 10 |
"body-bg", |
... | ... | |
5378 | 5378 |
"value": "darken($gx-product-info-button-border, 10%)", |
5379 | 5379 |
"tags": [ |
5380 | 5380 |
"color-background" |
5381 |
] |
|
5382 |
}, |
|
5383 |
{ |
|
5384 |
"group": "template", |
|
5385 |
"name": "gx-btn-price-on-request-color", |
|
5386 |
"type": "color", |
|
5387 |
"value": "#FFFFFF", |
|
5388 |
"tags": [ |
|
5389 |
"color-background" |
|
5390 |
] |
|
5391 |
}, |
|
5392 |
{ |
|
5393 |
"group": "template", |
|
5394 |
"name": "gx-btn-price-on-request-bg", |
|
5395 |
"type": "color", |
|
5396 |
"value": "#2EAE06", |
|
5397 |
"tags": [ |
|
5398 |
"color-background" |
|
5399 |
] |
|
5400 |
}, |
|
5401 |
{ |
|
5402 |
"group": "template", |
|
5403 |
"name": "gx-btn-price-on-request-border", |
|
5404 |
"type": "color", |
|
5405 |
"value": "darken($gx-btn-calltoaction-bg, 5%)", |
|
5406 |
"tags": [ |
|
5407 |
"color-background" |
|
5381 | 5408 |
] |
5382 | 5409 |
}, |
5383 | 5410 |
{ |