includes/extensions/Woo_Builder/templates
cart.php
971 B
2 weeks ago
checkout.php
1008 B
2 weeks ago
my_account.php
1018 B
2 weeks ago
product_archive.php
1.0 KB
2 weeks ago
single_product.php
1.3 KB
2 weeks ago
checkout.php in King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder 51.1.79, at includes/extensions/Woo_Builder/templates/checkout.php
| 1 | <?php |
| 2 | /** |
| 3 | * Woo Builder wrapper for Checkout. |
| 4 | * |
| 5 | * @package King_Addons |
| 6 | */ |
| 7 | |
| 8 | if (!defined('ABSPATH')) { |
| 9 | exit; |
| 10 | } |
| 11 | |
| 12 | $template_id = apply_filters('king_addons/woo_builder/current_template_id', 0, 'checkout'); |
| 13 | |
| 14 | if (!$template_id) { |
| 15 | wc_get_template('checkout/form-checkout.php'); |
| 16 | return; |
| 17 | } |
| 18 | |
| 19 | wp_enqueue_style(KING_ADDONS_ASSETS_UNIQUE_KEY . '-woo-builder-style'); |
| 20 | wp_enqueue_script(KING_ADDONS_ASSETS_UNIQUE_KEY . '-woo-builder-script'); |
| 21 | |
| 22 | get_header(); |
| 23 | |
| 24 | do_action('woocommerce_before_main_content'); |
| 25 | |
| 26 | do_action('king_addons/woo_builder/before_render', 'checkout', $template_id); |
| 27 | echo '<div class="king-addons-woo-builder king-addons-woo-builder--checkout" data-ka-context="checkout">'; |
| 28 | echo \Elementor\Plugin::$instance->frontend->get_builder_content_for_display($template_id); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 29 | echo '</div>'; |
| 30 | do_action('king_addons/woo_builder/after_render', 'checkout', $template_id); |
| 31 | |
| 32 | do_action('woocommerce_after_main_content'); |
| 33 | |
| 34 | get_footer(); |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 |