Jump to content

Multistore database Pricing Structure


Recommended Posts

Hi,

 

I am trying to select the price of all products from the store with ID of 1 but for some reason; not all products are showing and the price is very, very different from what is being shown on my website.

 

Here is my SQL query so far...

SELECT * FROM ps_product p LEFT JOIN ps_product_lang l ON l.id_product = p.id_product LEFT JOIN ps_product_attribute_shop s ON s.id_product = p.id_product LEFT JOIN ps_product_attribute a ON a.id_product_attribute = s.id_product_attribute WHERE l.id_shop = 1 AND s.id_shop = 1

Can anyone help?

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