I have crated one theme and module, theme extends to blank theme, module have five blocks.I am trying First block render the latest product image(only one),the remaining blocks render most sell product. Before that I have achieved this using widget catalog product list (from Admin page). Now I am trying to get latest product image without widget, at the same time when we click image it will get redirect to product detail page.
My question is :
I am expecting my page look like
- Block1 – Latest Product Image
- Block2,Block3,Block4,Block5 – Most Sell Product
when we click image it will get redirect to product detail page
Give some hints to achieve this