ATR Random sku for Woocommerce plugin
ATR Random sku for Woocommerce plugin is intended for use by Woocommerce shop administrators that manage a shop with no pre-defined catalog number for the products.
If you do not have a pre-defined catalog number for the prodcuts you upload to the shop, you must be wasting time on each product’s sku that you have to come up with.
In that case you have to come up with a new sku string and you probably want it to have a pre-defined format. You surely want a unique sku number.
That takes time and is susceptible to errors.
The plugin deals exactly with this issue. It adds a button to the Edit or New product page, that by clicking on it you get a random sku string and insert it to the product’s sku textbox.
You also can select not to generate a random sku, but write it yourself, and the plugin will check asynchronously if the sku already exist in the database.
This way you save the time of trying to save before you know if your sku is unique.
The plugin options allows you to select between numeric and alpha numeric strings. The random sku format will be generated according to these selections.
Numeric string (“Use max min”)
If you select a numeric string, you should set a minimum and maximum numbers.
Setting the nim/max numbers will force the random sku generated to hold only numbers between those numbers.
That way you can also define how many digits will be in the sku.
For example, if you select min: 10000 and max: 99999 you’ll get sku’s with 5 digits long between these two numbers.
Characters strings (“Use string”)
If you select a characters string, you’ll have to define
- The characters to be used in the string
- The length of the string
For example, if you select “abcdefghijklmnopqrstuvwxyz123456789” for the characters and “8” for the length, the sku string will be 8 characters long and with all the letters and numbers except 0 (zero) and capital letters.
How to use
After you install the plugin you’ll notice the new button at the bottom the “General” section of the “edit” or “New” product page.
The title of the button is changed according to the function you selected with the radio buttons to the right.
Options (Left side of the new button):
Generate random SKU – This will change the button title to “Auto SKU”. Clicking the button in that mode will generate a new SKU (according to the definitions in the settings page). You can see the suggested SKU at the bottom, along with a message about it being unique or that there is already a product with that SKU.
Overwrite SKU textbox – If you select this, the click will also erase the content of the sku textbox and paste the suggested SKU.
Just check current SKU – This will change the button title to “Check SKU”. Use it in cases you enter the SKU yourself and just want to make sure it is unique before you try to save the product.