5 sonuçtan 1 ile 5 arası

Konu: home featured modülü düzenleme ile ilgili sorun

  1. #1
    Junior Member
    Üyelik tarihi
    Aug 2011
    Mesajlar
    6
    Tecrübe Puanı
    0

    Standart home featured modülü düzenleme ile ilgili sorun

    ana sayfadaki homefeatured modulunu düzenlemek istedim. Ürün görselinin üzerindeki kısa tanımı kaldırmaya çalıştım. modules klasöründe homefeatured klasöründen homefetured.tpl dosyasının içerisinden ilgili yeri düzenlememe rağmen sitede herhangi bir değişiklik olmuyor. Bir türlü anlayamadım. Modulü deaktif edip tekrar aktifleştirmeyide denedim ancak bir çözüm olmadı yardımcı olabilirseniz sevinirim.

    homefeatured.tpl içeriği şu şekilde:

    <!-- MODULE Home Featured Products -->


    <h4 class="homefeaturedh4">{l s='featured products' mod='homefeatured'}</h4>


    <div id="featured-products_block_center" class="block products_block">



    {if isset($products) AND $products}

    <div class="block_content">

    {assign var='liHeight' value=310}

    {assign var='nbItemsPerLine' value=4}

    {assign var='nbLi' value=$products|@count}

    {assign var='nbLines' value=$nbLi/$nbItemsPerLine|ceil}

    {assign var='ulHeight' value=$nbLines*$liHeight}

    <ul style="height:{$ulHeight}px;">

    {foreach from=$products item=product name=homeFeaturedProducts}


    <li class="ajax_block_product
    {if $smarty.foreach.homeFeaturedProducts.first}first_i tem{elseif $smarty.foreach.homeFeaturedProducts.last}last_ite m{else}item{/if}
    {if $smarty.foreach.homeFeaturedProducts.iteration%$nb ItemsPerLine == 0}last_item_of_line{elseif $smarty.foreach.homeFeaturedProducts.iteration%$nb ItemsPerLine == 1}first_item_of_line{/if}
    {if $smarty.foreach.homeFeaturedProducts.iteration > ($smarty.foreach.homeFeaturedProducts.total - ($smarty.foreach.homeFeaturedProducts.total % $nbItemsPerLine))}last_line{/if}">

    <h5><a href="{$product.link}?phpMyAdmin=98526d0b8b5f8f81f 62e93bf38e4e836" title="{$product.name|truncate:32:'...'|escape:'ht mlall':'UTF-8'}">{$product.name|truncate:27:'...'|escape:'html all':'UTF-8'}</a></h5>

    <a href="{$product.link}?phpMyAdmin=98526d0b8b5f8f81f 62e93bf38e4e836" title="{$product.legend|escape:htmlall:'UTF-8'}" class="product_image">
    <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.legend|escape:htmlall:'UTF-8'}" /></a>

    <div>

    {if !$priceDisplay || $priceDisplay == 2}
    <p class="price_container">
    <span class="price">{convertPrice price=$product.price}</span>
    {if $priceDisplay == 2} {l s='+Tx' mod='homefeatured'}{/if}</p>{/if}

    {if $priceDisplay}<p class="price_container"><span class="price">{convertPrice price=$product.price_tax_exc}</span>
    {if $priceDisplay == 2} {l s='-Tx' mod='homefeatured'}{/if}</p>{/if}

    {if ($product.quantity > 0 OR $product.allow_oosp) AND $product.customizable != 2}

    <a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_{$product.id_product}" href="{$base_dir}cart.php?qty=1&amp;id_product={$p roduct.id_product}&amp;token={$static_token}&amp;a dd&phpMyAdmin=98526d0b8b5f8f81f62e93bf38e4e836" title="{l s='Add to cart' mod='homefeatured'}">{l s='Add to cart' mod='homefeatured'}</a>

    {else}

    <span class="exclusive">{l s='Add to cart' mod='homefeatured'}</span>

    {/if}

    </div>

    </li>

    {/foreach}

    </ul>

    </div>
    {else}

    <p>{l s='No featured products' mod='homefeatured'}</p>

    {/if}

    </div>

    <!-- /MODULE Home Featured Products -->


    <!-- vincenthsy 15-10-2009 -->
    None

  2. #2
    Senior Member
    Üyelik tarihi
    Jul 2010
    Yer
    Türkiye/Samsun
    Mesajlar
    1.668
    Tecrübe Puanı
    15

    Standart Cvp: home featured modülü düzenleme ile ilgili sorun

    <a veya p clas vs ile baslayan kodu kaldiracaksiniz.

    <
    Örnegin fiyati kaldirmak icin

    <p class="price_container"><span class="price">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span></p>

    bu kodu
    ürün detayini kaldirmak icin

    <p class="product_desc"><a href="{$product.link}?phpMyAdmin=98526d0b8b5f8f81f 62e93bf38e4e836" title="{l s='More' mod='homefeatured'}">{$product.description_short|s trip_tags|truncate:130:'...'}</a></p>

    bu kodun kaldirilmasi gerekmektedir
    Kolay gelsin
    ithalat-ihracat danismanlik : http://nepasun.com

  3. #3
    Junior Member
    Üyelik tarihi
    Aug 2011
    Mesajlar
    6
    Tecrübe Puanı
    0

    Standart Cvp: home featured modülü düzenleme ile ilgili sorun

    Öncelikle ilgilendiğiniz için teşekkür ederim. Bahsettiğiniz kodu zaten kaldırdım anca yinede değişiklik olmadı, zaten saçmalık olduğunu farkettiğim için konu açma gereği duydum normal şartlarda görünmemesi lazım ama gözden kaçırdığım bir yer var galiba.

    <p class="product_desc"><a href="{$product.link}?phpMyAdmin=98526d0b8b5f8f81f 62e93bf38e4e836" title="{l s='More' mod='homefeatured'}">{$product.description_short|s trip_tags|truncate:130:'...'}</a></p>

    bu kodu kaldırdım yukardaki kodda yok zaten bu bölüm
    None

  4. #4
    Senior Member
    Üyelik tarihi
    Jul 2010
    Yer
    Türkiye/Samsun
    Mesajlar
    1.668
    Tecrübe Puanı
    15

    Standart Cvp: home featured modülü düzenleme ile ilgili sorun

    cookiesini bosalt. cookiesten görmüyor olabilir
    ithalat-ihracat danismanlik : http://nepasun.com

  5. #5
    Junior Member
    Üyelik tarihi
    Aug 2011
    Mesajlar
    6
    Tecrübe Puanı
    0

    Standart Cvp: home featured modülü düzenleme ile ilgili sorun

    dediğiniz gbi tools/compile/smarty_v2 nin içini boşaltınca yaptığım değişiklikler görünmeye başladı teşekkür ederim
    None

Bu Konudaki Etiketler

Bookmarks

Yetkileriniz

  • Konu Acma Yetkiniz Yok
  • Cevap Yazma Yetkiniz Yok
  • Eklenti Yükleme Yetkiniz Yok
  • Mesajınızı Değiştirme Yetkiniz Yok
  •  
Hakkımızda
2008'den beri sizlere PrestaShop ile ilgili teknik destek vermeyi amaçlayan sitemiz, şu anda 13.000 den fazla üye 15.000'e yakın mesaj ile kararlı bir biçimde yoluna devam etmektedir. Ayrıca PrestaShop dışında diğer sistem ve eticarete yönelik paylaşımlar ve konularada elimizden geldiğinde yanıtlamaya çalışıyoruz. Ayrıca eticarete yeni başlayan ve tecrübeli kişileri bir araya getirerek ortak bir paydada buluşturmayı amaçlamaktayız.
Sosyal Medya

Search Engine Optimization by vBSEO 3.6.0