Skip to content

Prevent duplicate SKUs when duplicating a product prior to saving navigating away from product.

Notifications You must be signed in to change notification settings

GetCommerce/extension-duplicatesku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Getsquare_Duplicatesku

Populate SKU when duplicating a product in Mangento admin.

Compatibility

Tested on 1.7 and above

Description

After duplicating a product via the backend of Magento it is possible to navigate away leaving the product with an empty SKU (this has the potential to cause subsequent problems). This extension populates the SKU field with a string based on the server time when duplicating but allows the user to overwrite with an appropriate value. This extension was written after a client identified their workflow resulted in products being generated without SKUS.

Installation

Download the zip or clone repository and merge with your Magento Installation

Adapting

Update the Observer.php to set any string value for the SKU or set the value of any other attribute at the time of duplicating a product.

About

Prevent duplicate SKUs when duplicating a product prior to saving navigating away from product.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages