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)
-   -   Disabling SKU from showing on clientside (https://forum.x-cart.com/showthread.php?t=24505)

wank3r 08-31-2006 06:05 AM

Disabling SKU from showing on clientside
 
Hi,

I would like to disable the SKU number from showing up on the clientside because it makes no sense to them knowing this and makes the site a bit more cluttered than necessary.

Does ne1 know how and where to do this? I've seached the Admin section and all Forums but nothing showed up.

Thanks

pauldodman 08-31-2006 06:40 AM

Re: Disabling SKU from showing on clientside
 
Just comment it out in skin1/customer/main/products.tpl

{$lng.lbl_sku}: {$products[product].productcode}

becomes:

{*
{$lng.lbl_sku}: {$products[product].productcode}
*}

balinor 08-31-2006 06:42 AM

Re: Disabling SKU from showing on clientside
 
Moving to Template Editing. Please be sure to post in the appropriate forum, thank you!

zebu 10-28-2006 01:37 PM

Re: Disabling SKU from showing on clientside
 
Thanks that worked! I dont know where I was looking yesterday.

I would also like to remove the "sort by SKU......" option that appears in the top right hand corner when multiple products are listed.

I played around in search.tpl - but didnt have to much success - i tried disabling as per below

HTML Code:


$advanced_options = array({*"productcode",*} "productid", "provider", "price_max", "avail_max",
"weight_max", "forsale", "flag_free_ship", "flag_ship_freight", "flag_global_disc", "flag_free_tax",
"flag_min_amount", "flag_low_avail_limit", "flag_list_price", "flag_vat", "flag_gstpst", "manufacturers");
 
$sort_fields = array(
 {*"productcode"  => func_get_langvar_by_name("lbl_sku"),*}


Am I fiddling in the right file?

balinor 10-28-2006 01:59 PM

Re: Disabling SKU from showing on clientside
 
http://forum.x-cart.com/viewtopic.php?t=15416

zebu 10-28-2006 05:24 PM

Re: Disabling SKU from showing on clientside
 
Thanks, was looking in search.tpl - not search.php


All times are GMT -8. The time now is 09:49 AM.

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