[color=#000000][font=Arial,]
I'm using CS-Cart 4.1.x[/font][/color][color=#000000][font=Arial,]
I created an override for the block “design\themes\basic\templates\blocks\products\products_text_links.tpl”[/font][/color][color=#000000][font=Arial,]
The code that I see in the default file is:[/font][/color]
{** block-description:text_links **}
<{[color=#00008B]if[/color] $block.properties.item_number == [color=#800000]“Y”[/color]}ol{[color=#00008B]else[/color]}ul{/[color=#00008B]if[/color]} [color=#00008B]class[/color]=[color=#800000]“bullets-list”[/color]>
{[color=#00008B]foreach[/color] [color=#00008B]from[/color]=$items item=[color=#800000]“product”[/color]}
{assign [color=#00008B]var[/color]=[color=#800000]“obj_id”[/color] value=[color=#800000]“$block.block_id
000$product.product_id
”[/color]}
{[color=#00008B]if[/color] $product}
[color=#800000]
$product.product_id"|fn_url}"[/color]>{$product.product nofilter}
{/[color=#00008B]if[/color]}
{/[color=#00008B]foreach[/color]}
<[color=#800000]/{if $block.properties.item_number == “Y”}ol{else}ul{/[/color][color=#00008B]if[/color]}>[color=#000000][font=Arial,]
What I need to do is just to replace the following line with the proper code to show the product's default image instead of its name:[/font][/color]
{$product.product nofilter}[color=#000000][font=Arial,]
Any ideas?[/font][/color][color=#000000][font=Arial,]
Thanks[/font][/color]