Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

product

// WP_Query arguments
$args = array(
	'nopaging'               => false,
	'posts_per_page'         => '12',
	'order'                  => 'DESC',
	'orderby'                => 'date',
	'meta_query'             => array(
		'relation' => 'AND',
		array(
			'key'     => 'ciw_post_metaitem_type',
			'value'   => '$get_ciw_post_metaitem_type',
			'compare' => '=',
			'type'    => 'CHAR',
		),
		array(
			'key'     => 'ciw_post_metaitem_payment',
			'value'   => '$get_ciw_post_metaitem_payment',
			'compare' => '=',
			'type'    => 'CHAR',
		),
		array(
			'key'     => 'ciw_post_metaitem_price',
			'value'   => '$get_ciw_post_metaitem_price',
			'compare' => '>=',
			'type'    => 'NUMERIC',
		),
	),
);

// The Query
$product = new WP_Query( $args );

// The Loop
if ( $product->have_posts() ) {
	while ( $product->have_posts() ) {
		$product->the_post();
		// do something
	}
} else {
	// no posts found
}

// Restore original Post Data
wp_reset_postdata();