Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create model in custom module in magento2 #1174

Closed
viral177 opened this issue Apr 8, 2015 · 2 comments
Closed

Create model in custom module in magento2 #1174

viral177 opened this issue Apr 8, 2015 · 2 comments

Comments

@viral177
Copy link

viral177 commented Apr 8, 2015

i want to know how to display data in phtml file from database using custom model in magento2 for frontend,can you please give me proper solution?

@viral177 viral177 closed this as completed Apr 8, 2015
@viral177 viral177 reopened this Apr 8, 2015
@tzyganu
Copy link
Contributor

tzyganu commented Apr 8, 2015

@viral177 You can take a look at this sample module. I'm not sure it works on the latest Magento 2 version, but you can give it a try.

@vpelipenko
Copy link
Contributor

@viral177, could you give us more details? Do you create new module or try to change something existing?

magento-team pushed a commit that referenced this issue Jun 7, 2017
[EngCom] Public Pull Requests - 2.1
 - MAGETWO-69665: Backport of MAGETWO-59089 for Magento 2.1: Magento 2.1.1 Problem with change currency #9841
 - MAGETWO-69543: Fixes regression bug introduced in Magento 2.1.6 where the layered navigation options are sometimes being cached using the wrong store id. #9704
 - MAGETWO-69151: Do not hardcode product link types [2.1 backport] #9601
 - MAGETWO-69691: Travis build failures because the job exceeded the maximum time limit for jobs - 2.1-develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants