![]()  | 
	
	
		
 Removig SKU Prefix 
		
		
		
		Does anynoe know how to remove the "SKU" prfix that x-cart adds to the product sku when creating a new product?  I can fined the text label and the also the product code in the templates but I can find no reference to the "SKU" characters anywhere.... 
	Thanks, Rich  | 
	
		
 SKU prefix?  X-Cart only creates a product id...the SKU is up to you. 
	 | 
	
		
 sorry double post 
	 | 
	
		
 Ahhh..not sure.  You could use webmaster mode to track down the template...that will give you a start.... 
	 | 
	
		
 http://www.royalsalt.com/sku.jpg 
	the sku "SKU16432" highlighted in the attached photo was auto generated. All I have done here is to create a new product - NO DATA of any typ has been entered. I want to get rid of the "SKU" prefix (the three characters themselves) X-cart produced the SKU16432 Any thoughts? I can not find it anywhere. PHP or templates. Thanks, Rich  | 
	
		
 got it 
		
		
		
		GOT IT 
	include\product_modify.php Line 574 $SKU_prefix='SKU' i just deleted the SKU and all works well so i now have $SKU_prefix=''  | 
	
		
 Removing the whole auto SKU generation 
		
		
		
		Tweak as above plus: 
	ORIGINAL: Line 579 $product_info['productcode'] = $sku_prefix.($product_info['productcode']+$plus); NEW: Line 579 $product_info['productcode'] = ''; NOTE those are two single quotes in the replacement code. Additionally I would comment out the original line 579 then insert the adjusted code. R.  | 
	
		
 Works greatly. Thanks. 
	 | 
| All times are GMT -8. The time now is 01:57 AM. | 
	Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.