Quote:
Originally Posted by longhorn180
If you want the author's name to appear beneath the title for a featured product you can edit customer/main/products_t.tpl and add this code right below the product title
Code:
{if $products[product].extra_fields ne ''}
{foreach from=$products[product].extra_fields item=extra_field}
{if $extra_field.service_name eq "author"}
{if $extra_field.value ne ""}
<b>by: {$extra_field.value}</b><br />
{/if}
{/if}
{/foreach}
{/if}
This works just as well.
|
"Products_s.tpl" will work only if the following conditions are met:
- it is the customer;
- specified rate (Display products list in multiple columns (1-3));
- Module "Featured Products" is active or not active option "Display only featured products list in multicolumn format. "
If any one condition is not fulfilled, "producst_t.tpl" will not be called.
Consider this.