First you will need to configure your search to work with URL queries. You can try this mod (I have never used this mod, so it may or may not work).
http://forum.x-cart.com/showthread.php?t=18488
Then you will have to separate your keywords with just a space (so they be separated and placed into an array).
Open product.php.
After this:
PHP Code:
if (!empty($active_modules["Special_Offers"])) {
include $xcart_dir."/modules/Special_Offers/product_offers.php";
}
Add these lines
PHP Code:
$keywords = preg_split("/\W+/", $product_info['keywords']);
$smarty->assign('keywords', $keywords);
Then add this to your product.tpl wherever you want the links:
HTML Code:
<p>
{foreach from=$keywords item=keyword}
<a href="search.php?search={$keyword}">{$keyword}</a><br />
{/foreach}
</p>
Let me know if the search by URL mod doesn't work for 4.1.x