Skip to content

Commit

Permalink
add composer
Browse files Browse the repository at this point in the history
  • Loading branch information
karliuka committed Mar 15, 2023
1 parent b80b86e commit 0400cbf
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Magento2 CategoryHide
# Magento2 Category Hide

The extension hide categories in menu when they are empty.

Expand Down
30 changes: 30 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "eriocnemis/module-category-hide",
"description": "The extension hide categories in menu when they are empty.",
"type": "magento2-module",
"version": "2.4.0",
"authors": [
{
"name": "Eriocnemis Team",
"email": "[email protected]"
}
],
"license": [
"OSL-3.0"
],
"require": {
"php": "~7.3.0||~7.4.0||~8.1.0",
"magento/framework": "103.0.*",
"magento/module-catalog": "104.0.*",
"magento/module-config": "101.2.*",
"magento/module-store": "101.1.*"
},
"autoload": {
"files": [
"src/registration.php"
],
"psr-4": {
"Eriocnemis\\CategoryHide\\": "src"
}
}
}
File renamed without changes.
File renamed without changes.
30 changes: 30 additions & 0 deletions src/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "eriocnemis/module-category-hide",
"description": "The extension hide categories in menu when they are empty.",
"type": "magento2-module",
"version": "2.4.0",
"authors": [
{
"name": "Eriocnemis Team",
"email": "[email protected]"
}
],
"license": [
"OSL-3.0"
],
"require": {
"php": "~7.3.0||~7.4.0||~8.1.0",
"magento/framework": "103.0.*",
"magento/module-catalog": "104.0.*",
"magento/module-config": "101.2.*",
"magento/module-store": "101.1.*"
},
"autoload": {
"files": [
"src/registration.php"
],
"psr-4": {
"Eriocnemis\\CategoryHide\\": "src"
}
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion etc/config.xml → src/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<default>
<catalog>
<navigation>
<hide_empty>1</hide_empty>
<hide_empty>0</hide_empty>
</navigation>
</catalog>
</default>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0400cbf

Please sign in to comment.