Magento Forum

Leading zeros in SKU omitted [SOLVED]
 
Bonaventure
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2007-09-26
 

Magento deletes the leading zeros in my SKU’s. Every SKU should be 13 digits long (they are actually ISBN’s for books). Many ISBN’s have leading zeros (particularly music titles). When users do a search on a product with leading zero’s (e.g., a search for “0000987678765") it will not appear. I double checked my import fields in my CSV and the leading zeros are in the file.
Is there any way to get Magento to keep the leading zeros?

The problem was not Magento, but my import file. I had a .dat file that was corrupt. Everything works fine now that I found the problem.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top