[wordpress插件] SKU generator for Woocommerce by ATRATR的Woocommerce SKU生成器

wordpress 插件 文章 2020-02-22 18:20 608 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Adds a button to the WC editew product page that enables generating a SKU (catalog number) in a pre-defined format and length.

在WC编辑/新产品页面上添加一个按钮,该按钮可以生成预定义格式和长度的SKU(目录编号)。

It is aimed for Woocommerce shop admins who manage a shop with no pre-defined catalog numbers for products.

它适用于管理没有预定义产品目录号的商店的Woocommerce商店管理员。

When adding or editing a product it is common that you do not have a pre-set catalog number for the product.

添加或编辑产品时,通常没有该产品的预设目录号。

This plugin enables you to generate a SKU (catalog number) for the product, with specified format and length.

使用此插件,您可以为产品生成具有指定格式和长度的SKU(目录编号)。

It also checks that the suggested SKU does not exist in the database for any other product.

它还会检查数据库中是否存在任何其他产品的建议SKU。

At the same time you can use it to check a SKU number you enter.

同时,您可以使用它来检查输入的SKU编号。

Starting on V 1.0.1 you can choose to add automatic SKU for every new product or existing product without a SKU (no need to click a button or select).

从V 1.0.1开始,您可以选择为每个新产品或现有产品添加自动SKU,而无需SKU(无需单击按钮或选择)。

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.

您还可以选择不生成随机SKU,而是自己编写,并且该插件将异步检查数据库中是否已存在SKU。

Tested up to Woocommerce Version 3.3.5

经过Woocommerce版本3.3.5的测试

Important! version 1.0.2 and up works with Woocommerce 2.6.0 and up.

重要!版本1.0.2和更高版本适用于Woocommerce 2.6.0和更高版本。

If you have earlier version of WC please use this plugin version 1.0.1

如果您使用的是WC的早期版本,请使用此插件版本1.0.1

Features

功能

    1. None intrusive.

    2. 没有干扰。

      The plugin adds the SKU to the SKU field in the product edit page but it saved only by you.

      该插件将SKU添加到产品编辑页面的SKU字段中,但仅由您保存。

    3. Option to add auto prefix to the generated SKU.
    4. 向生成的SKU添加自动前缀的选项。

    5. Option to auto fill SKU for new product.
    6. 为新产品自动填充SKU的选项。

    7. 3 flexible SKU formats – between min-max numbers, string (you can select any alpha numeric combination), Incremental (auto increment next SKU)
    8. 3种灵活的SKU格式–最小-最大数字,字符串(可以选择任何字母数字组合),增量(下一个SKU自动递增)

安装步骤

Installing “ATR structured SKU generator for Woocommerce” can be done either by searching for “ATR structured SKU generator for Woocommerce” via the “Plugins > Add New” screen in your WordPress dashboard,

通过在WordPress信息中心中的“插件>添加新”屏幕中搜索“用于Woocommerce的ATR结构SKU生成器”,即可完成安装。

or by using the following steps:

或使用以下步骤:

    1. Upload the plugin files to the ‘/wp-content/plugins/atr-random-SKU-for-woocommerce’ directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到“ / wp-content / plugins / atr-random-SKU-for-woocommerce”目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    Important!

    重要!

    You must go to plugin settings page and select the options apply to your shop.

    您必须进入插件设置页面,然后选择适用于您商店的选项。

    Settings

    设置

      1. Use the Settings->ATR rand sku Woo screen to configure the plugin
      2. 使用“设置”->“ ATR rand sku Woo”屏幕配置插件

      3. Select the format you require for the SKU: “Use max min” or “Use string” or “Use Incremental”

      4. 选择SKU所需的格式:“使用最大最小值”或“使用字符串”或“使用增量”

        “Use max min” – you want the SKU to contain only numbers between the specified numbers.

        “使用最大最小值” –您希望SKU仅包含指定数字之间的数字。

        “Use string” – you want the SKU to contain only characters you specified.

        “使用字符串” –您希望SKU仅包含您指定的字符。

        “Use Incremental” – You want to increment the SKU by 1 for next product edited/created.

      5. “使用增量” –您要为下一个已编辑/创建的产品将SKU递增1。

      6. Set the relevant options for your selection.
      7. 设置相关选项供您选择。

      8. If you want the plugin to auto fill new products SKU for you select the option “Check this to fill auto SKU when field is empty (also for new products)”
      9. 如果您希望插件自动填充新产品SKU,请选择“在字段为空时(也适用于新产品)选中此选项以填充自动SKU”

      10. You can set a prefix that will be added to every newly generated SKU.
      11. 您可以设置一个前缀,该前缀将添加到每个新生成的SKU中。

      The plugin options allows you to select between numeric, alpha numeric or incremented SKU.

      通过插件选项,您可以在数字,字母数字或增量SKU之间进行选择。

      The random SKU format will be generated according to these selections.

      根据这些选择,将生成随机的SKU格式。

      Numeric string – “Use max min”

      数字字符串–“使用最大最小值”

      If you select a numeric string, you should set a minimum and maximum numbers.

      如果选择数字字符串,则应设置最小和最大数字。

      Setting the min/max numbers will force the random SKU generated to hold only numbers between those numbers.

      设置最小/最大数字将强制生成的随机SKU仅保留这些数字之间的数字。

      That way you can also define how many digits will be in the SKU.

      这样,您还可以定义SKU中的位数。

      For example, if you select min: 10000 and max: 99999 you’ll get SKU’s with 5 digits long between these two numbers.

      例如,如果您选择“最小值:10000”和“最大值:99999”,则将得到两个数字之间有5位数字长的SKU。

      Characters strings – “Use string”

      字符字符串–“使用字符串”

      If you select a characters string, you’ll have to define

      如果选择字符串,则必须定义

      1. The characters to be used in the string

      1.字符串中使用的字符

      2. The length of the string

      2.字符串的长度

      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.

      例如,如果您选择“ abcdefghijklmnopqrstuvwxyz123456789”作为字符,并选择“ 8”作为长度,则SKU字符串将是8个字符长,除0(零)和大写字母之外的所有字母和数字。

      Incremental

      增量

        1. Start increment from number – Define the start number.

        2. 从数字开始的增量–定义起始数字。

          Default is 1.

        3. 默认值为1。

        4. The index always incremented up as long as the “Incremental” option is selected.

        5. 只要选择了“增量”选项,索引就会一直递增。

        6. If you want to skip forward or backward some numbers you can change the “Start at” option to the number you want.
        7. 如果要向前或向后跳过某些数字,可以将“开始于”选项更改为所需的数字。

下载地址
https://downloads.wordpress.org/plugin/atr-random-sku-for-woocommerce.2.0.1.zip
-EOF-

AI助手支持GPT4.0