WordPress.org

Plugin Directory

QR-код для электронных писем Woocommerce заказов, электронных писем POS-квитанций, PDF-счетов, PDF-упаковочных листов, постов блога, пользовательских типов постов и любых страниц (от goaskle.com)

QR-код для электронных писем Woocommerce заказов, электронных писем POS-квитанций, PDF-счетов, PDF-упаковочных листов, постов блога, пользовательских типов постов и любых страниц (от goaskle.com)

Описание

Full name of the plugin: 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-кодов для Woocommerce в админке в настройках плагина !!! — СДЕЛАНО (с версии 1.9.3)

  • Генерирует QR-коды для заказов Woocommerce автоматически / динамически (ручной режим) и вставляет их в каждое письмо Woocommerce, PDF счет-фактуру и POS чек. Начиная с версии 1.9.3 вы можете использовать следующие переменные для создания собственного шаблона данных для QR-кода, генерируемого для каждого заказа в Woocommerce:

{order_id}, {customer_phone}, {customer_email}, {full_customer_name}, {total_amount}, {total_amount_no_curr}, {vat_amount}, {vat_number}, {order_status}, {order_date}, {order_date_year}, {order_date_mon}, {order_date_day}, {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}, {hash_gaqr}, {order_ship_address}, {order_map_ship_address}, {wc_coupons_names_plus_sums}, {wc_coupons_sums}, {wc_coupons_names}, {wc_coupons_total}, {wc_order_customer_id}, {wc_order_user_id}

Более подробно читайте здесь :

СПРАВКА ( КАК ПОЛЬЗОВАТЬСЯ, ДОКУМЕНТАЦИЯ )

  • Также Вы можете использовать QR-коды (QR Code Lib) в любом месте Вашего блога, с помощью виджета, с помощью всплывающей подсказки, с помощью шорткода или даже с помощью функции PHP или в любом другом месте.

Изображения QR-кодов, совместимые с Gmail (не обрезанные).

Эти плагины уже поддерживаются изначально:

  • WooCommerce (All order emails) !!! ( Hash feature is fully compatible with both: High-Performance Order Storage and Legacy Order storage modes. )
  • PDF Invoices & Packing Slips for WooCommerce (by WP Overnight, Emails + Files)
  • Конструктор электронной почты Kadence WooCommerce (электронные письма)
  • YITH Point of Sale для WooCommerce (квитанции)
  • Advanced Custom Fields ( ACF — fields from products of Woocommerce )
  • Print Invoice & Delivery Notes for WooCommerce ( by Tyche Softwares )
  • WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels plugins ( By WebToffee, Emails + Files )
  • Woocommerce Product Vendors ( blocked QR code in emails for vendors )

В соответствии с действующими законодательными требованиями (Due Covid-19 в некоторых странах), мы создали стандартный шаблон данных о клиентах для каждого заказа в Woocommerce:

  • Данные для шаблона генерируются динамически на основе данных каждого заказа в WooCommerce.
  • В то же время мы оставили для вас возможность создавать QR-коды на основе указанных вами статических данных. Используйте один из 4 методов: шорткод, виджет, всплывающая подсказка или php функция.

Инструкции для разработчиков предоставляется, для размещения QR-кодов в любом месте шаблона вашего сайта на базе WordPress с помощью специальной функции php!

В скобках указаны динамические данные автоматического шаблона:

{full_customer_name}
ОБЩАЯ СУММА {$39.10} — Общая сумма заказа из Woocommerce
СУММА НДС {$5.10} — Общая сумма заказа с налогом из Woocommerce
НОМЕР НДС {xxxxxxxxxxx} (вы можете изменить его в админке: Goto WordPress Admin -> Settings -> QR code Tag from Goaskle.com) -> Введите туда свой
ДАТА {03/11/2021} — Дата заказа (созданного) из Woocommerce
ВРЕМЯ {19:03} — Время заказа (создано) из Woocommerce
{https://yourdomain.com} — Ваш домен, на котором был создан этот заказ Woocommerce.

Например:
Иван Иванов
ОБЩАЯ СУММА $39.10
СУММА НДС $5.10
НОМЕР НДС 1235ABN457
ДАТА 03/11/2021
ВРЕМЯ 19:03
https://goaskle.com

Особенности:

Для Woocommerce:

  • Генерирует QR-коды для Woocommerce автоматически на основе заказа или вы можете отключить автоматическое формирование для Woocommerce вообще
  • Генерирует QR-коды для Woocommerce на основе вашего собственного шаблона с использованием переменных. Подробнее смотрите FAQ или документацию
  • Вставка QR-кодов в каждое электронное письмо Woocommerce, PDF-счет и кассовый чек
  • Автоматическое прикрепление к электронной почте
  • Изображения QR-кодов также совместимы с Gmail ( видимы, не вырезаются защитой ).
  • Поддержка шаблонов электронной почты WooCommerce (счета-фактуры, уведомления о заказах)
  • Поддержка плагина WooCommerce PDF Invoices & Packing Slips (отображение внутри PDF счетов и упаковочных листов)
  • Поддерживает плагин Kadence WooCommerce Email Designer и его шаблоны
  • Поддерживает плагин YITH Point of Sale for WooCommerce и его квитанции по электронной почте и в формате PDF
  • Supports Advanced Custom Fields ( ACF ) plugin for Woocommerce template ( Get value only from Woocommerce product object yet )
  • Supports Print Invoice & Delivery Notes for WooCommerce By Tyche Softwares plugin for Woocommerce template
  • Support WooCommerce PDF Invoices & Packing Slips plugin By WebToffee for Woocommerce template ( showing inside PDF invoices and packing slips)
  • Поддерживает плагин Woocommerce Product Vendors ( блокирует QR коды в письмах для продавцов )
  • Generate unique HASH for every order ( useful for ticket sellers ). Validate HASH by customer and by administrator. Edit HASH in order layout in admin. Activate or deactivate HASH. Create list of activations of HASH.

Для любого (посты WordPress, страницы, боковые панели, виджеты, всплывающие подсказки, пользовательские посты, php функция):

  • QR Code generator: QR Code Lib (included)
  • Вывод изображений в формате GIF, PNG или JPEG
  • Все изображения QR-кодов кэшируются
  • Использование в качестве виджета боковой панели
  • Используйте шорткод [qrcodetag_from_goaskle_com] Ваше содержание [/qrcodetag_from_goaskle_com] в своих постах
  • Используйте режим подсказки [qrcodetag_from_goaskle_com tooltip="content"] Ваш текст при наведении на него [/qrcodetag_from_goaskle_com] в ваших публикациях
  • Используйте функцию PHP внутри собственного шаблона (см. подробности в документации или в настройках плагина).
  • «Режим наилучшего считывания» для оптимизации размера изображения QR-кода
  • Работает с PHP 7.3+, PHP 7.4+, а также PHP 8+
  • Работает с папками плагинов, связанными симлинками (ярлыками)
  • Доступные языки интерфейса администратора плагина: английский, немецкий, арабский, французский, русский
  • Changing some colors of the QR code ( since v1.9.15 )

Демо

Смотрите эту страницу для демонстрации режима всплывающих подсказок.
Наведите курсор мыши на ссылки приложений.

Благодарности

На основе тега QR-кода Деннис Д. Сприн
https://wordpress.org/plugins/qr-code-tag/

В нем используются:

Скриншоты

  • Параметры виджета
  • Режим всплывающих подсказок
  • Интерфейс администратора
  • Пример счета-фактуры на заказ (Email)
  • Пример QR-кода

Установка

Как установить?

Смотрите инструкцию здесь:

Инструкция по установке

Ручная инструкция (если автоматическая установка с помощью каталога плагинов не работает для вас):

  1. Загрузите полный каталог в каталог /wp-content/plugins/ или установите его через интерфейс администратора
  2. Установите разрешения на запись для каталога /wp-content/plugins/qr-code-tag-for-wc-from-goaskle-com/data
  3. Активируйте плагин через меню «Плагины» в области администратора WordPress
  4. Перейдите на страницу настроек и измените значения по умолчанию (необязательно)

Требования:

  • PHP7+ or PHP7.3+ or PHP7.4+ or PHP8+ with GD Lib
  • WordPress 4.4+ (требуется)
  • Woocommerce 3.0+ (не требуется) (если вы хотите, чтобы QR-коды автоматически прикреплялись ко всем вашим электронным письмам с заказами Woocommerce, PDF счетам и POS квитанциям)

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

Работает ли ваш плагин с плагином Woocommerce?

Да, конечно. Он работает в двух режимах:

АВТОМАТИЧЕСКИЙ РЕЖИМ

вам нужно ввести только ваш ИНН, если он у вас есть, если нет, то очистите поле VAT Number ( ИНН ) в настройках плагина
и УБРАТЬ поле «Шаблон данных Woocommerce», а затем Сохранить параметры

РУЧНОЙ РЕЖИМ

необходимо создать свой собственный шаблон данных для QR-кода и ввести его в «Woocommerce Data Template» (поле в настройках плагина), используя следующие переменные:

{order_id}, {customer_phone}, {customer_email}, {full_customer_name}, {total_amount}, {total_amount_no_curr}, {vat_amount}, {vat_number}, {order_status}, {order_date}, {order_date_year}, {order_date_mon}, {order_date_day}, {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}, {hash_gaqr}, {order_ship_address}, {order_map_ship_address}, {wc_coupons_names_plus_sums}, {wc_coupons_sums}, {wc_coupons_names}, {wc_coupons_total}, {wc_order_customer_id}, {wc_order_user_id}

Вы можете использовать этот шаблон, копировать, вставлять и редактировать по своему усмотрению:

Номер заказа: {order_id}
{full_customer_name}
ОБЩАЯ СУММА: {total_amount}
Сумма налогов: {vat_amount}
ИНН: {vat_number}
ДАТА {order_date}
ВРЕМЯ {order_time}
{wc_website}
{wc_order_items_template1}

Не забудьте сохранить параметры после изменения шаблона

Что такое QR-код?

Прочитайте статью QR-код Википедии.

Будет ли версия для PHP4 или ниже PHP7?

Нет. Пожалуйста, обновите вашу версию PHP.

Работает ли он с PHP 7.3+ и с PHP 7.4+?

Да.

Работает ли он с PHP 8+?

Да.

Какой тип изображения следует выбрать?

Предпочтительным является PNG. Если вас беспокоит очень старый браузер, используйте вместо него GIF. Или JPEG.

Какой генератор кода выбрать?

Если вы работаете на веб-сервере, который запрещает подключение к сети изнутри php-скриптов, вам следует перейти на QR Code Lib.

Вместо изображения QR-кода имеется красное изображение. Что не так?

Ваш каталог /qr-code-tag-goaskle-com/data/ не доступен для записи. Пожалуйста, настройте права доступа. См. Changing File Permissions.

Как использовать режим всплывающих подсказок?

См. раздел Помощь по плагинам (ниже настроек плагина в области администрирования WordPress).

С вашим плагином для больших постов есть только пустая страница! Почему?

Это проблема PHP / WordPress. См. Внезапно пустая / пустая страница для больших постов с WordPress для описания проблемы и решения.

Как я могу проверить сгенерированный QR-код?

Вы можете использовать онлайн-сервис Google ZXing

Где я могу скачать программу для считывания штрихкодов для моего мобильного устройства?

Плагин недоступен на (_укажите здесь язык_). Почему?

Потому что никто еще не перевел его на этот язык. Как насчет вас? Подсказки по переводу смотрите в Справке по плагину!

Отзывы

18.02.2023 1 ответ
Very good plugin for adding QR codes to your forms and email the easy way! I am using it for ticketing purposes. One feature was missing, it was acknowledged by the developer and the feature was added a DAY later! Thank you guys! Super happy with it! And recommend it to others as well.
25.01.2023 1 ответ
Followed the instructions specified . Verified the Print page of the Order Invoice pdf has QR code. I have scanned the QR code using mobile that redirected me to the order page(After logging with credentials). Also I could update the order status. This is our requirement and your plugin suits our need. Thank you for the great support.
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%
19.04.2024 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 :-)UPDATE: it also generates the image quicker than other plugins I tested (which show a placeholder while the QR is being generated)
Посмотреть все 6 отзывов

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

«QR-код для электронных писем Woocommerce заказов, электронных писем POS-квитанций, PDF-счетов, PDF-упаковочных листов, постов блога, пользовательских типов постов и любых страниц (от goaskle.com)» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

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

1.9.37 (26 May 2025)

  • Add: {order_status} variable

1.9.36 (24 February 2025)

  • Add: Position od the QR code for WC emails in plugin settings. Thanks for idea to Oliver. You can use now: woocommerce_email_footer, woocommerce_email_header, woocommerce_email_order_details, woocommerce_email_before_order_table, woocommerce_order_item_meta_start, woocommerce_order_item_meta_end, woocommerce_email_after_order_table, woocommerce_email_order_meta, woocommerce_email_customer_details

1.9.35 (27 November 2024)

  • Fix: Very important update — HASH feature was not working for websites which using custom Woocommerce pages built with Elementor, Gutenberg or any other website builders. Added hook woocommerce_store_api_checkout_order_processed for new orders.

1.9.34 (22 November 2024)

  • Fix: Hash feature is fully compatible with both: High-Performance Order Storage and Legacy Order storage modes.

1.9.33 (25 October 2024)

  • Fix: Thanks to grafika123!, issue on wordpress.org https://wordpress.org/support/topic/add-admin/.
    Now you can control who can use hash feature (new field added in plugin options).
    Used: add_filter( ‘woocommerce_order_received_verify_known_shoppers’, ‘__return_false’ );

1.9.32 (25 October 2024)

  • Fix: Thanks to gabrielgekko!, Internal ticket 8HD-ZU2-ML7D, issue on wordpress.org (https://wordpress.org/support/topic/i-get-the-same-qr-code-for-all-orders-when-print-in-bundle/).
    Error when generating bulk invoices using the plugin «PDF Invoices & Packing Slips for WooCommerce By WP Overnight»

    PDF Invoices & Packing Slips for WooCommerce


    Previously, QR codes were generated identical to the data from the first invoice.

1.9.31 (24 October 2024)

  • Fix: Fatal error during mass change of order statuses in Woocommerce administration.

1.9.30 (24 March 2024)

  • New: Added new code for template for customer email and phone. Use {customer_phone} and {customer_email}.

1.9.29 (24 March 2024)

  • Fix: Found solution for using HASH feature with fresh Woocommerce version. Check Documentation.

1.9.28 (08 October 2023)

  • Fix: small issues, php warnings and notices.

1.9.27 (12 September 2023)

  • Fix: small issues, php warnings and notices.

1.9.26 (20 Jule 2023)

  • Fix: Bug with plugin WooCommerce PDF Invoices & Packing Slips plugin By WebToffee related to creating of PDF file is fixed.

1.9.25 (20 June 2023)

  • New feature: Show activation status of qr code on front end of site for admin when using hash function for ticketing or similar.
  • New feature: Support Woocommerce product variations inside {wc_order_items_template1}

1.9.24 (03 June 2023)

  • New feature: Added new variables for WC order:
    {wc_order_customer_id} — Return Customer id from order
    {wc_order_user_id} — Ruturn User id from order

1.9.23 (30 May 2023)

  • Fix: QR code on My account page in front of Woocommerce was not working

1.9.22 (28 May 2023)

  • New feature: Added support for Woocommerce Product Vendors ( QR code blocked for vendor’s emails )
  • Fix: Option «Disable for ALL Woocommerce emails except these statuses» is working now but for statuses only

1.9.21 (27 May 2023)

  • New feature: Added support for WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels plugins
    By WebToffee

1.9.20 (26 May 2023)

  • Fix: Fixed CSS for long plugin name in the list of plugins in the wordpress admin

1.9.19 (26 May 2023)

  • Fix: Prevent deletion of plugin settings when the plugin is deactivated

1.9.18 (10 May 2023)

  • New feature: Added 4 new variables for Woocommerce data template:
    {wc_coupons_names_plus_sums} — If exists all coupons data of order in one line comma separated
    {wc_coupons_sums} — If exists all coupon totals comma separated
    {wc_coupons_names} — If exists all coupon code comma separated
    {wc_coupons_total} — If exists coupons grand total of order

1.9.17 (07 May 2023)

  • New feature: Added 2 new variables for Woocommerce data template:
    {order_ship_address} — If exists shipping address then you will get it, if not then you will get billing address
    {order_map_ship_address} — If exists shipping address then you will get link to google maps with shipping address, if not then you will get link to google maps with billing address

1.9.16 (07 May 2023)

  • New feature: Added QR code to the order details on the frontend in my account.

1.9.15 (06 March 2023)

  • New feature: Changing some colors of the QR code ( Plugin settings )

1.9.14 (22 February 2023)

  • Fixed some errors with hash

1.9.13 (22 February 2023)

  • Added new option for ticket sellers. Added the ability to generate a unique hash for each woocommerce order ( Enable checkbox in Settings page ). Thanks to this function it is possible to check the validity of the information provided by your customer inside the QR code. QR code is very easy to forge, so having the ability to assign each order in woocommerce a unique hash gives protection of customer data and allows you to make sure that this person ordered goods or services on your site and not someone else. Also added the function of activation and deactivation of the hash code with a list of activations in the admin panel inside the order. Also added the ability to validate the hash code for both you and your customers. Also added the ability to edit a unique hash code in order editing mode. Detailed explanation in documentation.
  • Fixed some errors

1.9.12 (17 February 2023)

  • Added new option for hide QR code for all Woocommerce pages and use with Woocommerce emails only ( checkbox in Settings page )

1.9.11 (12 January 2023)

  • Added option to choose which emails in Woocommerce to add QR-code ( in Settings page )
  • Fixed timezone issue

1.9.10 (06 January 2023)

  • Added Print Invoice & Delivery Notes for WooCommerce By Tyche Softwares plugin support

1.9.9 (02 January 2023)

  • Fixed issue from 1.9.8 version
  • Added a new checkbox on the plugin settings page in the WordPress admin area. By enabling this checkbox you can disable adding qr code to all Woocommerce emails except these ones:
    new_order, failed_order, customer_on_hold_order, customer_processing_order, customer_completed_order, customer_refunded_order, customer_partially_refunded_order, cancelled_order, customer_invoice.

1.9.8 (27 December 2022)

  • Added ACF plugin support and 1 new custom variable ( multi variable ) for Woocommerce Template for ACF fields: {wc_prod_acf_ZZZ} – Get value only from Woocommerce product object yet ( added since 1.9.8 version ) Where ZZZ = your_acf_field_slug. For example: {wc_prod_acf_lecture_full_date} – get ACF product field from order, will be checked and if acf field with slug “lecture_full_date” will be found then value will be shown. ACF is Advanced Custom Fields plugin of WordPress. So you can easy show all your ACF product fields in your data for QR code.

1.9.7 (13 December 2022)

  • Added 1 new variable: {wc_order_number} = $order->get_order_number();

1.9.6 (13 December 2022)

  • Fixed zero issue ( when order_id only was used )

1.9.5 (12 December 2022)

  • Fixed link wrapping for Woocommerce
  • Added 3 new variables: {order_date_year} — Year from order date, {order_date_mon} — Month from order date, {order_date_day} — Day from order date

1.9.4 (18 November 2022)

  • Добавлена краткая документация и удалены некоторые файлы (старые переводы)

1.9.3 (09 November 2022)

  • Добавлены новые переменные:
    {wc_order_items_name1} — названия всех продуктов по одному (Пример: от {wc_order_items_name1} до {wc_order_items_name999} неограниченно

{wc_order_items_qty1} — количество всех товаров по очереди (Пример: от {wc_order_items_qty1} до {wc_order_items_qty999} неограниченно

{wc_order_items_price1} — цены всех товаров по очереди (Пример: от {wc_order_items_price1} до {wc_order_items_price999} неограниченно

{wc_order_items_subtot1} — промежуточные итоги всех товаров по одному (Пример: от {wc_order_items_subtot1} до {wc_order_items_subtot999} неограниченно

{wc_order_items_template1} — предопределенный шаблон для элементов заказа в этом формате:
Название товара1 ( Количество X Цена = Итого )
Наименование2 ( Кол-во X Цена = Итого )
и т.д.

1.9.2 (20 October 2022)

  • Добавлена новая переменная {total_amount_no_curr} — общая сумма заказа без учета валюты.

1.9.1 (30 August 2022)

  • Исправлены некоторые небольшие проблемы с переводами

1.9 (25 August 2022)

  • Добавлена возможность отключения автоматической вставки QR-кода в Woocommerce и связанные с ним плагины

1.8 (25 August 2022)

  • Добавлена возможность использования собственного шаблона для Woocommerce со следующими переменными {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)

  • Первоначальный выпуск