Jump to content

Compare actual product price against db tables


NemoPS

Recommended Posts

Hi there everyone,

I'm working on a layered navigation module, and currently having a REALLY bad time getting the right price out of products. Prestashop pricing system is pretty complicated, since is based on multiple factors placed in multiple tables. So a product can cost 32€ to me and 48€ to somebody else. I managed to get the right price using Product::getPriceStatic, even if it causes a bad table streass if the products are like 1200, the real problem is: ho can i check that value, the actual price, in database, since it's spreaded into multiple columns, present for some products, not present for others?

 

I hope somebody can help me

 

regards

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