File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
code/Magento/Catalog/view/frontend/templates/product/compare
design/frontend/Magento/blank/web/css Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 10
10
?>
11
11
<?php $ _total = $ block ->getItems ()->getSize () ?>
12
12
<?php if ($ _total ): ?>
13
- <a href="#" class="action print" title="<?= /* @escapeNotVerified */ __ ('Print This Page ' ) ?> ">
13
+ <a href="#" class="action print hidden-print " title="<?= /* @escapeNotVerified */ __ ('Print This Page ' ) ?> ">
14
14
<span><?= /* @escapeNotVerified */ __ ('Print This Page ' ) ?> </span>
15
15
</a>
16
16
<div class="table-wrapper comparison">
29
29
<?php if ($ _i ++ == 0 ): ?>
30
30
<th scope="row" class="cell label remove"><span><?= /* @escapeNotVerified */ __ ('Remove Product ' ) ?> </span></th>
31
31
<?php endif ; ?>
32
- <td class="cell remove product">
32
+ <td class="cell remove product hidden-print ">
33
33
<?php $ compareHelper = $ this ->helper ('Magento\Catalog\Helper\Product\Compare ' );?>
34
34
<a href="#" data-post='<?= /* @escapeNotVerified */ $ compareHelper ->getPostDataRemove ($ _item ) ?> '
35
35
class="action delete" title="<?= /* @escapeNotVerified */ __ ('Remove Product ' ) ?> ">
59
59
</strong>
60
60
<?= $ block ->getReviewsSummaryHtml ($ _item , 'short ' ) ?>
61
61
<?= /* @escapeNotVerified */ $ block ->getProductPrice ($ _item , '-compare-list-top ' ) ?>
62
- <div class="product-item-actions">
62
+ <div class="product-item-actions hidden-print ">
63
63
<div class="actions-primary">
64
64
<?php if ($ _item ->isSaleable ()): ?>
65
65
<form data-role="tocart-form" action="<?= /* @escapeNotVerified */ $ this ->helper ('Magento\Catalog\Helper\Product\Compare ' )->getAddToCartUrl ($ _item ) ?> " method="post">
Original file line number Diff line number Diff line change 132
132
.footer.content {
133
133
padding : 0 ;
134
134
}
135
+
136
+ .hidden-print {
137
+ display : none !important ;
138
+ }
135
139
}
You can’t perform that action at this time.
0 commit comments