Dear all,
I have been trying to add a plugin to my currently local NopCommerce (subsequently NC) installation. Since I have not made any progress, it occurred to me that my entire approach might have been wrong. I am a bit confused in terms of when to opt for widgets or plugins and using NC or plugin pages in general. Be that as it may, please, allow me to describe what I have been trying to achieve:
Within NC, I would like to create a page with a text box and a button. Users can enter their customer number and once they hit the button, the request is processed, and a second page displays all customer purchases based on the customer number entered, e.g. a user enters “CNR12345” and is redirected to a particular page displaying all purchases related to that customer number.
The page to enter the customer number and the page displaying the purchases made should both be “proper” pages and part of the actual shop(s).
The described above feature is part of an existing application created as a “classic” MVC5 project. A considerable part of the actual logic thus already exists, and I have been able to convert most of it to the NetCore framework.
The problem I am facing is how to create the pages mentioned above and connect the logic layer. What would be the correct approach, plugin or widget or something else?
I am sure I must have misread or misunderstood some section(s) in the documentation. Would be grand if somebody could assist me regarding this matter.
Thanks a mil in advance.