here is what i have for compact_list.tpl
{if $products}
{script src="js/tygh/exceptions.js"}
{if !$no_pagination}
{include file="common/pagination.tpl"}
{/if}
{if !$no_sorting}
{include file="views/products/components/sorting.tpl"}
{/if}
{assign var="image_width" value=$image_width|default:60}
{assign var="image_height" value=$image_height|default:60}
<div class="ty-compact-list">
{hook name="products:product_compact_list_view"}
{foreach from=$products item="product" key="key" name="products"}
{assign var="obj_id" value=$product.product_id}
{assign var="obj_id_prefix" value="`$obj_prefix``$product.product_id`"}
{include file="common/product_data.tpl" product=$product}
{hook name="products:product_compact_list"}
<div class="ty-compact-list__item">
<form {if !$config.tweaks.disable_dhtml}class="cm-ajax cm-ajax-full-render"{/if} action="{""|fn_url}" method="post" name="short_list_form{$obj_prefix}">
<input type="hidden" name="result_ids" value="cart_status*,wish_list*,account_info*" />
<input type="hidden" name="redirect_url" value="{if $smarty.request.redirect_url}{$smarty.request.redirect_url}{else}{$config.current_url}{/if}" />
<div class="ty-compact-list__content">
{hook name="products:product_compact_list_image"}
<div class="ty-compact-list__image">
<a href="{"products.view?product_id=`$product.product_id`"|fn_url}">
{include file="common/image.tpl" image_width=$image_width image_height=$image_height images=$product.main_pair obj_id=$obj_id_prefix}
</a>
{assign var="product_labels" value="product_labels_`$obj_prefix``$obj_id`"}
{$smarty.capture.$product_labels nofilter}
</div>
{/hook}
<div class="ty-compact-list__title">
{assign var="name" value="name_$obj_id"}<bdi>{$smarty.capture.$name nofilter}</bdi>
{$sku = "sku_`$obj_id`"}
{$smarty.capture.$sku nofilter}
</div>
<div class="ty-compact-list__controls">
{hook name="products:list_price_block"}
<div class="ty-compact-list__price">
{$old_price="old_price_`$obj_id`"}
{if $smarty.capture.$old_price|trim}
{$smarty.capture.$old_price nofilter}
{/if}
{$price="price_`$obj_id`"}
{$smarty.capture.$price nofilter}
{$clean_price="clean_price_`$obj_id`"}
{$smarty.capture.$clean_price nofilter}
</div>
{/hook}
{if !$smarty.capture.capt_options_vs_qty}
{assign var="product_options" value="product_options_`$obj_id`"}
{$smarty.capture.$product_options nofilter}
{assign var="qty" value="qty_`$obj_id`"}
{$smarty.capture.$qty nofilter}
{/if}
{if $show_add_to_cart}
{assign var="add_to_cart" value="add_to_cart_`$obj_id`"}
{$smarty.capture.$add_to_cart nofilter}
{/if}
</div>
</div>
</form>
</div>
{/hook}
{/foreach}
{/hook}
</div>
{if !$no_pagination}
{include file=“common/pagination.tpl” force_ajax=$force_ajax}
{/if}
{/if}
let me know why PRICE is not listed
thnx
chris
Try to replace
{include file="common/product_data.tpl" product=$product}
with
{include file="common/product_data.tpl" product=$product show_price=true}
Then clear cache
Tried that mod. Still no price showing…
thnx
c
It is required to examine issue on your CS-Cart installation