similar to this question in sw-entity-many-to-many-select in a own admin module product variants without names are visible i want to display the assigned products on my storefront page, like it is discribed here (in a tab with {% sw_include '@Storefront/storefront/component/product/card/box-standard.html.twig' with {'product': product} %}
): https://docs.shopware.com/en/shopware-platform-dev-en/how-to/indepth-guide-bundle/storefront . This works, but the image and the price is not loaded, but the other informations are shown. Has anybody an idea why or what is missing?
See: Screenshot
product.cover
andproduct.prices
associations. – j_elfering$criteria->addAssociation('products')
When i change it to:$criteria->addAssociation('products.cover');
the images were loaded. But when i add$criteria->addAssociation('products.cover'); $criteria->addAssociation('products.prices');
the prices don't loaded. – sschreier