<div class="cst_new_simple">
    <label class="w1"><?php echo __('cst product', 'cst'); ?>:</label>
    <select name="CST" class="w1 <?php if(SHOW_SELECT_PRICE == 'yes'){ echo "show_amount_span"; } ?>">
        <option value=""><?php echo __('please choose'); ?></option>
        <?php
        foreach($list_products as $product_id => $tmp_product){
            ?><option value="<?php echo $tmp_product->ProductCode; ?>" <?php if(isset($cst['ProductCode']) && $cst['ProductCode'] == $tmp_product->ProductCode){ echo "selected=\"selected\""; } ?>><?php echo $tmp_product->ProductName; ?></option><?php
        }
        ?>
    </select>

    <?php
    if(SHOW_SELECT_PRICE == 'yes')
    {
        foreach($list_products as $product_id => $tmp_product){
            show_amount_span($tmp_product, 'CST');
        }
    }
    ?>
</div>