示例#1
0
                	<?php 
    if ($product['is_specials'] === TRUE) {
        ?>
                		<s><?php 
        echo currencies_display_price($product['product_price'], $product['tax_class_id']);
        ?>
</s>
                		<font class="special"><?php 
        echo currencies_display_price($product['specials_price'], $product['tax_class_id']);
        ?>
</font>
                	<?php 
    } else {
        ?>
                    <?php 
        echo currencies_display_price($product['product_price'], $product['tax_class_id']);
        ?>
                	<?php 
    }
    ?>
               	</span>
                <span class="buttons">
                    <a class="btn btn-small btn-info" href="<?php 
    echo site_url('cart_add/' . $product['products_id']);
    ?>
">
                    	<i class="icon-shopping-cart icon-white "></i> 
                    	<?php 
    echo lang('button_buy_now');
    ?>
                    </a><br />
示例#2
0
        ?>
                    </div>
                    <div class="right">
                        <span class="price">
                        	<?php 
        if ($product->is_specials()) {
            ?>
                        		<s><?php 
            echo currencies_display_price($product->get_specials_price());
            ?>
</s>
                        	<?php 
        }
        ?>
                            <?php 
        echo currencies_display_price($product->get_price(), $product->get_tax_class_id());
        ?>
</span>
                        <span class="buttons">
                            <a class="btn btn-small btn-info" href="<?php 
        echo site_url('cart_add/' . $product->get_id());
        ?>
">
                            	<i class="icon-shopping-cart icon-white "></i> 
                            	<?php 
        echo lang('button_buy_now');
        ?>
                            </a><br />
                            <a class="wishlist" href="<?php 
        echo site_url('wishlist/add/' . $product->get_id());
        ?>
示例#3
0
 /**
  * Get formated product price with currency symbol
  *
  * @access public
  * @param $with_special
  * @return string
  */
 public function get_price_formated($with_special = false)
 {
     return currencies_display_price($this->get_price(), $this->get_tax_class_id());
 }
                        <?php 
                if (count($quotes) > 1 || sizeof($quote['methods']) > 1) {
                    ?>
                            <td><?php 
                    echo currencies_display_price($methods['cost'], $quote['tax_class_id']);
                    ?>
</td>
                            <td align="right"><?php 
                    echo form_radio('shipping_mod_sel', $quote['id'] . '-' . $methods['id'], $quote['id'] . '-' . $methods['id'] == $selected_shipping_method_id ? TRUE : FALSE);
                    ?>
</td>
                        <?php 
                } else {
                    ?>
                			<td align="right" colspan="2"><?php 
                    echo currencies_display_price($methods['cost'], $quote['tax_class_id']) . '<input type="hidden" name="shipping_mod_sel" value="' . $quote['id'] . '-' . $methods['id'] . '">';
                    ?>
</td>
                        <?php 
                }
                ?>
							<td width="10">&nbsp;</td>
                		</tr>
                    <?php 
                $radio_buttons++;
            }
        }
        ?>
                	</table>
                </td>
            </tr>
    }
    ?>
                            	</td>
                            <?php 
    if ($number_of_tax_groups > 1) {
        ?>
								<td valign="top" align="right">
									<?php 
        $shopping_cart = get_shopping_cart();
        echo display_tax_rate_value(get_tax_rate($product['tax_class_id'], $shopping_cart->get_taxing_address('country_id'), $shopping_cart->get_taxing_address('zone_id')));
        ?>
                            <?php 
    }
    ?>
                            	<td align="right" valign="top"><?php 
    echo currencies_display_price($product['final_price'], $product['tax_class_id'], $product['quantity']);
    ?>
</td>
                            </tr>
                            <?php 
}
?>
                        </table>
            
                        <table width="100%" cellspacing="0" cellpadding="2">
                        <?php 
foreach ($order_totals as $module) {
    ?>
							<tr>
                            	<td align="right"><?php 
    echo $module['title'];