oblik Posted October 28, 2014 Share Posted October 28, 2014 (edited) Hello I would like to display the viewed products like the category product list. The category controller use getProducts to get properties of each product. Do you know a function who get the same properties for a product or an array of product given as parameter? Thanks Sincerely Edited October 29, 2014 by oblik (see edit history) Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted October 29, 2014 Share Posted October 29, 2014 Check the blockviewed module and combine it with product-list.tpl. Link to comment Share on other sites More sharing options...
vekia Posted October 29, 2014 Share Posted October 29, 2014 in module .tpl file use this: {if isset($productsViewedObj) && $productsViewedObj}{include file="$tpl_dir./product-list.tpl" class='viewedproducts' id='viewedproducts' products='$productsViewedObj'} {/if} 1 Link to comment Share on other sites More sharing options...
Daniel G Wagner Posted August 30, 2018 Share Posted August 30, 2018 cannot find this file to edit product-list.tpl im facing trouble to show the products at my shop. it dont appear even at home or categories, only when I choose the preview file ate panel. tryed everthing, since activate and deactivate modules, add and delete product my shop www.odontokit.net preview file from panel: http://odontokit.net/index.php?id_product=26&controller=product Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 31, 2018 Share Posted August 31, 2018 18 hours ago, Daniel G Wagner said: cannot find this file to edit product-list.tpl im facing trouble to show the products at my shop. it dont appear even at home or categories, only when I choose the preview file ate panel. tryed everthing, since activate and deactivate modules, add and delete product my shop www.odontokit.net preview file from panel: http://odontokit.net/index.php?id_product=26&controller=product Hi, Kindly edit any product & go to Options tab & check what's the value of Visibility? Check if its correctly set OR not. Link to comment Share on other sites More sharing options...
musicmaster Posted August 31, 2018 Share Posted August 31, 2018 If you search for "product-list.tpl" under your Modules directory you will find that some modules use it. You can look there. 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