I want to add a table view in Merchant Portal of Spryker. Any help will be appreciated.

manish.gangola
manish.gangola Posts: 6 🧑🏻‍🚀 - Cadet

I want to display a list of customers, who have purchased an item at least from merchant. I've written the business logic, but facing an issue for Presentation layer.

project-mp.png

I'm unable to create this js file. If anyone can help, or provide any documentation or reference link, please let me know.

Best Answer

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,113 ⚖️ - Guardians (admin)
    Answer ✓

    Heyhey @manish.gangola ,

    please have a look in here: https://github.com/spryker/sales-merchant-portal-gui/tree/master/src/Spryker/Zed/SalesMerchantPortalGui/Presentation/Components/app
    You need to do sth similar.

    I made a proof of concept with this patch file. It is showing the table already within http://mp.de.spryker.local/customer-merchant-portal-gui/index(there is some higup with the navigation right now) but without data. Likely because i have not added customer data to ACL yet.

    Hope this helps in the right direction.

    All the best,

    Florian

Answers

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,113 ⚖️ - Guardians (admin)
    Answer ✓

    Heyhey @manish.gangola ,

    please have a look in here: https://github.com/spryker/sales-merchant-portal-gui/tree/master/src/Spryker/Zed/SalesMerchantPortalGui/Presentation/Components/app
    You need to do sth similar.

    I made a proof of concept with this patch file. It is showing the table already within http://mp.de.spryker.local/customer-merchant-portal-gui/index(there is some higup with the navigation right now) but without data. Likely because i have not added customer data to ACL yet.

    Hope this helps in the right direction.

    All the best,

    Florian