Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Variables 修改产品清单Presta Shop 1.7+中的产品数量;_Variables_Prestashop 1.7 - Fatal编程技术网

Variables 修改产品清单Presta Shop 1.7+中的产品数量;

Variables 修改产品清单Presta Shop 1.7+中的产品数量;,variables,prestashop-1.7,Variables,Prestashop 1.7,目录中产品顶部的本地prestashop样式显示一个类别中有多少产品 原始列表示例:“有167种产品” 当添加一些过滤器时,它可以这样说:“有36种产品” 在过滤器模块中添加一些过滤器后,我想展示的是:“显示总共167种产品中的36种” 是否存在另一个变量,如%product\u count%,或者我需要编辑核心文件? 在这种情况下,我应该在哪里编辑,编辑什么 这是原始代码: {if $listing.pagination.total_items > 1} {l s='

目录中产品顶部的本地prestashop样式显示一个类别中有多少产品

原始列表示例:“有167种产品”

当添加一些过滤器时,它可以这样说:“有36种产品”

在过滤器模块中添加一些过滤器后,我想展示的是:“显示总共167种产品中的36种”

是否存在另一个变量,如
%product\u count%
,或者我需要编辑核心文件? 在这种情况下,我应该在哪里编辑,编辑什么

这是原始代码:

      {if $listing.pagination.total_items > 1}
    {l s='There are %product_count% products.' d='Shop.Theme.Catalog' sprintf=['%product_count%' => $listing.pagination.total_items]}
  {else}
    {l s='There is 1 product.' d='Shop.Theme.Catalog'}
  {/if}