HEX
Server: Apache/2
System: Linux saturn 4.18.0-477.15.1.lve.2.el8.x86_64 #1 SMP Wed Aug 2 10:43:45 UTC 2023 x86_64
User: centuryt (1072)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/centuryt/public_html/wp-content/themes/woostify/inc/customizer/sections/shop/cart-page.php
<?php
/**
 * Cart page customizer
 *
 * @package woostify
 */

if ( ! woostify_is_woocommerce_activated() ) {
	return;
}

// Default values.
$defaults = woostify_options();

// Cart page layout.
$wp_customize->add_setting(
	'woostify_setting[cart_page_layout]',
	array(
		'default'           => $defaults['cart_page_layout'],
		'sanitize_callback' => 'woostify_sanitize_choices',
		'type'              => 'option',
	)
);
$wp_customize->add_control(
	new Woostify_Radio_Image_Control(
		$wp_customize,
		'woostify_setting[cart_page_layout]',
		array(
			'label'    => __( 'Cart Page Layout', 'woostify' ),
			'section'  => 'woostify_cart_page',
			'settings' => 'woostify_setting[cart_page_layout]',
			'choices'  => apply_filters(
				'woostify_setting_cart_page_layout_choices',
				array(
					'layout-1' => WOOSTIFY_THEME_URI . 'assets/images/customizer/cart-page/layout-1.jpg',
					'layout-2' => WOOSTIFY_THEME_URI . 'assets/images/customizer/cart-page/layout-2.jpg',
				)
			),
		)
	)
);

// Sticky proceed to checkout button.
$wp_customize->add_setting(
	'woostify_setting[cart_page_sticky_proceed_button]',
	array(
		'default'           => $defaults['cart_page_sticky_proceed_button'],
		'type'              => 'option',
		'sanitize_callback' => 'woostify_sanitize_checkbox',
	)
);

$wp_customize->add_control(
	new Woostify_Switch_Control(
		$wp_customize,
		'woostify_setting[cart_page_sticky_proceed_button]',
		array(
			'label'       => __( 'Sticky Proceed To Checkout Button', 'woostify' ),
			'description' => __( 'This option only available on mobile devices', 'woostify' ),
			'settings'    => 'woostify_setting[cart_page_sticky_proceed_button]',
			'section'     => 'woostify_cart_page',
		)
	)
);