Skip to content

Commit

Permalink
Compatibility update 2.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolakisae committed Mar 16, 2023
1 parent 68765d4 commit f85ec12
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 14 deletions.
9 changes: 5 additions & 4 deletions Observer/AdminhtmlBlockHtmlBeforeObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@
* @category MageVision
* @package MageVision_AdminCategoryProductLink
* @author MageVision Team
* @copyright Copyright (c) 2022 MageVision (https://www.magevision.com)
* @copyright Copyright (c) 2023 MageVision (https://www.magevision.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
declare(strict_types=1);

namespace MageVision\AdminCategoryProductLink\Observer;

use Magento\Framework\Event\ObserverInterface;
use Exception;
use Magento\Catalog\Block\Adminhtml\Category\Tab\Product;
use Magento\Framework\App\RequestInterface;
use Magento\Framework\Event\Observer;
use Magento\Catalog\Block\Adminhtml\Category\Tab\Product;
use Magento\Framework\Event\ObserverInterface;

class AdminhtmlBlockHtmlBeforeObserver implements ObserverInterface
{
Expand All @@ -40,7 +41,7 @@ public function __construct(
*
* @param Observer $observer
* @return void
* @throws \Exception
* @throws Exception
*/
public function execute(Observer $observer)
{
Expand Down
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ The Admin Category Product Link extension is a simple but really useful extensio
* 100% open source

## Compatibility
Magento Community Edition 2.3 - 2.4
Magento Community Edition 2.4

## Installing the Extension
## Installing the Extension using an archive and FTP
* Backup your web directory and store database
* Download the extension
1. Sign in to your account
Expand All @@ -27,12 +27,24 @@ Magento Community Edition 2.3 - 2.4
* 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:
1. cd path_to_the_magento_root_directory
2. php bin/magento maintenance:enable
3. php bin/magento module:enable MageVision_AdminCategoryProductLink
3. php bin/magento module:enable MageVision_AdminCategoryProductLink --clear-static-content
4. php bin/magento setup:upgrade
5. php bin/magento setup:di:compile
6. php bin/magento setup:static-content:deploy
7. php bin/magento maintenance:disable
* Log out from Magento admin and log in again

## Installing the Extension via composer
* Backup your web directory and store database
* 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:
1. cd path_to_the_magento_root_directory
2. php bin/magento maintenance:enable
3. composer require magevision/module-admin-category-product-link
4. php bin/magento module:enable MageVision_AdminCategoryProductLink --clear-static-content
5. php bin/magento setup:upgrade
6. php bin/magento setup:di:compile
7. php bin/magento setup:static-content:deploy
8. php bin/magento maintenance:disable

## Support
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)
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"description": "Admin Category Product Link Extension for Magento 2",
"keywords": ["Magento 2", "Admin Category", "Product Link", "Edit Product"],
"require": {
"php": "~7.1.3||~7.2.0||~7.3.0||~7.4.0||~8.1.0",
"magento/framework": "102.0.*||103.0.*",
"magento/module-catalog": "103.0.*||104.0.*"
"php": "~7.3.0||~7.4.0||~8.1.0||~8.2.0",
"magento/framework": "103.0.*",
"magento/module-catalog": "104.0.*"
},
"type": "magento2-module",
"version": "2.4.1",
"version": "2.4.2",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion etc/adminhtml/events.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @category MageVision
* @package MageVision_AdminCategoryProductLink
* @author MageVision Team
* @copyright Copyright (c) 2022 MageVision (https://www.magevision.com)
* @copyright Copyright (c) 2023 MageVision (https://www.magevision.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
-->
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @category MageVision
* @package MageVision_AdminCategoryProductLink
* @author MageVision Team
* @copyright Copyright (c) 2022 MageVision (https://www.magevision.com)
* @copyright Copyright (c) 2023 MageVision (https://www.magevision.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
-->
Expand Down
2 changes: 1 addition & 1 deletion registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @category MageVision
* @package MageVision_AdminCategoryProductLink
* @author MageVision Team
* @copyright Copyright (c) 2022 MageVision (https://www.magevision.com)
* @copyright Copyright (c) 2023 MageVision (https://www.magevision.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

Expand Down

0 comments on commit f85ec12

Please sign in to comment.