Barcode information

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #84994
    Philip Grant
    Participant

    Hello, I am new to the whole EAN process and barcoding.  Is their away for you to update the information for the barcode when scanned? I want it to show product information and price.

    #84995
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi Philip,

    Yes, that’s possible. Our plugin has two shortcodes for outputting barcodes:

    • [alg_wc_ean_barcode]
    • [alg_wc_ean_barcode_2d]

    By default, they will encode product’s EAN into the 1D barcode and 2D barcode respectively. However, by using our content shortcode attribute you can encode other information into the barcode (i.e. instead of EAN). Currently, possible values for the content attribute are:

    • ean – product EAN (this is the default value).
    • url – product URL.
    • admin_url – admin product URL.
    • admin_search – admin products list search URL (by product ID).
    • increase_stock – increase product stock action.
    • decrease_stock – decrease product stock action.

    So, for example, this will output 2D barcode with product’s URL encoded in it:

    [alg_wc_ean_barcode_2d content="url"]

    We don’t have an option to encode product price right now, but I will add it in the next few days, should be quite easy to do. As for “product information” – could you please let me know what information exactly do you need?

    And one more final note – our shortcodes can be used to output a barcode on a screen, as well as on paper (i.e. in PDF file) – it’s in our “WooCommerce > Settings > EAN > Print” section.

    Hope that helps. Please let me know what you think.

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