Skip to content

Commit 53822f9

Browse files
author
Timon de Groot
committed
Rename Marissen to Mooore
1 parent 309eb41 commit 53822f9

File tree

16 files changed

+25
-26
lines changed

16 files changed

+25
-26
lines changed

Controller/Data/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Marissen\AddToCartNotification\Controller\Data;
5+
namespace Mooore\AddToCartNotification\Controller\Data;
66

77
use Magento\Catalog\Api\ProductRepositoryInterface;
88
use Magento\Catalog\Helper\ImageFactory;

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Marissen e-commerce
3+
Copyright (c) 2019 Mooore Digital
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Model/Checkout/ConfigProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace Marissen\AddToCartNotification\Model\Checkout;
5+
namespace Mooore\AddToCartNotification\Model\Checkout;
66

77
use Magento\Checkout\Model\ConfigProviderInterface;
8-
use Marissen\AddToCartNotification\Model\Config;
8+
use Mooore\AddToCartNotification\Model\Config;
99

1010
class ConfigProvider implements ConfigProviderInterface
1111
{

Model/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Marissen\AddToCartNotification\Model;
5+
namespace Mooore\AddToCartNotification\Model;
66

77
use Magento\Framework\App\Config\ScopeConfigInterface;
88
use Magento\Store\Model\ScopeInterface;

Plugin/Block/Cart/SidebarPlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace Marissen\AddToCartNotification\Plugin\Block\Cart;
5+
namespace Mooore\AddToCartNotification\Plugin\Block\Cart;
66

7-
use Marissen\AddToCartNotification\Model\Checkout\ConfigProvider;
7+
use Mooore\AddToCartNotification\Model\Checkout\ConfigProvider;
88

99
class SidebarPlugin
1010
{

Plugin/Controller/Cart/AddPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Marissen\AddToCartNotification\Plugin\Controller\Cart;
5+
namespace Mooore\AddToCartNotification\Plugin\Controller\Cart;
66

77
use Magento\Checkout\Controller\Cart\Add as Subject;
88
use Magento\Framework\App\Request\Http as HttpRequest;

Plugin/Message/ManagerInterfacePlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace Marissen\AddToCartNotification\Plugin\Message;
5+
namespace Mooore\AddToCartNotification\Plugin\Message;
66

7-
use Marissen\AddToCartNotification\Model\Config;
7+
use Mooore\AddToCartNotification\Model\Config;
88

99
class ManagerInterfacePlugin
1010
{

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Show a pretty notification after add to cart.
33

44
## Installation
55
``` bash
6-
composer require marissen/magento2-module-add-to-cart-notification
6+
composer require mooore/magento2-module-add-to-cart-notification
77
bin/magento setup:upgrade
88
```
99

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
{
2-
"name": "marissen/magento2-module-add-to-cart-notification",
2+
"name": "mooore/magento2-module-add-to-cart-notification",
33
"description": "",
44
"license": "MIT",
55
"require": {
66
"magento/module-catalog": "*",
77
"magento/module-checkout": "*"
88
},
99
"type": "magento2-module",
10-
"version": "1.0.0",
1110
"autoload": {
1211
"files": [
1312
"registration.php"
1413
],
1514
"psr-4": {
16-
"Marissen\\AddToCartNotification\\": ""
15+
"Mooore\\AddToCartNotification\\": ""
1716
}
1817
}
1918
}

etc/di.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
44
<type name="Magento\Checkout\Controller\Cart\Add">
55
<plugin sortOrder="10"
6-
name="marissenAddToCartNotificationAdd"
7-
type="Marissen\AddToCartNotification\Plugin\Controller\Cart\AddPlugin"/>
6+
name="moooreAddToCartNotificationAdd"
7+
type="Mooore\AddToCartNotification\Plugin\Controller\Cart\AddPlugin"/>
88
</type>
99
</config>

etc/frontend/di.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
44
<type name="Magento\Framework\Message\ManagerInterface">
5-
<plugin sortOrder="1" name="marissenAddToCartNotificationManagerInterface"
6-
type="Marissen\AddToCartNotification\Plugin\Message\ManagerInterfacePlugin"/>
5+
<plugin sortOrder="1" name="moooreAddToCartNotificationManagerInterface"
6+
type="Mooore\AddToCartNotification\Plugin\Message\ManagerInterfacePlugin"/>
77
</type>
88
<type name="Magento\Checkout\Block\Cart\Sidebar">
9-
<plugin sortOrder="1" name="marissenAddToCartNotificationSidebar"
10-
type="Marissen\AddToCartNotification\Plugin\Block\Cart\SidebarPlugin"/>
9+
<plugin sortOrder="1" name="moooreAddToCartNotificationSidebar"
10+
type="Mooore\AddToCartNotification\Plugin\Block\Cart\SidebarPlugin"/>
1111
</type>
1212
</config>

etc/frontend/routes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
33
<router id="standard">
44
<route id="cart_notification" frontName="cart_notification">
5-
<module name="Marissen_AddToCartNotification"/>
5+
<module name="Mooore_AddToCartNotification"/>
66
</route>
77
</router>
88
</config>

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
4-
<module name="Marissen_AddToCartNotification" setup_version="1.0.0">
4+
<module name="Mooore_AddToCartNotification" setup_version="1.0.0">
55
<sequence>
66
<module name="Magento_Catalog"/>
77
<module name="Magento_Checkout"/>

registration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
\Magento\Framework\Component\ComponentRegistrar::register(
44
\Magento\Framework\Component\ComponentRegistrar::MODULE,
5-
'Marissen_AddToCartNotification',
5+
'Mooore_AddToCartNotification',
66
__DIR__
77
);

view/frontend/requirejs-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var config = {
22
config: {
33
mixins: {
44
'Magento_Catalog/js/catalog-add-to-cart': {
5-
'Marissen_AddToCartNotification/js/catalog/add-to-cart-mixin': true
5+
'Mooore_AddToCartNotification/js/catalog/add-to-cart-mixin': true
66
}
77
}
88
}

view/frontend/web/js/catalog/add-to-cart-mixin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ define([
9999
return target;
100100
}
101101

102-
$.widget('marissen.catalogAddToCart', target, mixin);
102+
$.widget('mooore.catalogAddToCart', target, mixin);
103103

104-
return $.marissen.catalogAddToCart;
104+
return $.mooore.catalogAddToCart;
105105
}
106106
});

0 commit comments

Comments
 (0)