donation_form.php 828 Bytes
Newer Older
Tech No Freaky's avatar
Tech No Freaky committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?php
/**
 * Single Product Image
 *
 * @author 		Varun Sridharan
 * @package 	WC Quick Donation/Templates
 * @version     0.1
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $donate;
?>
<form method="post">
	<table>
		<tr class="donation-block">
			<td colspan="6">
				<div class="donation">
					<p class="message"><strong>Add a donation to your order:</strong></p>
					
					<?php do_action('wc_qd_show_projects_list'); ?>
					
					<div class="input text">
Tech No Freaky's avatar
Tech No Freaky committed
24
						<label>Donation (<?php echo get_woocommerce_currency_symbol(); ?>):</label>
Tech No Freaky's avatar
Tech No Freaky committed
25
						<input type="text" name="donation_ammount" value="<?php echo $donate; ?>"/>
Tech No Freaky's avatar
Tech No Freaky committed
26 27
					</div>
					<div class="submit_btn">
Tech No Freaky's avatar
Tech No Freaky committed
28
						<input type="submit" name="donation_add" value="Add Donation"/>
Tech No Freaky's avatar
Tech No Freaky committed
29 30 31 32 33 34
					</div>
				</div>
			</td>
		</tr>
	</table>
</form>