Osclass forums

Development => Plugins => Topic started by: Hartenheer on June 30, 2018, 10:00:03 pm

Title: QR code [SOLVED]
Post by: Hartenheer on June 30, 2018, 10:00:03 pm
In order to work, you will need to place the following lines whereever you want to display the QR. The QR code will be placed inside a  tag at that place.
Code: [Select]
<?php show_qrcode(); ?>
It is not clear to me where to place this code.
Who can help me?
Title: Re: QR code
Post by: WEBmods on June 30, 2018, 10:48:02 pm
Hello,

The plugin shows the QR code for item page. If you want to show the QR code, add this line somehow in your item.php file.

Bender example, if I want QR code after description:

item.php line 99:

Code: [Select]
<p><?php echo osc_item_description(); ?></p>
<?php show_qrcode(); ?>

Regards.
Title: Re: QR code
Post by: Hartenheer on June 30, 2018, 10:54:56 pm
Thank you very much.
You're awesome
Title: Re: QR code
Post by: WEBmods on July 01, 2018, 02:30:50 am
No problem. ;) Please add [SOLVED] to the title of the thread by editing your first post in it.

Regards.