gmasso Posted November 29, 2020 Share Posted November 29, 2020 (edited) 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 November 29, 2020 by gmasso (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now