summaryrefslogtreecommitdiff
blob: 740cbd74917841da85b8ca30b6e68d93432f30ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class='jetpack-simple-payments-wrapper'>
	<div class='jetpack-simple-payments-product'>
		<div class='jetpack-simple-payments-product-image' <?php if ( empty( $instance['form_product_image_id'] ) ) echo 'style="display:none;"'; ?>>
			<div class='jetpack-simple-payments-image'>
				<?php echo wp_get_attachment_image( $instance['form_product_image_id'], 'full' ) ?>
			</div>
		</div>
		<div class='jetpack-simple-payments-details'>
			<div class='jetpack-simple-payments-title'><p><?php esc_attr_e( $instance['form_product_title'] ); ?></p></div>
			<div class='jetpack-simple-payments-description'><p><?php  esc_html_e( $instance['form_product_description'] ); ?></p></div>
			<div class='jetpack-simple-payments-price'><p><?php esc_attr_e( $instance['form_product_price'] ); ?> <?php esc_attr_e( $instance['form_product_currency'] ); ?></p></div>
			<div class='jetpack-simple-payments-purchase-box'>
				<?php if ( $instance['form_product_multiple'] ) { ?>
					<div class='jetpack-simple-payments-items'>
						<input
							type='number'
							class='jetpack-simple-payments-items-number'
							value='1'
							min='1' />
					</div>
				<?php } ?>
			</div>
		</div>
	</div>
</div>