// Fix bug and Smarty 3 standardize
This commit is contained in:
@@ -120,7 +120,7 @@ class SupplierControllerCore extends FrontController
|
||||
'pages_nb' => ceil($nbProducts / (int)$this->n),
|
||||
'nbSuppliers' => $nbProducts,
|
||||
'mediumSize' => Image::getSize('medium'),
|
||||
'suppliers' => $suppliers,
|
||||
'suppliers_list' => $suppliers,
|
||||
'add_prod_display' => Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY'),
|
||||
));
|
||||
}
|
||||
|
||||
@@ -43,11 +43,10 @@
|
||||
{/if}
|
||||
</span>{/strip}
|
||||
</p>
|
||||
|
||||
{if $nbSuppliers > 0}
|
||||
<ul id="suppliers_list">
|
||||
{foreach from=$suppliers item=supplier name=suppliers}
|
||||
<li class="clearfix {if $smarty.foreach.suppliers.first}first_item{elseif $smarty.foreach.suppliers.last}last_item{else}item{/if}">
|
||||
{foreach $suppliers_list as $supplier}
|
||||
<li class="clearfix {if $supplier@first}first_item{elseif $supplier@last}last_item{else}item{/if}">
|
||||
<div class="left_side">
|
||||
<!-- logo -->
|
||||
<div class="logo">
|
||||
|
||||
Reference in New Issue
Block a user