Jump to content

getProducts and getNewProducts differences

Recommended Posts

Hello, I would like to know why the two functions

getProducts and getNewProducts

(both in class Product)


return different "field list", in particular the function getProducts doesn't join to Images and some other table...


this is a big poblem for me, I'm modifying homefeatured.php and I'm using

$products = Product::getProducts(.....)


but images and links in home pages are corrupted,

instead if I use $products = Product::getNewProducts(....)


everything works fine...


do you know why there is this difference?



  • Like 1
Link to comment
Share on other sites

  • 1 year later...

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