endif;  
			?>
		</table>
	<?php endif;  ?>
	
	<table class="productcart">
	<tr class="total_price total_tax">
		<td colspan="3">
			<?php echo wpsc_display_tax_label(true); ?>

		</td>
		<td colspan="2">
			<span id="checkout_tax" class="pricedisplay checkout-tax"><?php echo wpsc_cart_tax(); ?></span>
		</td>
	</tr>
	  <?php if(wpsc_uses_coupons() && (wpsc_coupon_amount(false) > 0)): ?>
	<tr class="total_price">
		<td colspan="3">
			<?php echo __('Discount', 'wpsc'); ?>
		</td>
		<td colspan="2">
			<span id="coupons_amount" class="pricedisplay"><?php echo wpsc_coupon_amount(); ?></span>
	    </td>
   	</tr>
	  <?php endif ?>

		
	
	<tr class='total_price'>
		<td colspan='3'>
		<?php echo __('Total Price', 'wpsc'); ?>
示例#2
0
	<table class="productcart">
	<tr class="total_price total_tax">
		<td colspan="3">
			<?php 
    echo TXT_WPSC_TAX;
    ?>
		</td>
		<td colspan="2">
			<span id="checkout_tax" class="pricedisplay checkout-tax"><?php 
    echo wpsc_cart_tax();
    ?>
</span>
		</td>
	</tr>
	  <?php 
    if (wpsc_uses_coupons() && wpsc_coupon_amount(false) > 0) {
        ?>
	<tr class="total_price">
		<td colspan="3">
			<?php 
        echo TXT_WPSC_COUPONS;
        ?>
		</td>
		<td colspan="2">
			<span id="coupons_amount" class="pricedisplay"><?php 
        echo wpsc_coupon_amount();
        ?>
</span>
	    </td>
   	</tr>
	  <?php 
示例#3
0
				<span class="wpsc-tax-included"><?php 
        echo _x('(included)', 'tax is included in product prices', 'wpsc');
        ?>
</span>
<?php 
    } else {
        echo esc_html(wpsc_format_currency($this->get_tax()));
    }
    ?>
			</td>
		</tr>
<?php 
}
?>
	<?php 
if (wpsc_uses_coupons() && $this->get_total_discount() > 0) {
    ?>
	<tr class="wpsc-cart-aggregate wpsc-cart-discount-row">
			<th scope="row" colspan="<?php 
    echo count($this->columns) - 1;
    ?>
">
				<?php 
    esc_html_e('Discount:', 'wpsc');
    ?>
<br />
			</th>
			<td>
				<?php 
    echo wpsc_format_currency($this->get_total_discount());
    ?>