No Comments

Get Latest/Most Sell Product Image Without Using Widget – Magento 2.0.1

Unable to open admin panel after successful installation of magento on localhost in ubuntu 14.04
How do you change the duration on a calendar booking?

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

this

  1. Block1 – Latest Product Image
  2. 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

Related Posts

  • Resize individual image in widget – magento 2.0.1 (1)
    I have created customize theme which extends to magento blank. I am using widget to show latest products in home page. Now, My page look like this I want to resize the every image (catalog product list) in widget. I will expect my page look like this Note : I could refer this […]
  • Sort products by their product id in the order they were imported [closed] (1)
    How do you sort the products in the catalog to sort in descending, of the order they were imported. The latest products imported be the first listed on the page / catalog? I guess the product id is best method to sort by! Note: I just need to place the newest products first. MORE […]
  • How to display tier prices in custom page in magento 2? (0)
    I want to display of tier prices of simple product.I checked in catalog module and find tier prices block and its template defined in catalog_product_prices.xml.tier price block and templte rendering in this handler. And I have every product object so how can I display of tier prices […]
  • Product Detail Collection – Magento 2.0.1 (0)
    In product detail page, I need to collect 10 related products and 10 up sell products details(name,image,price,description,.....) without using widget. After getting these details I can customize my page as I want. Before that I was using objectManager to collect 10 products, and get […]
  • How to render widgets in product and category description in Magento 2? (1)
    In Magento 2 we can add widgets to CMS pages and CMS blocks with a directive like this (assuming we created this custom widget with a module before): {{widget type="VendorModuleBlockWidgetCustomWidget" some_addtribute="some-value"}} When we add the same widget code in product or […]
  • How can I make a product list consisting of 10 products of a certain category? (0)
    On my homepage (magento 1.9) underneath my latest arrivals widget I would like to create another list of 10 products but instead have this list just displaying 10 products from a certain category. The category will be 'top rated' and I will just want this list to display 10 top […]
  • Overriding adminhtml of Community module (1)
    I am trying to rewrite a block for a module in the community code pool. The Module that I am trying to rewrite is TBT_Enhancedgrid. The directory structure is app/code/community/TBT └── Enhancedgrid ├── Block │  ├── Catalog │  │  […]
  • Magento 2 product list widget image on mouse over issues (0)
    I am using a LUMA based custom theme and I've added some sample product which do not belong to the magento 2 sample data. I have created a few products and added these images which are 518px X 518px. After that I have added a Product List widget to the homepage which shows these […]
  • Magento 2 product list widget image on mouse over issues (0)
    I am using a LUMA based custom theme and I've added some sample product which do not belong to the magento 2 sample data. I have created a few products and added these images which are 518px X 518px. After that I have added a Product List widget to the homepage which shows these […]
  • Creating Widget via CMS > Widget – Widget only renders on certain block references (1)
    I am digging through my XML layouts for references to widgets and have found app/design/frontend/enterprise/default/layout/widget.xml (this is the parent of my layout). Everything within were commented out but uncommenting the node didn't help. How do I ensure that the block […]
Unable to open admin panel after successful installation of magento on localhost in ubuntu 14.04
How do you change the duration on a calendar booking?

Be the first to post a comment.

Add a comment