<div class="mb-3">
    <label class="form-label">
        <?php echo $this->translate('Distributor');?></label>
        <select name="categories[]" class="form-select">
            <?php foreach($Categories as $Category) { ?>
            <option value="<?php echo $Category['id'];?>" <?php if(isset($SelectCategories) && in_array($Category['id'], $SelectCategories)) echo ' selected=""' ;?>
                <?php echo 'data-text="'.$Category['name'].'"';?>>
                <?php echo $Category['name'];?>
            </option>
            <?php } ?>
        </select>
</div>