Skip to content

Commit b5bc556

Browse files
committed
Compatibility update 2.4.6
1 parent ec3b792 commit b5bc556

File tree

7 files changed

+28
-16
lines changed

7 files changed

+28
-16
lines changed

Block/Adminhtml/Category/Tab/Product.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
* @category MageVision
66
* @package MageVision_AdminCategoryProductThumbnail
77
* @author MageVision Team
8-
* @copyright Copyright (c) 2022 MageVision (https://www.magevision.com)
8+
* @copyright Copyright (c) 2023 MageVision (https://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);
1212

1313
namespace MageVision\AdminCategoryProductThumbnail\Block\Adminhtml\Category\Tab;
1414

15-
use MageVision\AdminCategoryProductThumbnail\Block\Adminhtml\Category\Tab\Product\Grid\Renderer\Image;
1615
use Magento\Framework\Data\Collection;
16+
use MageVision\AdminCategoryProductThumbnail\Block\Adminhtml\Category\Tab\Product\Grid\Renderer\Image;
1717

1818
class Product extends \Magento\Catalog\Block\Adminhtml\Category\Tab\Product
1919
{

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
* @category MageVision
66
* @package MageVision_AdminCategoryProductThumbnail
77
* @author MageVision Team
8-
* @copyright Copyright (c) 2022 MageVision (https://www.magevision.com)
8+
* @copyright Copyright (c) 2023 MageVision (https://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);
1212

1313
namespace MageVision\AdminCategoryProductThumbnail\Block\Adminhtml\Category\Tab\Product\Grid\Renderer;
1414

15-
use Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer;
1615
use Magento\Backend\Block\Context;
16+
use Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer;
1717
use Magento\Catalog\Helper\Image as ImageHelper;
1818
use Magento\Framework\DataObject;
1919

@@ -51,6 +51,6 @@ public function render(DataObject $row): string
5151
$image = 'product_listing_thumbnail';
5252
$imageUrl = $this->imageHelper->init($row, $image)->getUrl();
5353

54-
return '<img src="'.$imageUrl.'" width="50"/>';
54+
return '<img src="' . $imageUrl . '" width="50"/>';
5555
}
5656
}

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ 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 - 2.4
18+
Magento Community Edition 2.4
1919

20-
## Installing the Extension
20+
## Installing the Extension using an archive and FTP
2121
* Backup your web directory and store database
2222
* Download the extension
2323
1. Sign in to your account
@@ -28,12 +28,24 @@ Magento Community Edition 2.3 - 2.4
2828
* Connect via SSH to your Magento server as, or switch to, the Magento file system owner and run the following commands from the (root) Magento directory:
2929
1. cd path_to_the_magento_root_directory
3030
2. php bin/magento maintenance:enable
31-
3. php bin/magento module:enable MageVision_AdminCategoryProductThumbnail
31+
3. php bin/magento module:enable MageVision_AdminCategoryProductThumbnail --clear-static-content
3232
4. php bin/magento setup:upgrade
3333
5. php bin/magento setup:di:compile
3434
6. php bin/magento setup:static-content:deploy
3535
7. php bin/magento maintenance:disable
3636
* Log out from Magento admin and log in again
3737

38+
## Installing the Extension via composer
39+
* Backup your web directory and store database
40+
* Connect via SSH to your Magento server as, or switch to, the Magento file system owner and run the following commands from the (root) Magento directory:
41+
1. cd path_to_the_magento_root_directory
42+
2. php bin/magento maintenance:enable
43+
3. composer require magevision/module-admin-category-product-thumbnail
44+
4. php bin/magento module:enable MageVision_AdminCategoryProductThumbnail --clear-static-content
45+
5. php bin/magento setup:upgrade
46+
6. php bin/magento setup:di:compile
47+
7. php bin/magento setup:static-content:deploy
48+
8. php bin/magento maintenance:disable
49+
3850
## Support
3951
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: 5 additions & 5 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.4.0||~8.1.0",
7-
"magento/framework": "102.0.*||103.0.*",
8-
"magento/module-backend": "101.0.*||102.0.*",
9-
"magento/module-catalog": "103.0.*||104.0.*"
6+
"php": "~7.3.0||~7.4.0||~8.1.0||~8.2.0",
7+
"magento/framework": "103.0.*",
8+
"magento/module-backend": "102.0.*",
9+
"magento/module-catalog": "104.0.*"
1010
},
1111
"type": "magento2-module",
12-
"version": "2.4.1",
12+
"version": "2.4.2",
1313
"license": [
1414
"OSL-3.0",
1515
"AFL-3.0"

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) 2022 MageVision (https://www.magevision.com)
9+
* @copyright Copyright (c) 2023 MageVision (https://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) 2022 MageVision (https://www.magevision.com)
9+
* @copyright Copyright (c) 2023 MageVision (https://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) 2022 MageVision (https://www.magevision.com)
8+
* @copyright Copyright (c) 2023 MageVision (https://www.magevision.com)
99
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1010
*/
1111

0 commit comments

Comments
 (0)