0byt3m1n1
Path:
/
var
/
www
/
clients
/
client38
/
web37
/
web
/
wp-content
/
plugins
/
us-core
/
config
/
elements
/
[
Home
]
File: cart.php
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Configuration for shortcode: cart */ $misc = us_config( 'elements_misc' ); $design_options_params = us_config( 'elements_design_options' ); /** * @return array */ return array( 'title' => us_translate( 'Cart', 'woocommerce' ), 'icon' => 'fas fa-shopping-cart', 'place_if' => class_exists( 'woocommerce' ), 'params' => us_set_params_weight( // General section array( 'hide_empty' => array( 'type' => 'switch', 'switch_text' => us_translate( 'Hide if cart is empty', 'woocommerce' ), 'std' => FALSE, 'usb_preview' => array( 'toggle_class' => 'hide_empty', ), ), 'vstretch' => array( 'type' => 'switch', 'switch_text' => __( 'Stretch to the full available height', 'us' ), 'std' => TRUE, 'classes' => 'for_above', 'usb_preview' => array( 'toggle_class' => 'height_full', ), ), 'quantity_color_bg' => array( 'title' => __( 'Quantity Badge Background', 'us' ), 'type' => 'color', 'clear_pos' => 'right', 'std' => '_header_middle_text_hover', 'cols' => 2, 'usb_preview' => array( 'css' => 'background', ), ), 'quantity_color_text' => array( 'title' => __( 'Quantity Badge Text', 'us' ), 'type' => 'color', 'clear_pos' => 'right', 'with_gradient' => FALSE, 'std' => '_header_middle_bg', 'cols' => 2, 'usb_preview' => array( 'css' => 'color', ), ), 'dropdown_effect' => array( 'title' => __( 'Dropdown Effect', 'us' ), 'type' => 'select', 'options' => $misc['dropdown_effect_values'], 'std' => 'height', 'usb_preview' => array( 'mod' => 'dropdown', ), ), 'icon' => array( 'title' => __( 'Icon', 'us' ), 'type' => 'icon', 'std' => 'fas|shopping-cart', 'usb_preview' => TRUE, ), 'heading_1' => array( 'title' => __( 'Icon Size', 'us' ), 'type' => 'heading', ), 'size' => array( 'title' => __( 'Desktops', 'us' ), 'type' => 'text', 'std' => '26px', 'cols' => 4, 'classes' => 'for_above', 'usb_preview' => TRUE, ), 'size_laptops' => array( 'title' => __( 'Laptops', 'us' ), 'type' => 'text', 'std' => '24px', 'cols' => 4, 'classes' => 'for_above', 'usb_preview' => TRUE, ), 'size_tablets' => array( 'title' => __( 'Tablets', 'us' ), 'type' => 'text', 'std' => '22px', 'cols' => 4, 'classes' => 'for_above', 'usb_preview' => TRUE, ), 'size_mobiles' => array( 'title' => __( 'Mobiles', 'us' ), 'type' => 'text', 'std' => '20px', 'cols' => 4, 'classes' => 'for_above', 'usb_preview' => TRUE, ), ), $design_options_params ), );