Jump to content

jkbae

Members
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • First Name
    Jae Kuen
  • Last Name
    Bae

jkbae's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thank you so much it is solved. omg I was so frustrated... THANK YOU
  2. Hello, Is there a way to edit manufacturer.php with Prestashop cloud? I need to edit some lines in the file, but it seems like I cannot access it... Here is my original problem: https://www.prestashop.com/forums/topic/441539-manufacture-count-problem/
  3. Firstly, thank you for offering to help. If I am using PS cloud how do I access the php files? Because under override/classes I cannot find the manufacturer.php Thank you again to offer help
  4. Hello, If I am on Prestashop Cloud how do I access php files? Thank you so much for offering to help
  5. Hello, I have posted in several forums, but I have not gotten any replies. I really need to figure this out for my new shop so please can anyone help me with this issue. This is the problem I have: The product count shows in the manufacture list in the back Office, but it will not show on the front Office. No matter what I do it always displays "0" in the front office. I have switched to the default theme and still the result is the same Please help me with this problem Link to manufacturers list: http://www.serenusfe...m/manufacturers Screen shots of problem: Back Office Front Office Here is the: manufacturer-list.tpl {* * 2007-2014 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.or...ses/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-2014 PrestaShop SA * @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Manufacturers'}{/capture} <div id="pagetab"> <h1 class="page-heading product-listing">{l s='Brands'}</h1> {strip} <p> {if $nbManufacturers == 0}{l s='There are no manufacturers.'} {else} {if $nbManufacturers == 1} {l s='There is 1 brand'} {else} {l s='There are %d brands' sprintf=$nbManufacturers} {/if} {/if} </p> {/strip} </div> {if isset($errors) AND $errors} {include file="$tpl_dir./errors.tpl"} {else} {if $nbManufacturers > 0} <div class="content_sortPagiBar"> <div class="sortPagiBar clearfix"> {if isset($manufacturer) && $manufacturer.nb_products > 0} <ul class="display hidden-xs"> <li class="display-title"> {l s='View:'} </li> <li id="grid"> <a rel="nofollow" href="#" title="{l s='Grid'}"> <i class="icon-th-large"></i>{l s='Grid'} </a> </li> <li id="list"> <a rel="nofollow" href="#" title="{l s='List'}"> <i class="icon-th-list"></i>{l s='List'} </a> </li> </ul> {/if} {include file="./nbr-product-page.tpl"} </div> <div class="top-pagination-content clearfix bottom-line"> {include file="$tpl_dir./pagination.tpl"} </div> </div> <!-- .content_sortPagiBar --> {assign var='nbItemsPerLine' value=3} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbLi' value=$manufacturers|@count} {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet} <ul id="manufacturers_list" class="list row"> {foreach from=$manufacturers item=manufacturer name=manufacturers} {math equation="(total%perLine)" total=$smarty.foreach.manufacturers.total perLine=$nbItemsPerLine assign=totModulo} {math equation="(total%perLineT)" total=$smarty.foreach.manufacturers.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="{if $smarty.foreach.manufacturers.iteration%$nbItemsPerLine == 0} last-in-line{elseif $smarty.foreach.manufacturers.iteration%$nbItemsPerLine == 1} first-in-line{/if} {if $smarty.foreach.manufacturers.iteration > ($smarty.foreach.manufacturers.total - $totModulo)}last-line{/if} {if $smarty.foreach.manufacturers.iteration%$nbItemsPerLineTablet == 0}last-item-of-tablet-line{elseif $smarty.foreach.manufacturers.iteration%$nbItemsPerLineTablet == 1}first-item-of-tablet-line{/if} {if $smarty.foreach.manufacturers.iteration > ($smarty.foreach.manufacturers.total - $totModuloTablet)}last-tablet-line{/if}{if $smarty.foreach.manufacturers.last} item-last{/if} col-xs-12"> <div class="mansup-container animated bounceIn" style="visibility: visible;"> <div class="row"> <div class="left-side col-xs-12 col-sm-3"> <div class="logo"> {if $manufacturer.nb_products > 0} <a class="lnk_img" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}" title="{$manufacturer.name|escape:'html':'UTF-8'}" > {/if} <img src="{$img_manu_dir}{$manufacturer.image|escape:'html':'UTF-8'}-medium_default.jpg" alt="" /> {if $manufacturer.nb_products > 0} </a> {/if} </div> <!-- .logo --> </div> <!-- .left-side --> <div class="middle-side col-xs-12 col-sm-5"> <h3> {if $manufacturer.nb_products > 0} <a class="product-name" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}"> {/if} {$manufacturer.name|truncate:60:'...'|escape:'html':'UTF-8'} {if $manufacturer.nb_products > 0} </a> {/if} </h3> <div class="description rte"> {$manufacturer.description|truncate:180:'...'} </div> </div> <!-- .middle-side --> <div class="right-side col-xs-12 col-sm-4"> <div class="right-side-content"> <p class="product-counter"> {if $manufacturer.nb_products > 0} <a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}"> {/if} {if $manufacturer.nb_products == 1} {l s='%d product' sprintf=$manufacturer.nb_products|intval} {else} {l s='%d products' sprintf=$manufacturer.nb_products|intval} {/if} {if $manufacturer.nb_products > 0} </a> {/if} </p> {if $manufacturer.nb_products > 0} <a class="btn btn-default button exclusive-medium" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}"> <span> <i class="icon-reorder left"></i> {l s='view products'} </span> </a> {/if} </div> </div> <!-- .right-side --> </div> </div> </li> {/foreach} </ul> <div class="content_sortPagiBar"> <div class="bottom-pagination-content clearfix"> {include file="$tpl_dir./pagination.tpl" paginationId='bottom'} </div> </div> {/if} {/if}
  6. Hello, The product shows in the manufacture list in the back end, but it will not show on the front end. No matter what I do in the front side it displays "0" I have talked with the developer and he has no idea, and suggested me to try the forum. Please help me with this problem Link to manufacturers list: http://www.serenusfe...m/manufacturers Screen shots of problem: Backend Frontend Here is the: manufacturer-list.tpl {* * 2007-2014 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.or...ses/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-2014 PrestaShop SA * @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Manufacturers'}{/capture} <div id="pagetab"> <h1 class="page-heading product-listing">{l s='Brands'}</h1> {strip} <p> {if $nbManufacturers == 0}{l s='There are no manufacturers.'} {else} {if $nbManufacturers == 1} {l s='There is 1 brand'} {else} {l s='There are %d brands' sprintf=$nbManufacturers} {/if} {/if} </p> {/strip} </div> {if isset($errors) AND $errors} {include file="$tpl_dir./errors.tpl"} {else} {if $nbManufacturers > 0} <div class="content_sortPagiBar"> <div class="sortPagiBar clearfix"> {if isset($manufacturer) && $manufacturer.nb_products > 0} <ul class="display hidden-xs"> <li class="display-title"> {l s='View:'} </li> <li id="grid"> <a rel="nofollow" href="#" title="{l s='Grid'}"> <i class="icon-th-large"></i>{l s='Grid'} </a> </li> <li id="list"> <a rel="nofollow" href="#" title="{l s='List'}"> <i class="icon-th-list"></i>{l s='List'} </a> </li> </ul> {/if} {include file="./nbr-product-page.tpl"} </div> <div class="top-pagination-content clearfix bottom-line"> {include file="$tpl_dir./pagination.tpl"} </div> </div> <!-- .content_sortPagiBar --> {assign var='nbItemsPerLine' value=3} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbLi' value=$manufacturers|@count} {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet} <ul id="manufacturers_list" class="list row"> {foreach from=$manufacturers item=manufacturer name=manufacturers} {math equation="(total%perLine)" total=$smarty.foreach.manufacturers.total perLine=$nbItemsPerLine assign=totModulo} {math equation="(total%perLineT)" total=$smarty.foreach.manufacturers.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="{if $smarty.foreach.manufacturers.iteration%$nbItemsPerLine == 0} last-in-line{elseif $smarty.foreach.manufacturers.iteration%$nbItemsPerLine == 1} first-in-line{/if} {if $smarty.foreach.manufacturers.iteration > ($smarty.foreach.manufacturers.total - $totModulo)}last-line{/if} {if $smarty.foreach.manufacturers.iteration%$nbItemsPerLineTablet == 0}last-item-of-tablet-line{elseif $smarty.foreach.manufacturers.iteration%$nbItemsPerLineTablet == 1}first-item-of-tablet-line{/if} {if $smarty.foreach.manufacturers.iteration > ($smarty.foreach.manufacturers.total - $totModuloTablet)}last-tablet-line{/if}{if $smarty.foreach.manufacturers.last} item-last{/if} col-xs-12"> <div class="mansup-container animated bounceIn" style="visibility: visible;"> <div class="row"> <div class="left-side col-xs-12 col-sm-3"> <div class="logo"> {if $manufacturer.nb_products > 0} <a class="lnk_img" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}" title="{$manufacturer.name|escape:'html':'UTF-8'}" > {/if} <img src="{$img_manu_dir}{$manufacturer.image|escape:'html':'UTF-8'}-medium_default.jpg" alt="" /> {if $manufacturer.nb_products > 0} </a> {/if} </div> <!-- .logo --> </div> <!-- .left-side --> <div class="middle-side col-xs-12 col-sm-5"> <h3> {if $manufacturer.nb_products > 0} <a class="product-name" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}"> {/if} {$manufacturer.name|truncate:60:'...'|escape:'html':'UTF-8'} {if $manufacturer.nb_products > 0} </a> {/if} </h3> <div class="description rte"> {$manufacturer.description|truncate:180:'...'} </div> </div> <!-- .middle-side --> <div class="right-side col-xs-12 col-sm-4"> <div class="right-side-content"> <p class="product-counter"> {if $manufacturer.nb_products > 0} <a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}"> {/if} {if $manufacturer.nb_products == 1} {l s='%d product' sprintf=$manufacturer.nb_products|intval} {else} {l s='%d products' sprintf=$manufacturer.nb_products|intval} {/if} {if $manufacturer.nb_products > 0} </a> {/if} </p> {if $manufacturer.nb_products > 0} <a class="btn btn-default button exclusive-medium" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}"> <span> <i class="icon-reorder left"></i> {l s='view products'} </span> </a> {/if} </div> </div> <!-- .right-side --> </div> </div> </li> {/foreach} </ul> <div class="content_sortPagiBar"> <div class="bottom-pagination-content clearfix"> {include file="$tpl_dir./pagination.tpl" paginationId='bottom'} </div> </div> {/if} {/if}
  7. Hello, The product shows in the manufacture list in the back end, but it will not show on the front end. No matter what I do in the front side it displays "0" I have talked with the developer and he has no idea, and suggested me to try the forum. Please help me with this problem Link to manufacturers list: http://www.serenusfe...m/manufacturers Screen shots of problem: Backend Frontend Here is the: manufacturer-list.tpl {* * 2007-2014 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.or...ses/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-2014 PrestaShop SA * @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Manufacturers'}{/capture} <div id="pagetab"> <h1 class="page-heading product-listing">{l s='Brands'}</h1> {strip} <p> {if $nbManufacturers == 0}{l s='There are no manufacturers.'} {else} {if $nbManufacturers == 1} {l s='There is 1 brand'} {else} {l s='There are %d brands' sprintf=$nbManufacturers} {/if} {/if} </p> {/strip} </div> {if isset($errors) AND $errors} {include file="$tpl_dir./errors.tpl"} {else} {if $nbManufacturers > 0} <div class="content_sortPagiBar"> <div class="sortPagiBar clearfix"> {if isset($manufacturer) && $manufacturer.nb_products > 0} <ul class="display hidden-xs"> <li class="display-title"> {l s='View:'} </li> <li id="grid"> <a rel="nofollow" href="#" title="{l s='Grid'}"> <i class="icon-th-large"></i>{l s='Grid'} </a> </li> <li id="list"> <a rel="nofollow" href="#" title="{l s='List'}"> <i class="icon-th-list"></i>{l s='List'} </a> </li> </ul> {/if} {include file="./nbr-product-page.tpl"} </div> <div class="top-pagination-content clearfix bottom-line"> {include file="$tpl_dir./pagination.tpl"} </div> </div> <!-- .content_sortPagiBar --> {assign var='nbItemsPerLine' value=3} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbLi' value=$manufacturers|@count} {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet} <ul id="manufacturers_list" class="list row"> {foreach from=$manufacturers item=manufacturer name=manufacturers} {math equation="(total%perLine)" total=$smarty.foreach.manufacturers.total perLine=$nbItemsPerLine assign=totModulo} {math equation="(total%perLineT)" total=$smarty.foreach.manufacturers.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="{if $smarty.foreach.manufacturers.iteration%$nbItemsPerLine == 0} last-in-line{elseif $smarty.foreach.manufacturers.iteration%$nbItemsPerLine == 1} first-in-line{/if} {if $smarty.foreach.manufacturers.iteration > ($smarty.foreach.manufacturers.total - $totModulo)}last-line{/if} {if $smarty.foreach.manufacturers.iteration%$nbItemsPerLineTablet == 0}last-item-of-tablet-line{elseif $smarty.foreach.manufacturers.iteration%$nbItemsPerLineTablet == 1}first-item-of-tablet-line{/if} {if $smarty.foreach.manufacturers.iteration > ($smarty.foreach.manufacturers.total - $totModuloTablet)}last-tablet-line{/if}{if $smarty.foreach.manufacturers.last} item-last{/if} col-xs-12"> <div class="mansup-container animated bounceIn" style="visibility: visible;"> <div class="row"> <div class="left-side col-xs-12 col-sm-3"> <div class="logo"> {if $manufacturer.nb_products > 0} <a class="lnk_img" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}" title="{$manufacturer.name|escape:'html':'UTF-8'}" > {/if} <img src="{$img_manu_dir}{$manufacturer.image|escape:'html':'UTF-8'}-medium_default.jpg" alt="" /> {if $manufacturer.nb_products > 0} </a> {/if} </div> <!-- .logo --> </div> <!-- .left-side --> <div class="middle-side col-xs-12 col-sm-5"> <h3> {if $manufacturer.nb_products > 0} <a class="product-name" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}"> {/if} {$manufacturer.name|truncate:60:'...'|escape:'html':'UTF-8'} {if $manufacturer.nb_products > 0} </a> {/if} </h3> <div class="description rte"> {$manufacturer.description|truncate:180:'...'} </div> </div> <!-- .middle-side --> <div class="right-side col-xs-12 col-sm-4"> <div class="right-side-content"> <p class="product-counter"> {if $manufacturer.nb_products > 0} <a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}"> {/if} {if $manufacturer.nb_products == 1} {l s='%d product' sprintf=$manufacturer.nb_products|intval} {else} {l s='%d products' sprintf=$manufacturer.nb_products|intval} {/if} {if $manufacturer.nb_products > 0} </a> {/if} </p> {if $manufacturer.nb_products > 0} <a class="btn btn-default button exclusive-medium" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html':'UTF-8'}"> <span> <i class="icon-reorder left"></i> {l s='view products'} </span> </a> {/if} </div> </div> <!-- .right-side --> </div> </div> </li> {/foreach} </ul> <div class="content_sortPagiBar"> <div class="bottom-pagination-content clearfix"> {include file="$tpl_dir./pagination.tpl" paginationId='bottom'} </div> </div> {/if} {/if}
×
×
  • Create New...