Skip to main content
2 of 3
added 26 characters in body
Marius
  • 198.5k
  • 55
  • 424
  • 833

The quick and dirty way would be just to run this sql query on your database.

UPDATE catalog_entity_product
SET sku = CONCAT(LEFT(sku, CHAR_LENGTH(sku) -2), '')
WHERE sku LIKE `%_1`;

You can add a where condition if you need it for a certain group of products.

Backup first.

Marius
  • 198.5k
  • 55
  • 424
  • 833