Jump to content

Access list of all products from product page


gmasso

Recommended Posts

Hi, I need to get a list of all the products in Product.php in order to pass it to product.tpl. That way I will be able to access some kind of $products variable from product.tpl, just like it can be done in products.tpl with the $listing.products variable. My problem is that I don't really know PHP and I have no idea on how to implement it inside Product.php. My guess is that it should be a relatively easy thing to do, so I would appreciate if someone could give me an answer (taking into account my little knowledge of PHP). 

Edited by gmasso (see edit history)
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...