The plugin Barcode for WooCommerce allows you to create parcel labels directly from within your WordPress backend without logging into your Swiss Post account.
Labels can be created and ordered via the integrated editor. The editor supports all products available for the Webservice Barcode and Barcode via the Digital Commerce API (except DIRECT). The WooCommerce integration allows you to automatically copy the address data from WooCommerce orders. With bulk orders you can create labels for multiple WooCommerce orders at once. The label editor and the plugin can also be used without WooCommerce, i.e. you can also order labels by manually entering the recipient’s address.
When a label is created, it can either be attached directly to WooCommerce admin emails or to custom admin emails, the content of which can be defined using dynamic template tags.
With the template feature you can order labels within no time. Create templates for often used Barcode products and complete an order with a few clicks. Labels can also be generated automatically based on custom rules. Additionally, you can add tracking numbers to customer’s emails with links to the tracking status on the website of the Swiss Post. The plugin also supports the WooCommerce Shipment Tracking plugin by automatically adding tracking numbers to orders.
With the various print formats available, you can either print single labels for label printers or multiple labels on one A4 page (four A6 labels or eight A7 labels) for label sheets. When using label sheets, the last label position can be saved so that the next labels are printed on the following positions.
Labels are ordered via a secure SSL connection and can be downloaded from the WordPress backend anytime.
Plugin updates are available on the plugins screen of your WordPress backend after activating the license.
Plugin bundle
Barcode for WooCommerce can also purchased as a bundle which also contains the plugin WebStamp for WooCommerce (see right side for prices). When renewing a bundle license you get 30% off the original bundle price.
The bundle allows you the order and print both parcel labels and letter stamps directly from within WordPress.
More information about WebStamp for WooCommerce
Features
- Connects your website to Barcode of Swiss Post to create labels (via Digital Commerce API or Webservice Barcode)
- One-time setup, no need to login afterwards.
- Editor for label creation.
- Automatically fills in address data of WooCommerce orders (choose between shipping and billing address or custom assignment to checkout fields).
- Bulk order labels for WooCommerce orders.
- Created stamps can be automatically attached to WooCommerce admin emails or custom admin emails.
- Upload images for labels.
- Create templates for frequently used Barcode products.
- Define rules to automatically create labels when a new WooCommerce order is placed.
- Tracking numbers in WooCommerce emails.
- WooCommerce Shipment Tracking integration.
- Supports all Barcode products (except DIRECT).
- Send automatic delivery status notifications to customers via SMS or email.
- Compatible to WooCommerce 7.x – 9.x, WordPress 6.0 – 6.6.x.
- Compatible with WooCommerce HPOS.
- The license grants you updates and support (by email) for one year for the number of websites the license is valid for.
- The plugin will not be locked when a license expires and you are allowed to use it for the number of websites the license was initially purchased for but only a valid license guarantees that the plugin works flawlessly in the future (via updates).
- Documentation in English and German.
- Compatible with WPML.
- Plugin in English and German.
- Update the plugin directly from the WordPress backend.
- Optional installation service (CHF 50.- per website/shop).
- 30% discount if the license is renewed before it expires.
Requirements
- Integration contract with the Swiss Post for Barcode via the Digital Commerce API or Webservice Barcode.
- Valid SSL certificate for the domain of your website.
- WooCommerce version 7.x – 9.x.
- WordPress version 6.0 – 6.6.x.
- PHP version 7.2 or newer.
License
- The license entitles you to use the plugin for the purchased number of end products (end product: One application, e.g. one website).
- The license includes updates and support (by e-mail) for one year for the purchased number of websites.
- You can cancel automatic renewals of payments anytime. In this case, the license will be valid until the end of the paid period.
- You are allowed to use the plugin for the purchased number of websites after the expiration of the license. However, the plugin is only guaranteed to work in the future with a valid license.
- For WordPress multisite installations you need to purchase the plugin for the installed number of sites.
- Licenses may be transferred to other natural or legal persons under the following conditions:
- The entire license is transferred, which means that the license and the plugins associated with the license can no longer be used by the original holder of the license.
- The new holder accepts these terms and conditions as well as all other contracts and conditions that you have agreed to in connection with the license.
- You are not allowed to sell or distribute the plugin.
Pricing
WebStamp + Barcode (bundle)
Installation service
Setup of the plugin and connection to a Barcode / Digital Commerce API account (1 website).
Demo
username: demo
password: demo
Hinweis: The demo also shows the plugin WebStamp for WooCommerce
Documentation
Info
Version: 3.4.7
Changelog
Changelog
Version 3.4.7 – 22.10.2024
- Fix – Automation: check template rules for any WC status.
Version 3.4.6 – 15.10.2024
- Fix – Deprecation errors.
Version 3.4.5 – 03.07.2024
- Fix – Create PDF for bulk orders containing orders with errors.
- Fix – Update number of orders contained in bulk orders with errors.
- Enhancement – Display bulk order errors in list table.
Version 3.4.4 – 27.06.2024
- Fix – Webservice Barcode: exclude logo when discarding non-UTF8 chars.
Version 3.4.3 – 29.02.2024
- Fix – Use mb_substr for WooCommerce order data to account for special characters at end of string.
- Fix – Ignore invalid UTF-8 characters for JSON-encoding order data.
- Fix – Remove invalid UTF-8 characters in order data.
Version 3.4.2 – 16.01.2024
- Fix – Check if WC order exists when loading from template.
Version 3.4.1 – 23.11.2023
- Fix – Check if Barcode_Template::additions exists before calling json_decode in Barcode_Template_Editor_Handler.
- Enhancement – Additional check if object is instance of WP_Order when displaying metabox.
- Enhancement – Use parent name for edit_bill submenu.
Version 3.4.0 – 27.10.2023
- Feature – Added compatibility with WooCommerce HPOS.
Version 3.3.1 – 24.10.2023
- Fix – Use correct endpoints for DCAPI scope.
Version 3.3.0 – 07.09.2023
- API – Added option to select scope for Digital Commerce API.
- Dev – Added migrator.
Version 3.2.16 – 20.07.2023
- Fix – Bulk download on label list page.
Version 3.2.15 – 31.03.2023
- Fix – Use original shipping class term ID for WPML.
Version 3.2.14 – 17.03.2023
- Fix – Barcode_Editor_Handler: check if dependency is defined in array.
- Fix – Check if certain properties exist when saving address.
Version 3.2.13 – 17.02.2034
- Fix – Get correct home URL for plugin updater.
Version 3.2.12 – 15.02.2023
- Enhancement – Added filter mame_bc_create_pdf_file_from_files.
- Enhancement – Added filter mame_bc_pdf_update_label_position.
Version 3.2.11 – 18.01.2023
- Fix – Template rules handler: check if product exists in order items.
Version 3.2.10 – 13.01.2023
- Enhancement – Added filter to prevent saving label.
Version 3.2.9 – 05.12.2022
- Enhancement – Removed replacement of umlauts.
Version 3.2.8 – 01.12.2022
- Fix – Allow downloading labels without authentication.
- Fix – Use get_blog_option for home url (licensing).
Version 3.2.7 – 27.10.2022
- Enhancement – Add WC order status to label and order list tables.
- Fix – Bulk order modal: get order object of type ‘bulk’.
- Fix – Order modal opened from bulk order modal: open in new window and use correct order id.
- Fix – Check if recipient exists for GAS labels.
Version 3.2.6 – 27.06.2022
- Fix – Set image id to 0 when saving settings if no image is selected.
- Fix – Allow unchecking use image checkbox on template edit page if standard image is not defined.
Version 3.2.5 – 23.06.2022
- Fix – Prevent deletion of options on update.
Version 3.2.4 – 21.06.2022
- Fix – Also include WC_Helper if WC is not active.
- Fix – Check if WC is active in Barcode_Template_Rules_Handler.
- Enhancement – Allow shop managers to access plugin pages if WC is active.
Version 3.2.3 – 20.06.2022
- Fix – Check if bulk order exists in background task.
Version 3.2.2 – 08.06.2022
- Feature – Added action hook: on label created.
- Fix – substr function in Barcode_Recipient.
Version 3.2.1 – 06.06.2022
- Fix – OpenId request URL.
Version 3.2.0 – 01.06.2022
- Feature – Added shipping class to automation rules.
- Enhancement – Prevent options from being autoloaded.
- Allow creation of multiple labels for the same template.
- Enhancement – Restrict access to files.
- Fix – Update sender address in editor overview.
Version 3.1.5 – 14.04.2022
- Fix – Return empty array if main options do not exist.
Version 3.1.4 – 12.04.2022
- Fix – Correct label position for label sheets (OpenID).
- Fix – Editor: next and back button.
- Fix – Editor: get label position saved in draft order.
Version 3.1.3 – 05.04.2022
- Fix – Saving of label position fields was not possible.
- Fix – Editor: position of label was always 1 regardless of saved position in order.
- Fix – Saved initial position was ignored if checkbox for updating positions was deactivated.
- Fix – Bulk order: only update label position if option is selected.
Version 3.1.2 – 29.03.2022
- Fix – Replace sender with customer to prevent customer details not being saved and for consistency.
Version 3.1.1 – 28.02.2022
- Added WP filter mame_bc_order_params for order parameters.
Version 3.1.0 – 24.02.2022
- Feature – Added custom filter to template rules.
- Fix – Switch customer and recipient if GAS (bulk orders).
- Fix – Use full name of recipient for GAS customer name1.
- Enhancement – Added customer/sender column to order list.
- Enhancement – Use background tasks for Webservice bulk orders.
- Admin – Changed menu icon.
Version 3.0.2 – 17.01.2022
- Fix – wp_editor in settings: use id without square brackets.
- Fix – Anchor tag in translation for Automation link.
Version 3.0.1 – 17.01.2022
- Fix – Get correct path for bulk download on BC order list page.
Version 3.0.0 – 13.01.2022
- Feature – Added label sheets print medium with option to automatically increase label position.
- Feature – Editor: added label sheet position field.
- Feature – Editor: added button to start from beginning.
- Feature – Allow sending custom emails when labels are created.
- Feature – Allow creating multiple labels automatically for WooCommerce order.
- Feature – Added shortcode to create tracking code.
- Feature – Added setting to select WC email ids for label attachment.
- Feature – Added bulk orders for Digital Commerce API.
- Feature – Added bulk order table list.
- Feature – Display logs in own tab on settings page.
- Enhancement – Create logs if file too large. Delete old logs.
- Enhancement – Delete old temp files.
- Enhancement – Combined template rules editor for Barcode and WebStamp plugins and moved editor to new tab Automation.
- Enhancement – Editor: use default image from settings if set.
- Enhancement – Added bulk action confirmation pop-up.
- Enhancement – Removed option to merge PDFs.
- Fix – save recipient and wc order id also in automatically generated orders.
- Fix – switched download and print button links in editor.
- Fix – Restrict image file size to 50KB.
- Fix – Bulk download: allow mixed download of PNG and PDF files.
- Fix – Added actions to create Barcode labels on order pending.
- Fix – Automated label creation: check if status applies to BC/WS settings before checking rules.
- Fix – Correct PDF download link.
- Update – Use plugin updater v1.9.1.
Version 2.11.8 – 22.12.2021
- Fix – Make parameter $link in Mame_Html::a optional.
Version 2.11.7 – 16.12.2021
- Fix – Allow bulk downloads for PNG labels.
- Fix – Correctly display bulk download PDF.
Version 2.11.6 – 26.08.2021
- Fix – Use correct property name to get errors for OpenID API.
Version 2.11.5 – 22.07.2021
- Fix – Array to string conversion in Barcode_Object.
- Fix – Check if settings keys exist.
- Enhancement – Ignore phone numbers not starting with 0.
Version 2.11.4 – 19.07.2021
- Fix – Use wc_get_order instead of constructor in list tables.
- Fix – Ignore object values in to_string function for Barcode_Object.
Version 2.11.3 – 15.07.2021
- Feature – Added status ‘pending payment’ to options to automatically create labels.
- Enhancement – Log complete order data when creating an order.
Version 2.11.2 – 15.07.2021
- Enhancement – Change mobile and phone field types to number.
- Fix – Replace + in phone numbers with 00.
Version 2.11.1 – 08.07.2021
- Enhancement – Strip special characters from phone number to prevent errors from WSBC.
- Fix – Order list table: check if BC order exists before deleting labels.
- Fix – Cast product weight to float before calculating total weight for template rules.
Version 2.11.0 – 07.06.2021
- Feature – Allow sending of notifications via SMS or email.
- Enhancement – Send Barcode order ID in parameter SendingID.
- Tweak – Removed ProClima option as all labels are ProClima by default.
- Fix – Don’t close overlay on order error.
Version 2.10.6 – 31.05.2021
- Fix – Pass Barcode_Order object to handler_order function instead of WC order ID.
Version 2.10.5 – 27.05.2021
- Enhancement – Log if labels were created via automatic, bulk or manual order.
Version 2.10.4 – 17.05.2021
- Enhancement – Divided file button in order list into two buttons: print and download.
Version 2.10.3 – 13.05.2021
- Enhancement – Added filter to template id to automatically create labels.
- Fix – Remove labels for which an error is generated.
- Fix – Use print URL for stamp button to load PDFs in iOS.
Version 2.10.2 – 09.02.2021
- CSS – Move first additions checkbox in editor to new line.
Version 2.10.1 – 30.12.2020
- Fix – Use plugin name instead of item ID for update check.
Version 2.10.0 – 10.12.2020
- Feature – Bulk download labels from WC order list, label list and Barcode order list.
- Fix – Load js files on order list page.
- Fix – Use wc_get_order to retrieve orders.
Version 2.9.1 – 10.12.2020
- Fix – Use get_attached_file to get image if wp_get_attachment_image_src is not working.
- Fix – Image upload in editor when image is already loaded.
- Fix – Image remove button in editor.
Version 2.9.0 – 26.11.2020
- Feature – Added support for WooCommerce Subscriptions.
Version 2.8.1 – 19.11.2020
- Fix – Check if function mame_bc_add_wc_st_tracking_number exists before calling it.
Version 2.8.0 – 17.11.2020
- Feature – Added option to select WC order status on which tracking codes should be sent in emails.
Version 2.7.1 – 16.11.2020
- Fix – Option wc_templates_email could not be disabled.
Version 2.7.0 – 23.10.2020
- Feature – Added precedence rule to template rules to first check for WebStamp rules and then Barcode rules or vice versa.
Version 2.6.2 – 12.10.2020
- Fix – Keep recipient itemID for bulk orders to assign labels to WC orders.
Version 2.6.1 – 07.10.2020
- Fix – Link WC order to automatically generated labels.
Version 2.6.0 – 01.10.2020
- Feature – Added template rule for minimum required box size based on order items.
- Enhancement – Use recipient address as customer address for GAS orders.
- Enhancement – Always keep same order of sender name fields on GAS labels, regardless of personallyAdressed value.
- Fix – Don’t hide customer and recipient fields in template editor.
- Fix – Templates: correctly save use_image setting.
Version 2.5.0 – 07.09.2020
- Feature – Added rule type ‘payment method instance’ to template rules.
- Fix – Assign WC order id to BC order for custom address assigments.
- Fix – Shorten fields for custom assignments.
- Fix – Hide template rule value2 for non-numerical types.
- Enhancement – Return error if bulk order fails.
Version 2.4.0 – 06.09.2020
- Feature – Delete orders and templates in list table.
- Enhancement – Display errors and license data on license activation/deactivation/check.
- Enhancement – Log license errors.
- Enhancement – Raised POST request timeout for license check.
- Dev – Updated Plugin_Updater.
Version 2.3.2 – 03.09.2020
- Fix – Fixed incomplete PHP tag in Barcode_Template_Rules_Handler.
Version 2.3.1 – 02.09.2020
- Fix – Use non-blocking AJAX requests for license activation/deactivation/check.
Version 2.3.0 – 30.08.2020
- Feature – Added option to merge PDF files into one single file.
- Feature – Added condition ‘equals’ to template rules.
- Feature – Added rule types ‘payment method’ and ‘shipping method’ to template rules.
- Enhancement – Made weight field optional in editor.
- Enhancement – Added de_CH translations.
- Fix – Use customer address for GAS recipient.
- Fix – Wrap Weight element in Dimensions for Webservice.
- Fix – Cut off recipient field content lengths when loading WooCommerce addresses.
- Dev – Added filter for email attachments.
Version 2.2.0 – 10.08.2020
- Feature – Functionality to automatically create labels based on rules when a WooCommerce order is placed.
- Fix – Display time in local time.
Version 2.1.1 – 27.07.2020
- Fix – Removed deprecated saving of tracking code in Barcode_Order object to prevent duplicate tracking codes.
Version 2.1.0 – 18.07.2020
- Feature – Added checkbox to settings to address labels personally.
- Fix – Strip backslashes from address fields before saving to database.
- Enhancement – Changed field assignments of customer name and company fields.
- Dev – Moved helper classes into namespace Mame_Bc\lib.
Version 2.0.5 – 17.06.2020
- Fix – Use language parameter as uppercase string for the Digital Commerce API.
Version 2.0.4 – 16.06.2020
- Fix – Added missing textdomains to translatable strings.
Version 2.0.3 – 12.06.2020
- Fix – Check if ICL_LANGUAGE_CODE and get_user_locale() return valid languages and use ‘en’ if not.
Version 2.0.2 – 05.06.2020
- Enhancement – Get billing address if shipping address is empty for WooCommerce orders.
- Fix – Create new redirect URL when handling bulk orders to prevent getting query args from previous requests.
Version 2.0.1 – 02.06.2020
- Fix – Changed wrong constant name MAME_WS_PREFIX to MAME_BC_PREFIX in Barcode_Template_Editor_Handler.
Version 2.0.0 – 31.05.2020
- Feature – Integration of the Webservice Barcode as an alternative to the Digital Commerce API.
- Feature – Added bulk orders to order multiple labels at once (only Webservice).
- Feature – Added labels list to menu.
- Feature – Added buttons to open/download all files of an order at once to order list.
- Fix – Use production endpoint for test API request. Barcode’s INT endpoint is not available anymore.
- Fix – Use readfile instead of file_get_contents to output PNG and PDF files.
- Enhancement – Retry POST request to Swiss Post to generate address label three times if connection fails.
- Enhancement – Added error response when request to create token fails.
- Enhancement – Show errors and notices on order list and single page.
- Enhancement – Show related labels of order in overlay (order list).
- Enhancement – Show related orders of label in overlay (label list).
- Enhancement – List related labels instead of orders in the Barcode metabox of the WC order edit screen.
- Dev – Added function to JSON handler to show message in overlay.
- DB – Added columns recipient_id, wc_order_id and time to mame_bc_label table.
- DB – Added columns errors and notices to mame_bc_order table.
Version 1.5.0 – 19.04.2020
- Feature – Added Logger and settings to log errors or all events.
- Enhancement – Added error handler to return more detailed error information on bad requests.
- Enhancement – Return errors when customer data is missing before sending a request.
Version 1.4.3 – 02.04.2020
- Feature – Added option to add ProClima logo to labels.
Version 1.4.2 – 13.12.2019
- Fix – Check if current page is mame_bc_menu_settings before creating new Session and Customer.
Version 1.4.1 – 11.11.2019
- Fix – check if current user has permission ‘manage_woocommerce’ instead of checking for ‘administrator’ when printing or downloading files.
- Fix – include wc-cart-functions.php before creating new WC_Customer and calling get_checkout_fields().
Version 1.4.0 – 09.09.2019
- Feature – Custom assignment of WooCommerce fields to Barcode address fields.
Version 1.3.3 – 06.05.2019
- Fix – Use property instead of constant for display name.
Version 1.3.2 – 19.04.2019
- Fix – Show preview button after save.
Version 1.3.1 – 18.04.2019
- Fix – Bind click event on document for image upload.
Version 1.3.0 – 12.04.2019
- Feature – WooCommerce Shipment Tracking integration.
- Fix – Open print dialog after order.
- Fix – Load overview on template load.
Version 1.2.8 – 11.04.2019
- Fix – Correctly check, activate and deactivate licenses of the current blog.
Version 1.2.7 – 09.04.2019
- Fix – Correctly check activated licenses in multisite installations.
Version 1.2.6 – 08.04.2019
- Fix – Check if GET index is defined for settings page.
Version 1.2.5 – 08.04.2019
- Fix – Renamed variable for jQuery noConflict mode.
Version 1.2.4 – 15.03.2019
- Fix – Escape attribute on settings page.
Version 1.2.3 – 13.03.2019
- Fix – Typo in db setup.
Version 1.2.2 – 28.02.2019
- Fix – Check if Barcode_Customer::$domicile_post_office is set before the order.
Version 1.2.1 – 28.02.2019
- Fix – Added missing dot before extension in filename.
- Tweak – Only log errors if MAME_DEBUG set.
- Tweak – Added get_file() function to Barcode_Label to retrieve the content of the label file.
Version 1.2.0 – 27.01.2019
- Feature – Added tracking numbers to the order overview.
- Feature – Added option to include tracking numbers in confirmation emails.
- Fix – load WooCommerce buttons on admin screen when loading draft or starting new order.
Version 1.1.1 – 13.01.2019
- Fix – show editor fields when no draft or template available.
Version 1.1.0 – 13.01.2019
- Feature – Added order templates (editor, template list view).
- Feature – Added setting to directly jump to order overview screen on template load.
- Feature – Added setting to directly jump to print screen after an order has been placed.
- Feature – Added setting to add links to order confirmation email to load templates directly.
- Tweak – Fill in fields from draft order directly in PHP.
- Fix – Get correct file type when downloading files.
- Fix – Option name in Mame_Licensing.
Version 1.0.0 – 04.11.2018
- Initial release.
Free registration for PostFinance E-Payment
If you don't have a PostFinance e-Payment account you can fill out the form below to get a free Test-Account. You will be contacted by PostFinance for more information. This registration is completely free and non-binding.