cancel
Showing results for 
Search instead for 
Did you mean: 

Trim whitespace on SKU when saving product

0 Kudos

Trim whitespace on SKU when saving product

Problem:

Store managers enter products in admin and accidently hit or copy in a space before or after the SKU.

 

When doing mass updating or importing the SKUs do not match and may cause duplicate problems.

 

Solution:

 

Trim whitespace on SKU upon saving and importing.

 

Same solution would be viable for product names.