Make Order QR code available as a shortcode in email templates.



1 comment

  • Official comment
    W3 Support

    This feature has been added!

    There is now a shortcode filter called "qr_code" that can be added to any email template. The filter creates a QR code encoded with the value that is passed in.

    The following shortcode will create a QR code encoded with the value of the id field

    {{id |  qr_code}}

    By default, the size of the QR code image is 150px. If you would like to change the size of the image you can pass the size as an integer to the filter.

    {{id |  qr_code:300}}

    Comment actions Permalink

Please sign in to leave a comment.