operador Posted March 22, 2022 Share Posted March 22, 2022 hello I need get the URL of cover image of the first product in categories in head.tpl Can you help me? Link to comment Share on other sites More sharing options...
endriu107 Posted March 22, 2022 Share Posted March 22, 2022 I think easiest way is write some javascript function to get this image link and pass it to correct place. Link to comment Share on other sites More sharing options...
operador Posted March 22, 2022 Author Share Posted March 22, 2022 I need this URL to preload that image in head.tpl like this: <link rel="preload" as="image" href="image_url /> I think javascript isn't the solution. Any idea? 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