PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.13.3
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.13.3
3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 2.8.16 All 261 releases
wpfunnels / public / modules / checkout / templates / variable-product-modal.php

variable-product-modal.php in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell 3.13.3, at public/modules/checkout/templates/variable-product-modal.php

29 lines 709 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Variable product modal
4 *
5 * @package
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit;
10 }
11
12 global $product;
13
14 ?>
15 <!-- Modal Structure -->
16 <div id="ob-modal-<?php echo esc_attr( $args['key'] ); ?>" class="ob-modal" style="display: none;">
17 <div class="ob-modal-content">
18 <span class="ob-close">&times;</span>
19 <?php
20 if ( $args['product'] && $args['product']->is_type( 'variable' ) ) {
21 $available_variations = $args['product']->get_available_variations();
22 $attributes = $args['product']->get_variation_attributes();
23 $product = $args['product'];
24 require WPFNL_DIR . 'public/modules/checkout/templates-style/variable-product.php';
25 }
26 ?>
27 </div>
28 </div>
29