Skip to content

Commit deeb332

Browse files
author
Natalia Momotenko
committed
MAGETWO-25662: MAP on Catalog and Product Pages
1 parent a86ff6f commit deeb332

File tree

5 files changed

+23
-7
lines changed

5 files changed

+23
-7
lines changed

app/code/Magento/Msrp/view/frontend/templates/popup.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="price-box">
2121
<div class="map-msrp" id="map-popup-msrp-box">
2222
<span class="label"><?php echo __('Price'); ?></span>
23-
<span class="old-price" id="map-popup-msrp">
23+
<span class="old-price map-old-price" id="map-popup-msrp">
2424
<span class="price"></span>
2525
</span>
2626
</div>

app/design/frontend/Magento/blank/Magento_Catalog/web/css/source/_module.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@
329329
}
330330
.price-box {
331331
display: block;
332-
font-weight: @font-weight__semibold;
333332
margin: 7px 0;
334333
}
335334
.text {

app/design/frontend/Magento/blank/Magento_Msrp/web/css/source/_module.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444

4545
.map-old-price,
4646
.product-info-price .map-show-info {
47-
margin-right: @indent__s;
47+
&:not(:last-child) {
48+
margin-right: @indent__s;
49+
}
4850
}
4951

5052
}
@@ -57,7 +59,7 @@
5759
max-width: 100%;
5860
}
5961
.map-old-price,
60-
.product-info-price .map-show-info {
62+
.map-show-info {
6163
display: inline-block;
6264
&:not(:last-child) {
6365
margin-bottom: @indent__s;

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/_module.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@
385385
}
386386
.price-box {
387387
display: block;
388-
font-weight: @font-weight__semibold;
389388
margin: 7px 0;
390389
}
391390
.text {

app/design/frontend/Magento/luma/Magento_Msrp/web/css/source/_module.less

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,25 @@
5656
}
5757
}
5858

59+
.map-old-price {
60+
text-decoration: line-through;
61+
}
62+
5963
.map-old-price,
64+
.product-item .map-old-price,
6065
.product-info-price .map-show-info {
61-
margin-right: @indent__s;
66+
&:not(:last-child) {
67+
margin-right: @indent__s;
68+
}
69+
}
70+
71+
.product-options-bottom .price-box,
72+
.product-info-price .price-box {
73+
.old-price {
74+
.price-container > span {
75+
display: inline;
76+
}
77+
}
6278
}
6379

6480
}
@@ -71,7 +87,7 @@
7187
max-width: 100%;
7288
}
7389
.map-old-price,
74-
.product-info-price .map-show-info {
90+
.map-show-info {
7591
display: inline-block;
7692
&:not(:last-child) {
7793
margin-bottom: @indent__s;

0 commit comments

Comments
 (0)