LoicCDIP Posted May 21, 2015 Share Posted May 21, 2015 Bonjour à tous, J'aimerais savoir si il est possible d'afficher des produits d'une certaine catégorie sous forme de liste suir la page d'accueil. Grace au module "Produits mis en avant sur la page d'accueil", j'ai réussi à afficher les produits ma catégorie sur la home, mais sous forme de vignette (4 par lignes). j'aimerais les afficher sous forme de liste, comme on peut avoir dans une page "Catégorie". Avez-vous un idée ? Merci ! Loïc Link to comment Share on other sites More sharing options...
LoicCDIP Posted June 3, 2015 Author Share Posted June 3, 2015 Bonjour à tous, J'ai suivi ce tutoriel là: http://mypresta.eu/en/art/prestashop-16/grid-to-list-products-view.html Change this line in global.js:42if (typeof page_name != 'undefined' && !in_array(page_name, ['index', 'product']))TOif (typeof page_name != 'undefined' && !in_array(page_name, ['product']))Don't forget to check conditions for index page in templates like "product-list.tpl" (if page == "index"...) 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