# How to get products with images and price in custom page?

**URL:** <https://forum.shopware.com/t/how-to-get-products-with-images-and-price-in-custom-page/86564>\
**Category:** Shopware 6 (English)\
**Tags:** general, programming\
**Created:** [30. März 2021 um 07:18 UTC](https://forum.shopware.com/t/how-to-get-products-with-images-and-price-in-custom-page/86564 "2021-03-30T07:18:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![magesture](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/magesture/32/12967_2.png) [@magesture](https://forum.shopware.com/u/magesture)\
**Post date:** [30. März 2021 um 07:18 UTC](https://forum.shopware.com/t/how-to-get-products-with-images-and-price-in-custom-page/86564/1 "2021-03-30T07:18:52Z")

</div>

Hello,  
I’m starting with developing Shopware modules and probably I don’t understand everything yet, and because of that, I’ve stuck. Maybe someone will be able to help me.

I’m trying to get products on custom page by using below code.but product display without image and price…

 ![Screenshot_2021-03-30 mageshop](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/d/d46c82fe294f3c5018bbc9069816f9c7a425444d.png)

{% for product in page.product.elements%}  
{% if product.extensions[‚news‘].elements|length \> 0 %}  
{% set newsproducts = product.extensions[‚news‘].elements %}  
{% for newsproduct in newsproducts%}  
{% if newsproduct.id == newscategoryId %}

  
{% sw\_include ‚@Storefront/storefront/component/product/card/box-standard.html.twig‘ with {‚product‘: product} %}  

  
{% endif %}  
{%endfor%}  
{% endif %}  
{%endfor%}
