Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
jsarnowski/cartflows-pro / checkout / templates / your-product / your-product-section.php
Size: Mime:
<?php
/**
 * Your product section html
 *
 * @package cartflows
 */

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

?>

<div class="wcf-product-option-wrap wcf-yp-skin-<?php echo self::$product_option_data['selected_skin']; ?> wcf-product-option-<?php echo self::$product_option_data['position']; ?>">
	<h3 id="your_products_heading"> <?php echo $this->product_option_title(); ?> </h3>
	<div class="wcf-qty-options">

	<?php
	if ( 'classic' === self::$product_option_data['selected_skin'] ) {

		include CARTFLOWS_PRO_CHECKOUT_DIR . 'templates/your-product/product-table-titles.php';
	}

	foreach ( $products as $p_id => $p_data ) {

		$current_product = wc_get_product( $p_data['product_id'] );

		if ( 'force-all' === $type ) {
			echo $this->force_all_product_markup( $current_product, $p_data );
		} elseif ( 'single-selection' === $type ) {
			echo $this->single_sel_product_markup( $current_product, $p_data );
		} else {
			echo $this->multiple_sel_product_markup( $current_product, $p_data );
		}
	}
	?>
	</div>
</div>