Skip to content

Commit

Permalink
improve: add recurence items in catalog menu
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiano-mallmann committed Aug 11, 2023
1 parent a1200bf commit 0ec05e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etc/adminhtml/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@
<add action="pagarme_pagarme/recurrenceproducts/index" id="Pagarme::pagarme_recurrenceproducts_index" module="Pagarme_Pagarme" parent="Pagarme::pagarme_recurrence" resource="Magento_Config::config" sortOrder="1" title="Recurrence Products"/>
<add action="pagarme_pagarme/plans/index" id="Pagarme::pagarme_plans_index" module="Pagarme_Pagarme" parent="Pagarme::pagarme_recurrence" resource="Magento_Config::config" sortOrder="1" title="Plans"/>
<add action="pagarme_pagarme/subscriptions/index" id="Pagarme::pagarme_subscriptions_index" module="Pagarme_Pagarme" parent="Pagarme::pagarme_recurrence" resource="Magento_Config::config" sortOrder="1" title="Subscriptions"/>

<!-- Add recurence items in catalog menu -->
<add id="Pagarme::pagarme_recurrence_catalog" module="Pagarme_Pagarme" parent="Magento_Catalog::catalog" resource="Magento_Config::config" dependsOnConfig="pagarme_pagarme/recurrence/active" sortOrder="30" title="Recurrence"/>
<add action="pagarme_pagarme/recurrenceproducts/index" id="Pagarme::pagarme_recurrenceproducts_catalog" module="Pagarme_Pagarme" parent="Pagarme::pagarme_recurrence_catalog" resource="Magento_Config::config" sortOrder="1" title="Recurrence Products"/>
<add action="pagarme_pagarme/plans/index" id="Pagarme::pagarme_plans_catalog" module="Pagarme_Pagarme" parent="Pagarme::pagarme_recurrence_catalog" resource="Magento_Config::config" sortOrder="1" title="Plans"/>
</menu>
</config>

0 comments on commit 0ec05e2

Please sign in to comment.