QR Scan Code

With a simple line of code, you can show a QR Scan code



see carbjetkits.com



If you have SEO addon enabled use:

<br />
<img src="https://chart.googleapis.com/chart?cht=qr&chs=150x150&choe=UTF-8&chld=L&chl=http://yourdomain.com{$config.current_url|fn_url}"><br />

```<br />
<br />
If SEO addon is not enabled use:<br />
```php
<br />
<img src="https://chart.googleapis.com/chart?cht=qr&chs=150x150&choe=UTF-8&chld=L&chl=http://yourdomain.com{$config.current_url}"><br />

```<br />
<br />
on my site I added the code in main.tpl

Thanks for that, I'll try it today.

You need to remove the / after yourdomain.com

you are right Thanks.

I updated the first post

[font=trebuchet ms,helvetica,sans-serif]Hello

I would ask for the information of where to put the code for QR,

two days but I try not succeeding.

CS Cart 3.0.1.[/font]

[font=trebuchet ms,helvetica,sans-serif]Best regards Chico[/font]

Not sure in V3, but here is where my code is in skins/your_skin/customer/main.tpl:


<br />
<br />
   {if $right|trim}<br />
   <div class="right-column"><br />
<img src="upload://gZS20aRWqxa8pp8znLKwMkJxoNW.png"></img><br />
  <br />
	{$right}<br />
   </div><br />
   {/if}<br />
   {/hook}<br />

[font=trebuchet ms,helvetica,sans-serif]Thanks for your reply.

For CS Cart 3 I added the code in skins/my_skins/customer/block/product_templates/default_template.tpl [/font]

[font=trebuchet ms,helvetica,sans-serif]and looks great.[/font]

[font=trebuchet ms,helvetica,sans-serif]We are sorry that currently have localhost so that it can not show.[/font]

[font=trebuchet ms,helvetica,sans-serif]I added the code here:[/font]



{if !$hide_title}

{$product.product|unescape}

{/if}

[font=trebuchet ms,helvetica,sans-serif]Thanks for your reply.

For CS Cart 3 I added the code in skins/my_skins/customer/block/product_templates/default_template.tpl [/font]

[font=trebuchet ms,helvetica,sans-serif]and looks great.[/font]

[font=trebuchet ms,helvetica,sans-serif]We are sorry that currently have localhost so that it can not show.[/font]

[font=trebuchet ms,helvetica,sans-serif]I added the code here:[/font]

div class=“product-info”>

{if !$hide_title}

{$product.product|unescape}

{/if}



https://chart.googleapis.com/chart?cht=qr&chs=150x150&choe=UTF-8&chld=L&chl=http://{$config.current_url|fn_url”]https://chart.googleapis.com/chart?cht=qr&chs=150x150&choe=UTF-8&chld=L&chl=http://{$config.current_url|fn_url[/url]}” alt=“Product QR Code” width=“150” height=“150” style=“float: right”>

Thanks

This would probably be better placed in the hook:

my_changes/hooks/products/view_main_info.override.tpl

[font=trebuchet ms,helvetica,sans-serif]Hello

QR code occurs only in the product details.

The website is on line and I can show you what it looks like:[/font]

[font=trebuchet ms,helvetica,sans-serif][url=“http://www.showlife.si/dmh-40-led-moving-head-futurelight.html”]http://www.showlife.si/dmh-40-led-moving-head-futurelight.html[/url][/font]



[font=trebuchet ms,helvetica,sans-serif]Chico[/font]