Jump to content

custom module query help needed


walkout

Recommended Posts

Hi ,

I am working on my first module with prestashop to be released here , soon.

 

I am looking to gather , Product url , Absolute Product Image, and Product title, and Product short description , in sql query.

 

Can someone suggest me query for this ?

 

and what i could do to call from inside module.

 

Thanks in advance.

Link to comment
Share on other sites

Hi ,

I am working on my first module with prestashop to be released here , soon.

 

I am looking to gather , Product url , Absolute Product Image, and Product title, and Product short description , in sql query.

 

Can someone suggest me query for this ?

 

and what i could do to call from inside module.

 

Thanks in advance.

 

 

It's better to use already existing PHP classes than writing our own solution (mysql queries etc.)

 

To be able to get the data that you're talking about, please refer to the classes: Products, Link. Or just analyse the homefeatured module - there is completly answer to your question

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...