Re: making product # on order page a link...
Edit <xcart_dir>/skin1/main/order_info.tpl template.
Replace this code:
PHP Code:
<TD colspan="2" valign="top" class="ProductTitle">{$products[prod_num].product} #{$products[prod_num].productid}</TD>
with the
PHP Code:
<TD colspan="2" valign="top" class="ProductTitle">{$products[prod_num].product}
<a href="{$current_location}/product.php?productid={$products[prod_num].productid}">#{$products[prod_num].productid}</a>
</TD>
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)
ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer
Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
|