</form>
			</td>
		</tr>
	<?php 
    }
    ?>
	<?php 
    //this HTML displays coupons if there are any active coupons to use
    //exit('<pre>'.print_r($wpsc_coupons, true).'</pre>');
    ?>
	<?php 
    if (wpsc_uses_coupons()) {
        ?>
		
		<?php 
        if (wpsc_coupons_error()) {
            ?>
			<tr><td><?php 
            echo TXT_WPSC_COUPONSINVALID;
            ?>
</td></tr>
		<?php 
        }
        ?>
		<tr>
			<td colspan="2"><?php 
        _e('Enter your coupon number');
        ?>
 :</td>
			<td  colspan="3" align='left'>
			<form  method='post' action="<?php 
			
			
				<form action="<?php echo get_option('shopping_cart_url'); ?>" method="post" class="adjustform">
					<input type="hidden" name="quantity" value="0"/>
					<input type="hidden" name="key" value="<?php echo wpsc_the_cart_item_key(); ?>"/>
					<input type="hidden" name="wpsc_update_quantity" value="true"/>
					<button class='remove_button' type="submit"><span><?php echo __('Remove', 'wpsc'); ?></span></button>
				</form>
			</td>
		</tr>
	<?php endwhile; ?>
	<?php //this HTML displays coupons if there are any active coupons to use ?>
<?php //exit('<pre>'.print_r($wpsc_coupons, true).'</pre>'); ?>
	<?php if(wpsc_uses_coupons()): ?>
		
		<?php if(wpsc_coupons_error()): ?>
			<tr><td><?php echo __('Coupon is not valid.', 'wpsc'); ?></td></tr>
		<?php endif; ?>
		<tr>
			<td colspan="2"><?php _e('Enter your coupon number'); ?> :</td>
			<td  colspan="3" align='left'>
			<form  method='post' action="<?php echo get_option('shopping_cart_url'); ?>">
				<input type='text' name='coupon_num' id='coupon_num' value='<?php echo $wpsc_cart->coupons_name; ?>' />
				<input type='submit' value='<?php echo __('Update', 'wpsc') ?>' />
			</form>
			</td>
		</tr>
	<?php endif; ?>	
	</table>
	<?php  //this HTML dispalys the calculate your order HTML	?>