guillaume2vo Posted November 16, 2018 Share Posted November 16, 2018 Bonjour Comment je peux faire pour mettre le texte des catégories dessous les produits? merci Link to comment Share on other sites More sharing options...
doekia Posted November 16, 2018 Share Posted November 16, 2018 Deplacer la div description après la liste produit dans le tpl Link to comment Share on other sites More sharing options...
guillaume2vo Posted November 16, 2018 Author Share Posted November 16, 2018 sur la V1.6 oui, mais, je ne peux pas sur le Version 1.7 Link to comment Share on other sites More sharing options...
doekia Posted November 16, 2018 Share Posted November 16, 2018 Ben c'est pareil, il faut juste déplacer le partial! Link to comment Share on other sites More sharing options...
guillaume2vo Posted November 16, 2018 Author Share Posted November 16, 2018 euh j'ai que cela dans les partial Link to comment Share on other sites More sharing options...
guillaume2vo Posted November 17, 2018 Author Share Posted November 17, 2018 up Link to comment Share on other sites More sharing options...
doekia Posted November 17, 2018 Share Posted November 17, 2018 down! Pas beaucoup d'investissement finalement pour une agence. Allez, je te prend par la main. Tu vois le petit bonhomme, il est vert. On peut traverser: templates/catalog/listing/category.tpl Link to comment Share on other sites More sharing options...
guillaume2vo Posted November 17, 2018 Author Share Posted November 17, 2018 Je suis SEO, je ne fait pas de DEV, enfin très peut Link to comment Share on other sites More sharing options...
doekia Posted November 17, 2018 Share Posted November 17, 2018 Mouais, sur ton site: "Prestashop 1.7 Développe des sites e-commerce avec principalement le CMS prestashop, nous intégrons votre maquette PSD en thème prestashop responsive." Et là tu ne sais pas faire une recherche sur ton disque !!! Et un merci c'est que les devs. Les SEO sont au dessus de ça donc! Link to comment Share on other sites More sharing options...
guillaume2vo Posted November 18, 2018 Author Share Posted November 18, 2018 La sous-traitance est mon 1er mot -- Pour ceux que cela intéresse et je ne sais pas si c'est bien optimisé, mais, cela fonctionne category.tpl {extends file='catalog/listing/product-list.tpl'} {block name='product_list_header'} <h1 class="h1">{$category.name}</h1> {/block} product-list.tpl <div id="js-product-list-bottom"> {block name='product_list_bottom'} {include file='catalog/_partials/products-bottom.tpl' listing=$listing} <div class="block-category"> <div class="category-cover"> <img class="img-fluid" src="{$category.image.large.url}" alt="{$category.image.legend}"> </div> {if $category.description} <div id="category-description" class="text-muted">{$category.description nofilter}</div> {/if} </div> {/block} </div> {else} {include file='errors/not-found.tpl'} Link to comment Share on other sites More sharing options...
doekia Posted November 18, 2018 Share Posted November 18, 2018 ça doit péter grave sur un listing manufacturer, search, meilleurs ventes, prices-drop ta modif. Enlever la partie que tu avais dans l'override de product_list_header (un partial) pour la mettre dans products_bottom (l'autre block de l'autre partial ) à l'intérieur de templates/catalog/listing/category.tpl est la solution !! Lire la documentation smarty peut grandement aider à comprendre les templates ! category.tpl extends product_list.tpl extends layout.tpl product_list.tpl {block content} {block product_list_header} {block product_list_top} {block product_list_active_filters} {block product_list} {block products_bottom override {product_list_header} - 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