Files
grzanieplus.pl/plugins/stAllegroPlugin/modules/stAllegroBackend/templates/_primary_image.php
2025-03-12 17:06:23 +01:00

7 lines
272 B
PHP

<?php
/**
* @var AllegroApiOffer $allegro_api_offer
*/
echo content_tag('span', image_tag($allegro_api_offer->getPrimaryImage() ? $allegro_api_offer->getPrimaryImage() : st_asset_get_blank_path(), array('style' => 'max-width: 32px')), array(
'class' => 'd-flex',
));