コード例 #1
0
                        }
                        ?>
"
                                            data-templateprice ="<?php 
                        echo \Currency\Currency::create()->getCurrencyToFormat(\Currency\Currency::create()->getMainCurrency()->getId(), $pv->toCurrency('Price', null, true));
                        ?>
"
                                            data-templatepriceadd ="<?php 
                        if ($NextCS) {
                            echo \Currency\Currency::create()->getCurrencyToFormat($NextCSId, $pv->toCurrency('Price', $NextCSId, true));
                        }
                        ?>
"
                                            data-templatepricedisc ="<?php 
                        if ($hasDiscounts) {
                            echo \Currency\Currency::create()->getCurrencyToFormat(\Currency\Currency::create()->getMainCurrency()->getId(), $pv->toCurrency('OrigPrice', null, true));
                        }
                        ?>
"
                                            data-medium-image="
                                            <?php 
                        if (preg_match('/nophoto/', $pv->getMediumPhoto()) > 0) {
                            ?>
                                                <?php 
                            echo $p->firstVariant->getMediumPhoto();
                            ?>
                                            <?php 
                        } else {
                            ?>
                                                <?php 
                            echo $pv->getMediumPhoto();
コード例 #2
0
                                            <span class="current-prices f-s_0">
                                                <span class="price-new">
                                                    <span>
<?php 
            echo \Currency\Currency::create()->getCurrencyToFormat(\Currency\Currency::create()->getMainCurrency()->getId(), $kitProducts->getTotalPrice(), 'span', 'curr', '', 'span', 'price', '');
            ?>

                                                    </span>
                                                </span>
                                                <?php 
            if ($NextCSIdCond) {
                ?>
                                                <span class="price-add">
                                                    <span>
(<?php 
                echo \Currency\Currency::create()->getCurrencyToFormat($NextCSId, $kitProducts->getTotalPrice($NextCSId), 'span', 'curr-add', '', 'span', 'price ', '');
                ?>
)

                                                    </span>
                                                </span>
                                                <?php 
            }
            ?>
                                            </span>
                                        </div>
                                        <form method="POST" action="/shop/cart/addKit/<?php 
            echo $kitProducts->getId();
            ?>
">
                                            <div class="btn-buy-p btn-cart<?php 
コード例 #3
0
                        <span class="helper"></span>
                        <img src="<?php 
if (isset($THEME)) {
    echo $THEME;
}
?>
images/select-picture.png" class="img-polaroid ">
                    </div>


                </div>
            </div>
        </td>
        <td class="number">
            <input type="text" id="price-product"  name="variants[PriceInMain][]" value="<?php 
echo \Currency\Currency::create()->decimalPointsFormat(0);
?>
"/>
        </td>
        <?php 
if (count($currencies) > 0) {
    ?>
        <td>
            <select name="variants[currency][]">
                <?php 
    if (is_true_array($currencies)) {
        foreach ($currencies as $c) {
            ?>
                <option value="<?php 
            echo $c->getId();
            ?>