support 446 Posted June 25, 2019 Report Share Posted June 25, 2019 Откройте файлы шаблон со списком товара /templates/vamshop4/module/product_listing/ Там два файла в папке и в обоих замените: {foreach name=aussen item=module_data from=$module_content} {include file="{$smarty.const.DIR_FS_CATALOG}{$tpl_path}components/product-card/product-card-listing.html"} {/foreach} на: <div class="card-deck"> {foreach name=aussen item=module_data from=$module_content} <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 col-xl-3"> {include file="{$smarty.const.DIR_FS_CATALOG}{$tpl_path}components/product-card/product-listing-columns.html"} </div> {/foreach} </div> Есть и другие шаблоны плиток товаров, в принципе, они одинаковые, но есть небольщая разница. Где-то с кнопкой купить, где-то без, где-то с кратким описанием, где-то без. Можете попробовать разные варианты, какой больше нравится оставиться. т.е. можно заменить код на на: <div class="card-deck"> {foreach name=aussen item=module_data from=$module_content} <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 col-xl-3"> {include file="{$smarty.const.DIR_FS_CATALOG}{$tpl_path}components/product-card/product-card-simple.html"} </div> {/foreach} </div> или на: <div class="card-deck"> {foreach name=aussen item=module_data from=$module_content} <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 col-xl-3"> {include file="{$smarty.const.DIR_FS_CATALOG}{$tpl_path}components/product-card/product-card-complex.html"} </div> {/foreach} </div> или на: <div class="card-deck"> {foreach name=aussen item=module_data from=$module_content} <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 col-xl-3"> {include file="{$smarty.const.DIR_FS_CATALOG}{$tpl_path}components/product-card/product-card-details.html"} </div> {/foreach} </div> Link to post Share on other sites
support 446 Posted June 25, 2019 Author Report Share Posted June 25, 2019 Как это выглядит, смотрите скриншот. Link to post Share on other sites
EdZa 1 Posted June 27, 2019 Report Share Posted June 27, 2019 Просьба, по возможности дополнить FAQ по выводу плитками и в следующих страницах вывод товара по производителю index.php?manufacturers_id= вывод товара в поиске advanced_search_result.php?keywords= Link to post Share on other sites
support 446 Posted June 27, 2019 Author Report Share Posted June 27, 2019 15 минут назад, EdZa сказал: Просьба, по возможности дополнить FAQ по выводу плитками и в следующих страницах вывод товара по производителю index.php?manufacturers_id= вывод товара в поиске advanced_search_result.php?keywords= Сейчас по умолчанию везде выводится плитками. Вот - http://demo.vamshop.ru/samsung-mobile.html и вот - http://demo.vamshop.ru/advanced_search_result.php?keywords=samsung Перепишите файлы из 2 последних обновлёний - 1.99.5 и 1.99.6 Link to post Share on other sites
EdZa 1 Posted June 28, 2019 Report Share Posted June 28, 2019 скачал повторно обновления 99.5 99.6 установил не помогло. чего-то не хватает Link to post Share on other sites
support 446 Posted June 28, 2019 Author Report Share Posted June 28, 2019 18 минут назад, EdZa сказал: скачал повторно обновления 99.5 99.6 установил не помогло. чего-то не хватает Может у Вас какой-то свой шаблон создан в /templates/vamshop4/module/product_listing Над product_listing_columns.html и товары им рисуются. В этой папки по умолчанию 2 файла. Скачайте демку https://vamshop.ru/vamshop-demo.zip и перепишите к себе папку /templates/vamshop4 Link to post Share on other sites
EdZa 1 Posted June 28, 2019 Report Share Posted June 28, 2019 Спасибо, помогло Link to post Share on other sites
support 446 Posted June 28, 2019 Author Report Share Posted June 28, 2019 7 минут назад, EdZa сказал: Спасибо, помогло Не за что. Link to post Share on other sites
Recommended Posts