Jump to content

andre93500

Members
  • Posts

    137
  • Joined

  • Last visited

Profile Information

  • Location
    pantin
  • Activity
    User/Merchant

Recent Profile Visitors

2,975,492 profile views

andre93500's Achievements

Newbie

Newbie (1/14)

6

Reputation

  1. la j'aie mis 6 produits à afficher. et regarder comment sa fait c'est pas cool ?
  2. {* * 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
  3. 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 .
  4. 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.
  5. 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
  6. 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 et je 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
  7. personne a la solution ou peut m'aider ??? version : PrestaShop™ 1.5.6.2 et URL de mon site : http://www.achat-vin-direct-vigneron.fr/ merci beaucoup
  8. 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 et je 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 merci
  9. merci a vous je vais quand même essayer on Véra bien qui ne tente rien na rien
  10. merci de ta réponse mon idée est de sélectionner uniquement des restaurant qui fond de la cuisine fait maison de qualité
×
×
  • Create New...