X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Displaying SKU in product list in Backoffice (https://forum.x-cart.com/showthread.php?t=1316)

brgreene 01-28-2003 05:29 PM

Displaying SKU in product list in Backoffice
 
When I am modifying products I would like to disply the SKU number when i display the products in a list after doing a category search. Can anyone tell me how to do this?

funkydunk 05-17-2003 11:41 AM

HI,

If you are still needing this i have this sorted

PhilJ 05-19-2003 02:17 AM

go to file skin1/main/products.tpl

look around line 21

replace

Quote:

<font class=ItemsList>{$products[cat_num].product|escape|truncate:100:"...":false}</font>


with

Quote:

<font class=ItemsList>{$products[cat_num].productcode} - {$products[cat_num].product|escape|truncate:100:"...":false}</font>


notice i also adjusted the truncate amount, which is the length of characters shown in the product description


All times are GMT -8. The time now is 01:34 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.