qroft Posted June 17, 2017 Share Posted June 17, 2017 Hi, i am new to Prestashop and startet a total new theme based on the Starter Theme. I do understand and like the {block} and {hook} workflow that comes with Prestashop, but sometimes i ask myself if i simply can remove a block information or not. An example about what i mean, i have this inside the product.tpl file: {block name='product_thumbnail'} <a href="{$product.url}"><img src="{$product.cover.medium.url}" data-full-size-image-url="{$product.cover.large.url}"></a> {/block} Would it be a total mistake to remove the first and the third line and simply make it look like the following? <a href="{$product.url}"><img src="{$product.cover.medium.url}" data-full-size-image-url="{$product.cover.large.url}" class="ui fluid image"></a> Thanks in advance and have a nice weekend! 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