andre93500 Posted September 29, 2014 Share Posted September 29, 2014 bonjour j'aie besoin d'un petit coup de main pour modifier mon thème. je voudrais modifier la taille des produits phares sur le thèmes actuel il y a 3 produits phares qui son énorme etje voudrais en mettre 4 plus petit . je vous est fait une images pour être plus explicite je vous remercie beaucoup si vous pouviez me donner un petit coup de main pour modifier cela version : PrestaShop™ 1.5.6.2 et URL de mon site : http://www.achat-vin...ct-vigneron.fr/ merci Link to comment Share on other sites More sharing options...
andre93500 Posted October 2, 2014 Author Share Posted October 2, 2014 bonjour je cherche toujours la solution ?? Link to comment Share on other sites More sharing options...
Soyons Solidaire Posted October 2, 2014 Share Posted October 2, 2014 (edited) Salut andre93500 quand en clic sur le lien de ton site cela nous dirige vers la page PrestaShop ? Edited October 2, 2014 by G.Solidarité (see edit history) Link to comment Share on other sites More sharing options...
andre93500 Posted October 2, 2014 Author Share Posted October 2, 2014 (edited) oups désolé voici URL de mon site : http://www.achat-vin...ct-vigneron.fr/ si vous pouviez m'aider un peut cela serai super merci Edited October 2, 2014 by andre93500 (see edit history) Link to comment Share on other sites More sharing options...
Soyons Solidaire Posted October 2, 2014 Share Posted October 2, 2014 (edited) Bonjour, sur le module Produits Phares , tu as mis combien ? " le nombre de produits phares" Edited October 2, 2014 by G.Solidarité (see edit history) Link to comment Share on other sites More sharing options...
andre93500 Posted October 2, 2014 Author Share Posted October 2, 2014 merci pour ton aide que 3 car si j'en mais plus tout est décalé c'est pour cela que je voudrais modifier le thème pour en avoir plus mais plus petit. Link to comment Share on other sites More sharing options...
Soyons Solidaire Posted October 2, 2014 Share Posted October 2, 2014 Tu peux les réduire va sur : PRÉFÉRENCES / IMAGES Link to comment Share on other sites More sharing options...
andre93500 Posted October 2, 2014 Author Share Posted October 2, 2014 oui j'aie déjà essayé cela réduit l'images mais pas la grandeur de l'encadrement ? cela fait une petite image dans un grand cadre pas cool . Link to comment Share on other sites More sharing options...
Vinum Posted October 3, 2014 Share Posted October 3, 2014 Bonjour, Ce n'est pas normal qu'un mettant 4 produits phares cela ne fonctionne pas. Montre nous ton fichier, modules/homefeatured/homefeatured.tpl Link to comment Share on other sites More sharing options...
andre93500 Posted October 3, 2014 Author Share Posted October 3, 2014 {** 2007-2013 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to [email protected] so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA <[email protected]>* @copyright 2007-2013 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*} <!-- MODULE Home Featured Products --><div id="featured-products_block_center" class="main_page_products block"> <h4><span>{l s='Featured products' mod='homefeatured'}</span></h4> {if isset($products) AND $products} {assign var='nbItemsPerLine' value=4} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbLi' value=$products|@count} {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet} <ul class="row"> {foreach from=$products item=product name=homeFeaturedProducts} {math equation="(total%perLine)" total=$smarty.foreach.homeFeaturedProducts.total perLine=$nbItemsPerLine assign=totModulo} {math equation="(total%perLineT)" total=$smarty.foreach.homeFeaturedProducts.total perLineT=$nbItemsPerLineTablet assign=totModuloTablet} {if $totModulo == 0}{assign var='totModulo' value=$nbItemsPerLine}{/if} {if $totModuloTablet == 0}{assign var='totModuloTablet' value=$nbItemsPerLineTablet}{/if} <li class="ajax_block_product col-xs-12 col-sm-4 col-md-4 {if $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLine == 0}last_item_of_line{elseif $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLine == 1} first_item_of_line {/if} {if $smarty.foreach.homeFeaturedProducts.iteration > ($smarty.foreach.homeFeaturedProducts.total - $totModulo)}last_line{/if} {if $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLineTablet == 0}last_item_of_tablet_line{elseif $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLineTablet == 1}first_item_of_tablet_line{/if} {if $smarty.foreach.homeFeaturedProducts.iteration > ($smarty.foreach.homeFeaturedProducts.total - $totModuloTablet)}last_tablet_line{/if}"> <div class="inner_content clearfix"> {if isset($product.new) && $product.new == 1}<div class="new-box"><span class="before"></span><span class="after"></span><span class="new">{l s='New' mod='homefeatured'}</span></div>{/if} <div class="product_image"><a href="{$product.link|escape:'html'}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html'}" alt="{$product.name|escape:html:'UTF-8'}" /></a></div> <h5><a class="product_link" href="{$product.link|escape:'html'}" title="{$product.name|truncate:50:'...'|escape:'htmlall':'UTF-8'}">{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}</a></h5> <p class="product_desc">{$product.description_short|strip_tags|truncate:26:'...'}</p> <div class="product_content"> {if $product.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}<p class="price_container"><span class="price">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span></p>{else}<div style="height:21px;"></div>{/if} {if ($product.id_product_attribute == 0 OR (isset($add_prod_display) AND ($add_prod_display == 1))) AND $product.available_for_order AND !isset($restricted_country_mode) AND $product.minimal_quantity == 1 AND $product.customizable != 2 AND !$PS_CATALOG_MODE} {if ($product.quantity > 0 OR $product.allow_oosp)} <a class="exclusive btn btn-default ajax_add_to_cart_button btn_add_cart" rel="ajax_id_product_{$product.id_product}" href="{$link->getPageLink('cart')|escape:'html'}?qty=1&id_product={$product.id_product}&token={$static_token}&add" title="{l s='Add to cart' mod='homefeatured'}"><span>{l s='Add to cart' mod='homefeatured'}</span></a> {else} <span class="exclusive btn btn-default disabled">{l s='Add to cart' mod='homefeatured'}</span> {/if} {else} <div style="height:23px;"></div> {/if} <a class="button btn btn-default" href="{$product.link|escape:'html'}" title="{l s='View' mod='homefeatured'}">{l s='View' mod='homefeatured'}</a> </div> </div> </li> {/foreach} </ul> {else} <p>{l s='No featured products' mod='homefeatured'}</p> {/if}</div><!-- /MODULE Home Featured Products --> le voila merci Link to comment Share on other sites More sharing options...
andre93500 Posted October 4, 2014 Author Share Posted October 4, 2014 la j'aie mis 6 produits à afficher. et regarder comment sa fait c'est pas cool ? Link to comment Share on other sites More sharing options...
andre93500 Posted October 8, 2014 Author Share Posted October 8, 2014 désolé pas de solution alors ( poste fermé ) 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