Jump to content

Andri Satria

Members
  • Posts

    4
  • Joined

  • Last visited

About Andri Satria

  • Birthday 11/30/1991

Contact Methods

Profile Information

  • Location
    indonesia
  • Activity
    User/Merchant

Andri Satria's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, i'm newbie so i dont know edit Javascript. I want show 4 item product per line I found this code on product-list.tpl, whether i must edit this code ? <li class="ajax_block_product{if $page_name == 'index' || $page_name == 'product'} col-xs-12 col-sm-4 col-md-2{else} col-xs-12 col-sm-6 col-md-3{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLine == 0} last-in-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLine == 1} first-in-line{/if}{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModulo)} last-line{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 0} last-item-of-tablet-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 1} first-item-of-tablet-line{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 0} last-item-of-mobile-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 1} first-item-of-mobile-line{/if}{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModuloMobile)} last-mobile-line{/if}"> Please help to resolve, thanks before
  2. Prestashop 1.6 sudah menggunakan css bootstrap gan.. Pada dasarnya css bootstrap mempunyai 12 kolom di dalam 1 row. untuk besar kolom sidebar kiri dan kanan bisa dilihat di layout.tpl {if isset($HOOK_LEFT_COLUMN) && $HOOK_LEFT_COLUMN|trim && !$hide_left_column}{$left_column_size=3}{/if} {if isset($HOOK_RIGHT_COLUMN) && $HOOK_RIGHT_COLUMN|trim && !$hide_right_column}{$right_column_size=3}{/if} {if !empty($display_header)}{include file="$tpl_dir./header.tpl" HOOK_HEADER=$HOOK_HEADER}{/if} masalah besar box dia otomatis menyesuaikan kolom gan. untuk merubah theme Prestashop 1.6 agan harus menguasai bootstrap yang dapat agan pelajari di http://getbootstrap.com/ semoga membantu gan.
×
×
  • Create New...