archproject Posted October 29, 2013 Share Posted October 29, 2013 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 More sharing options...
vekia Posted October 29, 2013 Share Posted October 29, 2013 you can't use smarty language inside html editor like CMS page editor. It will not work. All what you can do in this case is paste url manually Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now