<?php if( $has_warehouse ): ?>
	<div id="pickup-address" class="wpcsr-section">
		<?php
			$method 	= get_post_meta( $post->ID, 'pickup_method', true );
			$name 		= get_post_meta( $post->ID, 'pickup_address_name', true );
			$phone 		= get_post_meta( $post->ID, 'pickup_phone', true );
			$address1 	= get_post_meta( $post->ID, 'pickup_address1', true );
			$address2 	= get_post_meta( $post->ID, 'pickup_address2', true );
			$city 		= get_post_meta( $post->ID, 'pickup_city', true );
			$postcode 	= get_post_meta( $post->ID, 'pickup_postcode', true );
			$country 	= get_post_meta( $post->ID, 'pickup_country', true );
			$state 		= get_post_meta( $post->ID, 'pickup_state', true );
		?>
		<?php if( !empty( $method ) ): ?>
			<h3 style="margin-bottom:0;"><?php echo wpcsr_delivery_method_label(); ?>: <?php echo $method; ?></h3>
			<p><?php echo $name; ?></p>
			<p><?php echo $phone; ?></p>
			<table class="wpcargo form-table" style="width: initial;" >
				<tr>
					<td><strong><?php echo wpcsr_address1_label(); ?></strong></td>
					<td><?php echo $address1; ?></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_address2_label(); ?></strong></td>
					<td><?php echo $address2; ?></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_city_label(); ?></strong></td>
					<td><?php echo $city; ?></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_postcode_zip_label(); ?></strong></td>
					<td><?php echo $postcode; ?></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_country_label(); ?></strong></td>
					<td><?php echo $country; ?></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_state_county_label(); ?></strong></td>
					<td><?php echo $state; ?></td>
				</tr>
			</table>=
		<?php else: ?>
			<table class="wpcargo form-table" style="width: initial;" >
				<tr>
					<td><strong><?php echo wpcsr_delivery_method_label(); ?></strong></td>
					<td>
						<input type="radio" name="pickup_method" value="<?php echo wpcsr_dropoff_label(); ?>" checked="checked"/>
						<?php echo wpcsr_dropoff_label(); ?>
						<br/>
						<input type="radio" name="pickup_method" value="<?php echo wpcsr_pickup_label(); ?>"/>
						<?php echo wpcsr_pickup_label(); ?>
					</td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_address1_label(); ?></strong></td>
					<td><input id="pickup_address1" type="text" name="pickup_address1" value="" required="required" autocomplete="off" ></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_address2_label(); ?></strong></td>
					<td><input id="pickup_address2" type="text" name="pickup_address2" value="" autocomplete="off"></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_city_label(); ?></strong></td>
					<td><input id="pickup_city" type="text" name="pickup_city" value="" autocomplete="off"></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_postcode_zip_label(); ?></strong></td>
					<td><input id="pickup_postcode" type="text" name="pickup_postcode" value="" required="required" autocomplete="off" ></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_country_label(); ?></strong></td>
					<td><input id="pickup_country" type="text" name="pickup_country" value="" required="required" autocomplete="off" ></td>
				</tr>
				<tr>
					<td><strong><?php echo wpcsr_state_county_label(); ?></strong></td>
					<td><input id="pickup_state" type="text" name="pickup_state" value="" autocomplete="off" ></td>
				</tr>
			</table>
		<?php endif; ?>
	</div>
	<?php do_action( 'wpcsr_after_pickup_address_meta' ); ?>
<?php endif; ?>