Jump to content

[SOLVED] SQL Statement for selecting products


brownd92

Recommended Posts

Hi there,

I need help with a SQL statement for a multistore, something like:

 

Select all products from SHOPID where MANUFACTURER = 'ManufacturerID'

 

 

Thanks

select * from ps_product AS p
INNER JOIN ps_product_shop AS ps on ps.id_product=p.id_product
WHERE p.id_manufacturer='1' AND ps.id_shop='1' 

you need to define onw id_manufacturer and own id_shop values :)

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