ilario Posted December 15, 2022 Share Posted December 15, 2022 ciao a tutti sto modificando il file product-cover-thumbnails.tpl mi servirebbe ricavare url della terza immagine del prodotto, ma non in quelle delle combinazioni, ma le immagini generali del prodotto come posso fare? grazie mille ilario Link to comment Share on other sites More sharing options...
ilario Posted December 16, 2022 Author Share Posted December 16, 2022 (edited) dopo diverse ricerche e tentativi sono riuscito a trovare {assign var='terzaproductimg' value=Image::getImages($language.id, $product.id)} {if isset($terzaproductimg[2])} <img src="{$link->getImageLink($product.link_rewrite,$product.id_product|cat:"-"|cat:$terzaproductimg[2].id_image, 'large_default')}" /> {/if} magari potrà essere utile a qualcuno Edited December 16, 2022 by ilario (see edit history) 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