- Support forum for the EAN and Barcodes for WooCommerce.
July 18, 2021 at 10:21 pm #84994Philip GrantParticipant
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.July 19, 2021 at 3:32 pm #84995Tom AnbinderModeratorPlugin Support
Yes, that’s possible. Our plugin has two shortcodes for outputting barcodes:
By default, they will encode product’s EAN into the 1D barcode and 2D barcode respectively. However, by using our
contentshortcode attribute you can encode other information into the barcode (i.e. instead of EAN). Currently, possible values for the
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:
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.
- You must be logged in to reply to this topic.