File tree Expand file tree Collapse file tree 5 files changed +26
-7
lines changed
Expand file tree Collapse file tree 5 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 2020 "ext-json" : " *" ,
2121 "magento/module-catalog" : " *" ,
2222 "magento/module-customer" : " *" ,
23- "magento/module-eav" : " *"
23+ "magento/module-eav" : " *" ,
24+ "justbetter/magento2-core" : " ^1.0"
2425 },
2526 "autoload" : {
2627 "files" : [
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" urn:magento:framework:Acl/etc/acl.xsd" >
2+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Acl/etc/acl.xsd" >
43 <acl >
54 <resources >
65 <resource id =" Magento_Backend::admin" >
6+ <resource id =" JustBetter_Core::menu" >
7+ <resource id =" JustBetter_CustomerPricing::section" title =" Customer Pricing" sortOrder =" 10" >
8+ <resource id =" JustBetter_CustomerPricing::home" title =" Prices" sortOrder =" 10" />
9+ </resource >
10+ </resource >
711 <resource id =" Magento_Backend::stores" >
812 <resource id =" Magento_Backend::stores_settings" >
913 <resource id =" Magento_Config::config" >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Backend:etc/menu.xsd" >
33 <menu >
4- <add id =" JustBetter_CustomerPricing::home" title =" Customer Specific Prices" module =" JustBetter_CustomerPricing" sortOrder =" 1000" parent =" Magento_Catalog::catalog_products" resource =" Magento_Catalog::catalog" action =" customerpricing/index/index" />
4+ <add
5+ id =" JustBetter_CustomerPricing::section"
6+ title =" Customer Pricing"
7+ module =" JustBetter_CustomerPricing"
8+ sortOrder =" 10"
9+ parent =" JustBetter_Core::menu"
10+ resource =" JustBetter_CustomerPricing::section"
11+ />
12+ <add
13+ id =" JustBetter_CustomerPricing::home"
14+ title =" Prices"
15+ module =" JustBetter_CustomerPricing"
16+ sortOrder =" 10"
17+ parent =" JustBetter_CustomerPricing::section"
18+ resource =" JustBetter_CustomerPricing::home"
19+ action =" customerpricing/index/index"
20+ />
521 </menu >
622</config >
Original file line number Diff line number Diff line change 22<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
33 xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Config:etc/system_file.xsd" >
44 <system >
5- <tab id =" justbetter" translate =" label" sortOrder =" 1" >
6- <label >justbetter</label >
7- </tab >
85 <section id =" customer_pricing" sortOrder =" 15" showInWebsite =" 1" showInStore =" 1" showInDefault =" 1" translate =" label" >
96 <label >Customer Pricing</label >
107 <tab >justbetter</tab >
Original file line number Diff line number Diff line change 44 <sequence >
55 <module name =" Magento_Backend" />
66 <module name =" Magento_Catalog" />
7+ <module name =" JustBetter_Core" />
78 </sequence >
89 </module >
910</config >
You can’t perform that action at this time.
0 commit comments