Sophia(sofi) Posted July 13, 2015 Share Posted July 13, 2015 Product image not showing in the comment box. Below is the code as specified in productcomment.tpl <img src="{$productcomment_cover_image}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$product->name|escape:'html':'UTF-8'}" /> Here I have attached the screenshots. Link to comment Share on other sites More sharing options...
Sophia(sofi) Posted July 14, 2015 Author Share Posted July 14, 2015 Urgent help needed Link to comment Share on other sites More sharing options...
Sophia(sofi) Posted July 14, 2015 Author Share Posted July 14, 2015 Changed the image src from <img src="{$productcomment_cover_image}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$product->name|escape:'html':'UTF-8'}" /> To <img src="{$link->getImageLink($product->link_rewrite, $productcomment_cover, 'home_default')|escape:'html'}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$product->name|escape:'html':'UTF-8'}" /> The product image was rendered. Though this could help someone in future. Happy customising prestashop 1 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