Skip to content

Commit bc25646

Browse files
author
Natalia Momotenko
committed
MAGETWO-25662: MAP on Catalog and Product Pages
1 parent 32f07b2 commit bc25646

File tree

3 files changed

+11
-3
lines changed
  • app
    • code/Magento/Msrp/view/base/templates/product/price
    • design/frontend/Magento

3 files changed

+11
-3
lines changed

app/code/Magento/Msrp/view/base/templates/product/price/msrp.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if ($product->isSaleable()) {
4545
}
4646
?>
4747
<?php if ($product->getMsrp()): ?>
48-
<span class="old-price"><?php echo $msrpPrice ?></span>
48+
<span class="old-price map-old-price"><?php echo $msrpPrice ?></span>
4949
<?php endif; ?>
5050

5151
<?php if ($priceType->isShowPriceOnGesture()): ?>

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,14 @@
4242
}
4343
}
4444

45+
.map-old-price {
46+
margin-right: @indent__s;
47+
}
48+
4549
.product-info-price {
4650
.map-show-info {
4751
display: inline-block;
48-
margin-right: @indent__xs;
52+
margin-right: @indent__s;
4953
}
5054
}
5155

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,14 @@
5757
}
5858
}
5959

60+
.map-old-price {
61+
margin-right: @indent__s;
62+
}
63+
6064
.product-info-price {
6165
.map-show-info {
6266
display: inline-block;
63-
margin-right: @indent__xs;
67+
margin-right: @indent__s;
6468
}
6569
}
6670

0 commit comments

Comments
 (0)