Skip to content

Commit 2952e48

Browse files
committed
AdminCategoryProductThumbnail compatibility update 2.4
1 parent 1c0a339 commit 2952e48

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

Block/Adminhtml/Category/Tab/Product.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @category MageVision
66
* @package MageVision_AdminCategoryProductThumbnail
77
* @author MageVision Team
8-
* @copyright Copyright (c) 2019 MageVision (http://www.magevision.com)
8+
* @copyright Copyright (c) 2020 MageVision (http://www.magevision.com)
99
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1010
*/
1111
declare(strict_types=1);
@@ -49,7 +49,7 @@ protected function _prepareColumns(): Product
4949
'entity_id'
5050
);
5151
$this->sortColumnsByOrder();
52-
52+
5353
return $this;
5454
}
5555
}

Block/Adminhtml/Category/Tab/Product/Grid/Renderer/Image.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @category MageVision
66
* @package MageVision_AdminCategoryProductThumbnail
77
* @author MageVision Team
8-
* @copyright Copyright (c) 2019 MageVision (http://www.magevision.com)
8+
* @copyright Copyright (c) 2020 MageVision (http://www.magevision.com)
99
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1010
*/
1111
declare(strict_types=1);
@@ -25,7 +25,7 @@ class Image extends AbstractRenderer
2525
* @var ImageHelper
2626
*/
2727
protected $imageHelper;
28-
28+
2929
/**
3030
* @param Context $context
3131
* @param ImageHelper $imageHelper
@@ -49,7 +49,7 @@ public function render(DataObject $row): string
4949
{
5050
$image = 'product_listing_thumbnail';
5151
$imageUrl = $this->imageHelper->init($row, $image)->getUrl();
52-
52+
5353
return '<img src="'.$imageUrl.'" width="50"/>';
5454
}
5555
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The Admin Category Product Thumbnail extension is a simple but really useful ext
1515
* 100% open source
1616

1717
## Compatibility
18-
Magento Community Edition 2.3
18+
Magento Community Edition 2.3 - 2.4
1919

2020
## Installing the Extension
2121
* Backup your web directory and store database
@@ -36,4 +36,4 @@ Magento Community Edition 2.3
3636
* Log out from Magento admin and log in again
3737

3838
## Support
39-
If you need support or have any questions directly related to a [MageVision](https://www.magevision.com/) extension, please contact us at [support@magevision.com](mailto:support@magevision.com)
39+
If you need support or have any questions directly related to a [MageVision](https://www.magevision.com/) extension, please contact us at [support@magevision.com](mailto:support@magevision.com)

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"description": "Admin Category Product Thumbnail Extension for Magento 2",
44
"keywords": ["Magento 2", "Admin Category", "Product Thumbnail", "Products in Category", "Magento Backend"],
55
"require": {
6-
"php": "~7.1.3||~7.2.0||~7.3.0",
7-
"magento/framework": "102.0.*",
8-
"magento/module-backend": "101.0.*",
9-
"magento/module-catalog": "103.0.*"
6+
"php": "~7.1.3||~7.2.0||~7.3.0||~7.4.0",
7+
"magento/framework": "102.0.*||103.0.*",
8+
"magento/module-backend": "101.0.*||102.0.*",
9+
"magento/module-catalog": "103.0.*||104.0.*"
1010
},
1111
"type": "magento2-module",
12-
"version": "2.3.1",
12+
"version": "2.3.2",
1313
"license": [
1414
"OSL-3.0",
1515
"AFL-3.0"
@@ -32,4 +32,4 @@
3232
"support": {
3333
"email": "support@magevision.com"
3434
}
35-
}
35+
}

etc/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @category MageVision
77
* @package MageVision_AdminCategoryProductThumbnail
88
* @author MageVision Team
9-
* @copyright Copyright (c) 2019 MageVision (http://www.magevision.com)
9+
* @copyright Copyright (c) 2020 MageVision (http://www.magevision.com)
1010
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1111
*/
1212
-->

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @category MageVision
77
* @package MageVision_AdminCategoryProductThumbnail
88
* @author MageVision Team
9-
* @copyright Copyright (c) 2019 MageVision (http://www.magevision.com)
9+
* @copyright Copyright (c) 2020 MageVision (http://www.magevision.com)
1010
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1111
*/
1212
-->

registration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @category MageVision
66
* @package MageVision_AdminCategoryProductThumbnail
77
* @author MageVision Team
8-
* @copyright Copyright (c) 2019 MageVision (http://www.magevision.com)
8+
* @copyright Copyright (c) 2020 MageVision (http://www.magevision.com)
99
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1010
*/
1111
\Magento\Framework\Component\ComponentRegistrar::register(

0 commit comments

Comments
 (0)