Re: Extra Field Search From product.tpl
You can do what ever you want with html/css around the smarty variables. The slight complication is that you don't want a comma after your last star, so you need an if to only put the comma before the star if it is not the first star. Something like:
{if $smarty.section.star_name.index ne 0}, {/if}<a href="search.php?mode=search&by_title=on&by_shortd escr=on&by_fulldescr=on&by_sku=on&category_main=on &category_extra=on&search_in_subcategories=on&subs tring={$explode_stars[star_name]}">{$explode_stars[star_name]}</a>
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
|