schnuckelg Posted November 9, 2017 Share Posted November 9, 2017 hi! for some reasons I like to display the cover image of a product combination (the image that is marked as cover at product basic settings) at the front office. therefore I changed templates/catalog/_partials/miniatures/product.tpl. In the block {block name='product_miniature_item'} I changed src = "{$product.cover.bySize.home_default.url}" to src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}". This works well if all products fit into one category page. if you have to switch to page 2 this results into an endless loading of page 2. Does anyone know why, or has anyone an idea why $product.cover.bySize.home_default.url does not show the image that is marked as cover? best regards, Gerald 1 Link to comment Share on other sites More sharing options...
Dobrinia Posted March 6, 2018 Share Posted March 6, 2018 same problem... Not solve this bug ? Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted March 6, 2018 Share Posted March 6, 2018 when you switch the pages, the product list was loaded by ajax,so you need to change the ajax content template file, Link to comment Share on other sites More sharing options...
Zuser Posted August 22, 2018 Share Posted August 22, 2018 Hi, I have the same problem. Where did you change the ajax content template ? Link to comment Share on other sites More sharing options...
Darius1990 Posted February 7, 2019 Share Posted February 7, 2019 OMG your answer really works! Thanks! 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