Jump to content

Query from different table


earlrodson

Recommended Posts

Can someone please help me on how to query from a different table in prestashop in backoffice?

 

i had maid a menu that should give all the list of products from a different table.

 

but i dont know how to make the query statement.. can you give me a simple script?

 

see the images below.

post-476120-0-25624300-1360306924_thumb.png

Edited by earlrodson (see edit history)
Link to comment
Share on other sites

You can use any custom function that returns products, or even Product::getProducts() I believe ;)

If you know sql, it should be easy anyway, just look at that getProducts to see which columns you might need, and make changes to that query where/if needed

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...