Skip to content

Commit 6fc5e59

Browse files
committed
v2.3.0
1 parent 7af6be6 commit 6fc5e59

File tree

7 files changed

+21
-17
lines changed

7 files changed

+21
-17
lines changed

Block/Adminhtml/Category/Tab/Product.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
* @category MageVision
66
* @package MageVision_AdminCategoryProductThumbnail
77
* @author MageVision Team
8-
* @copyright Copyright (c) 2017 MageVision (http://www.magevision.com)
8+
* @copyright Copyright (c) 2018 MageVision (http://www.magevision.com)
99
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1010
*/
1111
namespace MageVision\AdminCategoryProductThumbnail\Block\Adminhtml\Category\Tab;
1212

13+
use MageVision\AdminCategoryProductThumbnail\Block\Adminhtml\Category\Tab\Product\Grid\Renderer\Image;
14+
1315
class Product extends \Magento\Catalog\Block\Adminhtml\Category\Tab\Product
1416
{
1517
/**
@@ -36,7 +38,7 @@ protected function _prepareColumns()
3638
[
3739
'header' => __('Thumbnail'),
3840
'index' => 'image',
39-
'renderer' => \MageVision\AdminCategoryProductThumbnail\Block\Adminhtml\Category\Tab\Product\Grid\Renderer\Image::class,
41+
'renderer' => Image::class,
4042
'filter' => false,
4143
'sortable' => false,
4244
'column_css_class' => 'data-grid-thumbnail-cell'

Block/Adminhtml/Category/Tab/Product/Grid/Renderer/Image.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) 2017 MageVision (http://www.magevision.com)
8+
* @copyright Copyright (c) 2018 MageVision (http://www.magevision.com)
99
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1010
*/
1111
namespace MageVision\AdminCategoryProductThumbnail\Block\Adminhtml\Category\Tab\Product\Grid\Renderer;

README.md

Lines changed: 7 additions & 5 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.0 - 2.1 - 2.2
18+
Magento Community Edition 2.0 - 2.1 - 2.2 - 2.3
1919

2020
## Installing the Extension
2121
* Backup your web directory and store database
@@ -27,10 +27,12 @@ Magento Community Edition 2.0 - 2.1 - 2.2
2727
* Upload the extracted folders and files of the extension to base (root) Magento directory. Do not replace the whole folders, but merge them. If you have downloaded the extension from Magento Marketplace, then create the following folder path app/code/MageVision/AdminCategoryProductThumbnail and upload there the extracted folders and files.
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
30-
2. php -f bin/magento module:enable MageVision_AdminCategoryProductThumbnail
31-
3. php -f bin/magento setup:upgrade
32-
4. php -f bin/magento setup:di:compile
33-
5. php -f bin/magento setup:static-content:deploy
30+
2. php bin/magento maintenance:enable
31+
3. php bin/magento module:enable MageVision_AdminCategoryProductThumbnail
32+
4. php bin/magento setup:upgrade
33+
5. php bin/magento setup:di:compile
34+
6. php bin/magento setup:static-content:deploy
35+
7. php bin/magento maintenance:disable
3436
* Log out from Magento admin and log in again
3537

3638
## Support

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": "~5.5.0|~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0",
7-
"magento/module-backend": "100.0.*|100.1.*|100.2.*",
8-
"magento/module-catalog": "100.0.*|101.0.*|102.0.*",
9-
"magento/framework": "100.0.*|100.1.*|101.0.*"
6+
"php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0",
7+
"magento/module-backend": "100.0.*|100.1.*|100.2.*|101.0.*",
8+
"magento/module-catalog": "100.0.*|101.0.*|102.0.*|103.0.*",
9+
"magento/framework": "100.0.*|100.1.*|101.0.*|102.0.*"
1010
},
1111
"type": "magento2-module",
12-
"version": "2.2.0",
12+
"version": "2.3.0",
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) 2017 MageVision (http://www.magevision.com)
9+
* @copyright Copyright (c) 2018 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
* @category MageVision
77
* @package MageVision_AdminCategoryProductThumbnail
88
* @author MageVision Team
9-
* @copyright Copyright (c) 2017 MageVision (http://www.magevision.com)
9+
* @copyright Copyright (c) 2018 MageVision (http://www.magevision.com)
1010
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1111
*/
1212
-->
1313
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
14-
<module name="MageVision_AdminCategoryProductThumbnail" setup_version="2.2.0">
14+
<module name="MageVision_AdminCategoryProductThumbnail" setup_version="2.3.0">
1515
<sequence>
1616
<module name="Magento_Catalog"/>
1717
</sequence>

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) 2017 MageVision (http://www.magevision.com)
8+
* @copyright Copyright (c) 2018 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)