Ejemplo n.º 1
0
"><?php 
    echo I18n::t('Signup');
    ?>
</a>
        <?php 
}
?>
        </div>
        <div id="cartArea">
            <a href="<?php 
echo Url::to(['cart/index'], true);
?>
" style="float:right">
                <div class="cart_icon">
                    <b id="cartCount"><?php 
echo $cart->totalQuantity();
?>
</b>
                </div>
            </a>
            <div class="clr"></div>
        </div>
        <div id="cartNotify">
            <table><!-- Notify content by jQuery --></table>
            <a class="closeCartNotify" type="button" href="javascript:void(0)" title="<?php 
echo I18n::t('Close notify');
?>
" style="float:left;border-color:transparent;font-style:italic"><?php 
echo I18n::t('Close notify');
?>
</a>
Ejemplo n.º 2
0
echo I18n::t('Product name');
?>
</th>
            <th><?php 
echo I18n::t('Unit price');
?>
</th>
            <th><?php 
echo I18n::t('Quantity');
?>
</th>
        </tr>
    </thead>
    <tbody style="background:#fff">
    <?php 
if ($cart->totalQuantity() > 0) {
    $totalValue = I18n::currency($cart->totalValue());
    foreach ($cart->data as $item) {
        $p = $item['product'];
        $qty = $item['quantity'];
        ?>
            <tr>
                <td><?php 
        echo $p->t('name');
        ?>
</td>
                <td><?php 
        echo $p->currency('price');
        ?>
</td>
                <td><?php