Create UPC code for all products on WooCommerce automatically

Top WooCommerce & WordPress Plugins Forums EAN and Barcodes for WooCommerce Create UPC code for all products on WooCommerce automatically

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #84999
    Marc
    Guest

    Hello, Support!

    I’d like to know if the plugin “EAN for WooCommerce” will create a UPC code for all products on WooCommerce automatically based on the product features…?

    Thank you

    #85000
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Marc,

    Unfortunately, no – you’ll have to enter your EANs manually. It’s a very interesting idea though, and I would be glad to implement it in the plugin. I did some searching and found a couple of services (e.g. https://www.ean-search.org/, https://www.barcodelookup.com/) which offer to do EAN lookup by product name, however, all of them are paid, and also I’m not really sure if those services are really reliable, i.e. they will be able to find the correct EAN by product name. Maybe you have any other ideas/thoughts about this?

    #85001
    Marc
    Guest

    Hello Tom,

    Thank you for your answer.

    I have a module similar to PrestaShop, the plugin generates all UPC automatically for all products that don’t have…or you can replace the current UPC as well if you want…

    I’ll attach the module for you, if you build something similar for WooCommerce I can buy it from you…

    https://addons.prestashop.com/en/stock-supplier-management/28086-ean-upc-codes-generator.html

    Thank you.

    #85002
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Marc,

    Oh, ok, that’s much easier. Please update the plugin to the latest v2.2.5. Now there is new “Generate EAN for all products” tool (in “WooCommerce > Settings > EAN > Tools”). Check the box, and save changes to run the tool. Please give it a try and let me know what you think.

    #85003
    Marc
    Guest

    Hello Tom!

    Thank you for the answer.

    I would like to generate UPC and not EAN and based on the country code…

    Check here:
    https://www.marciomengue.com.br/newetelshopfashion/wp-content/uploads/2021/09/2021-09-14.png

    Thank you

    #85004
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Marc,

    Ok, got it. Please give me a couple of hours or so to implement it. Regarding country prefix code – do you need “from” and “to” county codes, or simple fixed country code would be good enough?

    #85005
    Tom Anbinder
    Moderator
    Plugin Support

    Hi again Marc,

    Please update the plugin to the latest v2.2.6. I’ve added “Type” and “Prefix” options to “WooCommerce > Settings > EAN > Tools > Generate”. Please give it a try and let me know what you think.

    #85006
    Marc
    Guest

    Hello, Tom!

    Thank you for your answer.

    The plugin created the UPC code, but I would like to type the range to start and finish, and the option to shows the field as UPC and not EAN, because EAN is for Europe only…(see attach)

    https://www.marciomengue.com.br/newetelshopfashion/wp-content/uploads/2021/09/2021-09-15-2.png

    Thank you

    Marc

    #85007
    Tom Anbinder
    Moderator
    Plugin Support

    Ok, got it – will release a new plugin version tomorrow.

    #85008
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Marc,

    Please update the plugin to the latest v2.2.7.

    1. I’ve added “Title” option to the “WooCommerce > Settings > EAN > General”. This title will be used for the EAN input fields on admin product edit pages, in the admin products list column, etc.

    2. I’ve added “Prefix to” option to the “WooCommerce > Settings > EAN > Tools”. If set, the prefix will be generated randomly between “Prefix from” and “Prefix to” values.

    Please give it a try and let me know what you think.

    #85009
    Marc
    Guest

    Hello, Tom!

    Thank you for your answer.

    The plugin looks like that works, but I’d like to know if it’s create an option to do “not replace the UPC codes that’s is already working…? (see attach)

    And I’d like to know, the UPC shows in RED…? (see attach)

    And can you update the TAB EAN to EAN/UPC…(see attach)

    And can you build 2 options one will be:
    – Generate EAN/UPC for all products (products without EAN/UPC)
    – Replace current codes?

    Thank you

    #85010
    Marc
    Guest
    #85011
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Marc,

    Thanks for the feedback.

    1. “… not replace the UPC codes that’s is already working…” – please update the plugin to the latest v2.2.8. Now when you run the “Generate” tool, it will not replace the existing EANs. I’ve decided to make this the default behaviour, as it seems more logical to not overwrite the EANs that are already assigned to the products. If you’d need to replace them, you can use our “Delete” tool before generating.

    2. “… UPC shows in RED…” – this means that code is not valid. You’ve probably didn’t change the “Type” option in “WooCommerce > Settings > EAN > General”? If that’s the case – please set it to “UPC-A”.

    3. “… update the TAB EAN to EAN/UPC…” – I’ve added a filter in the latest v2.2.8, so now you can change tab’s label with a small PHP snippet. Please let me know if that’s not good enough and I’ll come up with a different solution. And if you are ok with adding a snippet – please add this to your (child) theme’s functions.php file:

    add_filter( 'alg_wc_ean_settings_page_label', function( $label ) {
        return 'UPC';
    } );
    

    P.S. Also, in the latest plugin version I’ve added two new options that you may find useful (both are in “WooCommerce > Settings > EAN > Tools > Product Tools > Generate”) – “Automatically generate EAN for new products” and “Automatically generate EAN on product update”.

    Please give it a try and let me know what you think.

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.