AutoSKU
Automatically generate SKUs for new products similar to order numbers
Install / Use
/learn @schmengler/AutoSKUREADME
SSE_AutoSku
This Magento extension sets up automatically generated SKUs, similar to order numbers.
Attention: It is not actively maintained anymore!
- If you want to take over work on this project, contact me and I can give you ownership on Github
- If you need this feature integrated and are willing to pay me for development on the extension and/or integration in your project, you can contact me as well
Email: info@schmengler-se.de
Facts
- version: 1.2.0
- extension on GitHub
- direct download link
- No class rewrites
Requirements
- PHP >= 5.4
Compatibility
- Magento CE >= 1.6 or EE >= 1.11
- (not tested on older versions)
Manual Installation
To install it manually, copy the directories "app" and "shell" into your Magento installation. Please make a backup of your database first because the extension makes changes there that can only be reverted with profound knowledge of the Magento database schema.
Uninstallation
- In MySQL: Remove "backend_model" from SKU attribute
- In MySQL: Set "frontend_input" to "text" in SKU attribute
- Remove all extension files from your Magento installation
How it works
Every time you save a product without specifying the SKU, the SKU will be autogenerated (also applies for duplicating products). If for some reason there already is a product with the generated SKU, the next number will be chosen.
If you import products where you want to autogenerate the SKU, use an SKU value starting with "tmp", because without any SKU Magento cannot understand the import file. There is also a script to generate SKUs for existing products with empty or temporary SKUs. You can call it on the command line with "php shell/autosku.php"
Autogenerated SKUs start at S100, S101, S102, ...
You can change the prefix and start value in the database table eav_entity_store, similar to order numbers etc. (as documented here)
TBD
- Make SKU format configurable (currently hard coded in
SSE_AutoSku_Model_Resource_Setup). - More configuration
- Better documentation
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

