subscribepro / subscribepro-magento2-ext

Subscribe Pro Magento 2 Integration Extension
MIT License
24 stars 22 forks source link

Feature Request: Add page_types.xml to include SubscribePro Customer Pages in Magento Widget Layout Updates #275

Open chapagain opened 5 months ago

chapagain commented 5 months ago

Scenario

We had a requirement to add Yotpo Loyalty Widget ( Html div containing yotpo instance ID ) in the Customer's "My Product Subscriptions".

The "My Product Subscriptions" customer page is created by the SubscribePro module.

We had to create a separate layout xml file to include a CMS block in the "My Product Subscriptions" page.

It would have been easy/efficient if SubscribePro module had this "My Product Subscriptions" page listed in the Magento Widget's Layout Updates section.

Feature Request

Can you add page_types.xml in subscribepro module so that the pages related to subscribepro module can be listed in the layout updates section of Magento Widgets?

e.g. https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Cms/etc/frontend/page_types.xml

Screenshot 2024-03-19 at 3 18 39 PM