Jump to content

Google QR CODE via CMS(edit HTML Source)


Recommended Posts

Now I am running PS 1.5.6 and different way to implement my google qr code. I am adding the qr code via the CMS> edit HTML source . and it does not work with both the below codes. Can someone tell me how to use it via the CMS (Edit HTML source) ? Both the below code cannot get the product page URL at all. 

<img src="https://chart.googleapis.com/chart?cht=qr&chs=128x128&chld=L|0&chl={$link->getProductLink($product->id, $product->link_rewrite, $product->category)}" alt="{$product->name}" style="float:right;" />

and 

<img src="https://chart.googleapis.com/chart?cht=qr&chs=128x128&chld=L|0&chl={$product_link}" alt="{$product->name}" style="float:right;" />

Appreciate the help guys... Thanks  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...