Adapter/ShopwareAdapter/RequestGenerator/Product/ProductRequestGenerator.php
private function getHighlightFlag(Product $product)
    {
        foreach ($product->getBadges() as $badge) {
            if ($badge->getType() === Badge::TYPE_HIGHLIGHT) {
                return 1;
            }
        }

        return 0;
    }
private function getHighlightFlag(Product $product)
    {
        foreach ($product->getBadges() as $badge) {
            if ($badge->getType() === Badge::TYPE_HIGHLIGHT) {
                return 1;
            }
        }

        return 0;
    }
private function getHighlightFlag ( Product $ product ) { foreach ( $ product -> getBadges ( ) as $ badge ) { if ( $ badge -> getType ( ) === Badge :: TYPE_HIGHLIGHT ) { return 1 ; } } return 0 ; }
@param Product $product

@return int
@param Product $product