Skip to content

Commit 108cb64

Browse files
author
Dmytro Voskoboinikov
committed
Merge branch '2.1-develop' into MAGETWO-71381-2
2 parents 51c9714 + 90839c1 commit 108cb64

File tree

18 files changed

+117
-51
lines changed

18 files changed

+117
-51
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,19 @@ To suggest documentation improvements, click [here][4].
7474
[3]: <https://github.com/magento/magento2/issues>
7575
[4]: <http://devdocs.magento.com>
7676

77+
<h3>Community Maintainers</h3>
78+
The members of this team have been recognized for their outstanding commitment to maintaining and improving Magento. Magento has granted them permission to accept, merge, and reject pull requests, as well as review issues, and thanks these Community Maintainers for their valuable contributions.
79+
80+
<a href="https://magento.com/magento-contributors#maintainers">
81+
<img src="https://raw.githubusercontent.com/wiki/magento/magento2/images/maintainers.png"/>
82+
</a>
83+
84+
<h3>Top Contributors</h3>
85+
Magento is thankful for any contribution that can improve our code base, documentation or increase test coverage. We always recognize our most active members, as their contributions are the foundation of the Magento Open Source platform.
86+
<a href="https://magento.com/magento-contributors">
87+
<img src="https://raw.githubusercontent.com/wiki/magento/magento2/images/contributors.png"/>
88+
</a>
89+
7790
<h2>Reporting security issues</h2>
7891

7992
To report security vulnerabilities in Magento software or web sites, please e-mail <a href="mailto:[email protected]">[email protected]</a>. Please do not report security issues using GitHub. Be sure to encrypt your e-mail with our <a href="https://info2.magento.com/rs/magentoenterprise/images/security_at_magento.asc">encryption key</a> if it includes sensitive information. Learn more about reporting security issues <a href="https://magento.com/security/reporting-magento-security-issue">here</a>.

app/code/Magento/Catalog/view/base/templates/product/price/amount/default.phtml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,11 @@
2222
class="price-wrapper <?php /* @escapeNotVerified */ echo $block->getPriceWrapperCss(); ?>">
2323
<?php /* @noEscape */ echo $block->formatCurrency($block->getDisplayValue(), (bool)$block->getIncludeContainer()) ?>
2424
</span>
25-
<?php if ($block->getSchema()): ?>
26-
<span class="_hidden" itemprop="price">
27-
<?php /* @noEscape */ echo $block->getDisplayValue() ?>
28-
</span>
29-
<?php endif; ?>
3025
<?php if ($block->hasAdjustmentsHtml()): ?>
3126
<?php echo $block->getAdjustmentsHtml() ?>
3227
<?php endif; ?>
3328
<?php if ($block->getSchema()): ?>
29+
<meta itemprop="price" content="<?php /* @noEscape */ echo $block->getDisplayValue(); ?>" />
3430
<meta itemprop="priceCurrency" content="<?php /* @escapeNotVerified */ echo $block->getDisplayCurrencyCode()?>" />
3531
<?php endif; ?>
3632
</span>

app/code/Magento/Checkout/view/frontend/templates/cart/minicart.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</span>
2626
</a>
2727
<?php if ($block->getIsNeedToDisplaySideBar()): ?>
28-
<div class="block block-minicart empty"
28+
<div class="block block-minicart"
2929
data-role="dropdownDialog"
3030
data-mage-init='{"dropdownDialog":{
3131
"appendTo":"[data-block=minicart]",

app/code/Magento/GroupedProduct/view/base/templates/product/price/final_price.phtml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,19 @@ $minProduct = $block->getSaleableItem()
1717
->getMinProduct();
1818

1919
if ($minProduct) {
20+
$finalPrice = $minProduct->getPriceInfo()->getPrice('final_price');
21+
$finalPriceValue = $finalPrice->getAmount();
2022
$amountRender = $block->getRendererPool()
2123
->createAmountRender(
22-
$minProduct->getPriceInfo()->getPrice('final_price')->getAmount(),
24+
$finalPriceValue,
2325
$minProduct,
24-
$minProduct->getPriceInfo()->getPrice('final_price'),
26+
$finalPrice,
2527
['include_container' => true]
2628
);
29+
$currencyCode = $amountRender->getDisplayCurrencyCode();
30+
} else {
31+
$finalPriceValue = 0;
32+
$currencyCode = '';
2733
}
2834
?>
2935
<div class="price-box" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
@@ -32,4 +38,6 @@ if ($minProduct) {
3238
<span class="price-label"><?php /* @escapeNotVerified */ echo __('Starting at')?></span><?php echo $amountRender->toHtml();?>
3339
</p>
3440
<?php endif ?>
41+
<meta itemprop="price" content="<?php /* @noEscape */ echo $finalPriceValue; ?>" />
42+
<meta itemprop="priceCurrency" content="<?php /* @noEscape */ echo $currencyCode; ?>" />
3543
</div>

app/code/Magento/Sales/Model/Order/Pdf/AbstractPdf.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ protected function _drawItem(\Magento\Framework\DataObject $item, \Zend_Pdf_Page
851851
protected function _setFontRegular($object, $size = 7)
852852
{
853853
$font = \Zend_Pdf_Font::fontWithPath(
854-
$this->_rootDirectory->getAbsolutePath('lib/internal/LinLibertineFont/LinLibertine_Re-4.4.1.ttf')
854+
$this->_rootDirectory->getAbsolutePath('lib/internal/GnuFreeFont/FreeSerif.ttf')
855855
);
856856
$object->setFont($font, $size);
857857
return $font;
@@ -867,7 +867,7 @@ protected function _setFontRegular($object, $size = 7)
867867
protected function _setFontBold($object, $size = 7)
868868
{
869869
$font = \Zend_Pdf_Font::fontWithPath(
870-
$this->_rootDirectory->getAbsolutePath('lib/internal/LinLibertineFont/LinLibertine_Bd-2.8.1.ttf')
870+
$this->_rootDirectory->getAbsolutePath('lib/internal/GnuFreeFont/FreeSerifBold.ttf')
871871
);
872872
$object->setFont($font, $size);
873873
return $font;
@@ -883,7 +883,7 @@ protected function _setFontBold($object, $size = 7)
883883
protected function _setFontItalic($object, $size = 7)
884884
{
885885
$font = \Zend_Pdf_Font::fontWithPath(
886-
$this->_rootDirectory->getAbsolutePath('lib/internal/LinLibertineFont/LinLibertine_It-2.8.2.ttf')
886+
$this->_rootDirectory->getAbsolutePath('lib/internal/GnuFreeFont/FreeSerifItalic.ttf')
887887
);
888888
$object->setFont($font, $size);
889889
return $font;

app/code/Magento/Sales/Model/Order/Pdf/Items/AbstractItems.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public function getItemOptions()
335335
protected function _setFontRegular($size = 7)
336336
{
337337
$font = \Zend_Pdf_Font::fontWithPath(
338-
$this->_rootDirectory->getAbsolutePath('lib/internal/LinLibertineFont/LinLibertine_Re-4.4.1.ttf')
338+
$this->_rootDirectory->getAbsolutePath('lib/internal/GnuFreeFont/FreeSerif.ttf')
339339
);
340340
$this->getPage()->setFont($font, $size);
341341
return $font;
@@ -350,7 +350,7 @@ protected function _setFontRegular($size = 7)
350350
protected function _setFontBold($size = 7)
351351
{
352352
$font = \Zend_Pdf_Font::fontWithPath(
353-
$this->_rootDirectory->getAbsolutePath('lib/internal/LinLibertineFont/LinLibertine_Bd-2.8.1.ttf')
353+
$this->_rootDirectory->getAbsolutePath('lib/internal/GnuFreeFont/FreeSerifBold.ttf')
354354
);
355355
$this->getPage()->setFont($font, $size);
356356
return $font;
@@ -365,7 +365,7 @@ protected function _setFontBold($size = 7)
365365
protected function _setFontItalic($size = 7)
366366
{
367367
$font = \Zend_Pdf_Font::fontWithPath(
368-
$this->_rootDirectory->getAbsolutePath('lib/internal/LinLibertineFont/LinLibertine_It-2.8.2.ttf')
368+
$this->_rootDirectory->getAbsolutePath('lib/internal/GnuFreeFont/FreeSerifItalic.ttf')
369369
);
370370
$this->getPage()->setFont($font, $size);
371371
return $font;

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/_minicart.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@
238238
.product-item-pricing {
239239
.label {
240240
display: inline-block;
241-
width: 4.5rem;
242241
}
243242
}
244243

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@
189189
&:last-child {
190190
margin-bottom: 0;
191191
}
192-
193-
&._hidden {
194-
display: none;
195-
}
196192
}
197193
}
198194
}

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_minicart.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@
243243
.product-item-pricing {
244244
.label {
245245
display: inline-block;
246-
width: 4.5rem;
247246
}
248247
}
249248

3.15 MB
Binary file not shown.

0 commit comments

Comments
 (0)