QR Code Tag for WC order emails, POS receipt emails, PDF invoices, PDF packing slips, Blog posts, Custom post types and Pages (from goaskle.com)

Описание

LIVE DEMO
HELP (HOW TO USE, DOCUMENTATION)

!!! QR Code Template Editor in admin area in settings of plugin !!! — DONE ( from version 1.9.3 )

  • Generates QR codes for Woocommerce orders automatically / dynamically ( Manual mode ) and inserts them into every Woocommerce email, PDF invoice and POS receipt. Starting from version 1.9.3 you can use the following variables to create your own data template for the QR Code generated for each order in Woocommerce:

{order_id}, {full_customer_name}, {total_amount}, {total_amount_no_curr}, {vat_amount}, {vat_number}, {order_date}, {order_time}, {wc_website}, {wc_order_items_name1}, {wc_order_items_qty1}, {wc_order_items_price1}, {wc_order_items_subtot1} , {wc_order_items_name2}, {wc_order_items_qty2}, {wc_order_items_price2}, {wc_order_items_subtot2}, {wc_order_items_template1}

More detailed read here:
HELP (HOW TO USE, DOCUMENTATION)

  • Also you can use QR Codes (Google API or QR Code Lib) anywhere in your blog, using Widget, using Tooltip, using Shortcode or even with a PHP function or in any other place.

QR code images compatible with Gmail (not cutted).

These plugins are already supported out of the box:

  • WooCommerce (All order emails)
  • WooCommerce PDF Invoices & Packing Slips (Emails + Files)
  • Kadence WooCommerce Email Designer (Emails)
  • YITH Point of Sale for WooCommerce (Receipts)

In accordance with current legal requirements (Due Covid-19 in some countries), we have created a standard customer data template:

  • The data for the template is generated dynamically based on the data from each order in WooCommerce.
  • At the same time, we left the opportunity for you to create QR codes based on your specified static data. Use one of 3 methods: shortcode, widget or tooltip.

Instructions for developers are provided to place QR codes inside any place in the template of your WordPress-based website using special php function!

The dynamic data of the automatic template is shown in brackets:

{Customer First Name} {Customer Family Name}
TOTAL AMOUNT {$39.10} — Total order amount from Woocommerce
VAT AMOUNT {$5.10} — Total Tax order amount from Woocommerce
VAT NUMBER {xxxxxxxx} (you can change it in admin: Goto WordPress Admin -> Settings -> QR code Tag from Goaskle.com) -> Enter yours there
DATE {03/11/2021} — Order date (created) from Woocommerce
TIME {19:03} — Order time (created) from Woocommerce
{https://yourdomain.com} — Your domain where this Woocommerce order was created.

For example:
Ivan Ivanov
TOTAL AMOUNT $39.10
VAT AMOUNT $5.10
VAT NUMBER 1235ABN457
DATE 03/11/2021
TIME 19:03
https://goaskle.com

Features:

For Woocommerce:

  • Generates QR codes for Woocommerce automatically based on order or you can disable auto mode at all
  • Generates QR codes for Woocommerce manually based on your own template using variables. Check FAQ or Documentation for details
  • Inserts QR Codes into every Woocommerce email, PDF invoice and POS receipt
  • Attaching to email automatically
  • QR code images also compatible with Gmail (visible).
  • Support WooCommerce email templates (invoices, order notifications)
  • Support WooCommerce PDF Invoices & Packing Slips plugin (showing inside PDF invoices and packing slips)
  • Supports Kadence WooCommerce Email Designer plugin and its templates
  • Supports YITH Point of Sale for WooCommerce plugin and its email and PDF receipts

For any (WordPress posts, pages, sidebars, widgets, tooltips, custom posts):

  • Choose your QR Code generator: Google Chart API (online connection required) or QR Code Lib (included)
  • Uses cURL if allow_url_fopen is disabled (Google Chart API)
  • GIF, PNG or JPEG image output
  • All QR Code images are cached
  • Use as a Sidebar Widget
  • Use the Shortcode [qrcodetag_from_goaskle_com] Your content [/qrcodetag_from_goaskle_com] within your posts
  • Use the Tooltip mode [qrcodetag_from_goaskle_com tooltip="content"] Your some text for hover on it [/qrcodetag_from_goaskle_com] within your posts
  • Use the PHP function inside your own template ( see details in documentation or in plugin settings )
  • «Best Read Mode» for optimized QR Code image size
  • Works with PHP 7.3+, PHP 7.4+, PHP 8+ as well
  • Works on symlinked plugin folders
  • Available plugin admin interface languages: English, German, Arabic, French

Demo

See this page for a tooltip mode demo.
Move your mouse over the application links.

Acknowledgements

Based on QR Code Tag By Dennis D. Spreen
https://wordpress.org/plugins/qr-code-tag/

It uses:

Скриншоты

  • Widget options
  • Tooltip mode
  • Admin interface
  • Order invoice example (Email)
  • QR code example

Установка

How to install?

See instruction here:

How To Install instructions

Manual instruction ( if automatic installation using plugins directory not working for you ):

  1. Upload the full directory into your /wp-content/plugins/ directory, or install it through the admin interface
  2. Set write permissions for /wp-content/plugins/qr-code-tag-for-wc-from-goaskle-com/data directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress Admin area
  4. Go to the settings page and change the default values (optional)

Requirements:

  • PHP7+ or PHP7.3+ or PHP7.4+ or PHP8+ with GD Lib and Curl (with Google Chart API only)
  • WordPress 4.4+ (required)
  • Woocommerce 3.0+ (not required) (if you want to have QR codes automatically attached to all your Woocommerce order emails, PDF invoices and POS receipts only)

Часто задаваемые вопросы

Does your plugin work with Woocommerce plugin?

Yes, of course. It works in two modes:

AUTOMATIC MODE

you only need to enter your VAT if you have it, if not then clear the VAT Number field in plugin settings
and CLEAR «Woocommerce Data Template» field and then Save options

MANUAL MODE

you need to create your own data template for QR code and enter it in «Woocommerce Data Template» ( field in plugin settings ) using the following variables:

{order_id}, {full_customer_name}, {total_amount}, {total_amount_no_curr}, {vat_amount}, {vat_number}, {order_date}, {order_time}, {wc_website}, {wc_order_items_name1}, {wc_order_items_qty1}, {wc_order_items_price1}, {wc_order_items_subtot1} , {wc_order_items_name2}, {wc_order_items_qty2}, {wc_order_items_price2}, {wc_order_items_subtot2}, {wc_order_items_template1}

You can use this template and copy paste and edit as you wish:

Order ID: {order_id}
{full_customer_name}
TOTAL AMOUNT: {total_amount}
VAT AMOUNT: {vat_amount}
VAT NUMBER: {vat_number}
DATE {order_date}
TIME {order_time}
{wc_website}
{wc_order_items_template1}

Don’t forget to Save options after changing your template

What is a QR Code?

Read Wikipedia QR Code article.

Will there be a PHP4 or lower than PHP7 version?

No. Please upgrade your PHP installation.

Does it work with PHP 7.3+ and with PHP 7.4+?

Yes it does.

Does it work with PHP 8?

Yes it does.

Which image type should I choose?

PNG is the preferred one. If you’re concerned about very old browser, use GIF instead. Or JPEG.

Which code generator should I choose?

If you’re on a webserver that disallows online connection from within php scripts, you should switch over to the QR Code Lib.

There is a red image instead of the QR Code image. What’s wrong?

You’re /qr-code-tag-goaskle-com/data/ directory is not writeable. Please adjust
your permissions. See Changing File Permissions.

How to use the tooltip mode?

See Plugin Help (below Plugin settings in your WordPress administration area).

There is only a blank page for large posts with your plugin! Why?

This is a PHP / WordPress problem. See Sudden empty / blank page for large posts with WordPress for problem description and solutions.

The margin with the Google API differs from that one created by the QR Code Lib. Why?

Google Chart API creates a different margin. I can’t tell you why — ask Google.

How I can check the generated QR Code?

You can use the Google ZXing online service

Where I can download a barcode reader for my mobile device?

The plugin is not available in (_put a language in here_). Why?

Because no one translated it yet into this language. How about you? See Plugin Help for translation hints!

Отзывы

09.11.2022 1 ответ
The functionality is very good, you can obtain and configure the QR code according to your needs. And the support team is the best, always attentive to the needs of the user. I recommend it 100%
24.08.2022 1 ответ
I wanted to insert a dynamic QR code into one of my email templates, I tried a lot of plugins (7 of them), but none of them would add the QR to emails. This one was buried well down the list in the search results, so I have written a quick review to give it a boost. I was very surprised when it worked, but also very pleased 🙂
Посмотреть все 2 отзыва

Участники и разработчики

«QR Code Tag for WC order emails, POS receipt emails, PDF invoices, PDF packing slips, Blog posts, Custom post types and Pages (from goaskle.com)» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Журнал изменений

1.9.4 (18 November 2022)

  • Added short documentation and removed some files ( old translations )

1.9.3 (09 November 2022)

  • Added new variables:
    {wc_order_items_name1} — names of all products one by one ( Example: from {wc_order_items_name1} to {wc_order_items_name999} unlimited

{wc_order_items_qty1} — quantities of all products one by one ( Example: from {wc_order_items_qty1} to {wc_order_items_qty999} unlimited

{wc_order_items_price1} — prices of all products one by one ( Example: from {wc_order_items_price1} to {wc_order_items_price999} unlimited

{wc_order_items_subtot1} — subtotals of all products one by one ( Example: from {wc_order_items_subtot1} to {wc_order_items_subtot999} unlimited

{wc_order_items_template1} — predefined template for order items in this format:
Product name1 ( Qty X Price = Subtotal )
Product name2 ( Qty X Price = Subtotal )
etc…

1.9.2 (20 October 2022)

  • Added new variable {total_amount_no_curr} — order total without currency.

1.9.1 (30 August 2022)

  • Fixed some small issues with translations

1.9 (25 August 2022)

  • Added possibility to Disable Auto QR code insert into Woocommerce and related to it plugins

1.8 (25 August 2022)

  • Added possibility to use your own template for Woocommerce with the following variables {order_id}, {full_customer_name}, {total_amount}, {vat_amount}, {vat_number}, {order_date}, {order_time}, {wc_website}

1.7 (09 December 2021)

1.6 (29 November 2021)

1.5 (27 November 2021)

1.4 (07 November 2021)

1.3 (03 November 2021)

1.2 (03 November 2021)

1.1 (03 November 2021)

  • Initial Release