Пример #1
0
    echo $cart->shipPhone;
    ?>
</td>
                        </tr>
                        
                    </table>
                    <?php 
}
?>
              
              </div>
              
              
              <div style="width: 430px;height: 65px;padding:10px;border:1px #000 solid;margin-top:10px;">
                    <?php 
echo enum::getDeliverMethod($cart->shipType);
?>
<br />
                    <?php 
if ($cart->shipType == enum::DELIVER_AT_STORE) {
    $store = new Store($cart->deliverStore_id);
    if (!$store->exists()) {
        $store = new Store(1);
    }
    ?>
                    <?php 
    echo $store->name;
    ?>
: <?php 
    echo $store->address;
    ?>
Пример #2
0
?>
 value="<?php 
echo enum::DELIVER_AT_STORE;
?>
"><?php 
echo enum::getDeliverMethod(enum::DELIVER_AT_STORE);
?>
</option>
                    <option <?php 
echo selectIt($cart->shipType, enum::DELIVER_CUSTOMER);
?>
 value="<?php 
echo enum::DELIVER_CUSTOMER;
?>
"><?php 
echo enum::getDeliverMethod(enum::DELIVER_CUSTOMER);
?>
</option>
                </select>
        
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
               
                 <div class="deliverAtStore"  >
                     <?php 
$i = 1;
foreach ($store as $row) {
    ?>