'', 'url_product' => '', 'title_product' => '', 'price_product' => '', 'add_cart_title' => '', ); $config = array_merge($default, $param); $image_product = $config['image_product']; $url_product = $config['url_product']; $title_product = $config['title_product']; $price_product = $config['price_product']; $add_cart_title = $config['add_cart_title']; switch ($woo_con_pro_slider) { case 1: $output= '
'.$image_product.'

'.$title_product.'

'.$price_product.'

'.$title_product.'

'.$price_product.'
'; break; case 2: $product_class_before = '
'; $image_class = 'product-img'; break; default: $product_class_before = 'product-plr-3'; $image_class = 'product-img'; break; } return $output; } } if ( ! function_exists( 'becommerce_store_generate_defaults' ) ) { /** * Set default options */ function becommerce_store_generate_defaults($key) { $array_defaults = apply_filters( 'becommerce_store_array_defaults', array( 'top_header_offer' => esc_html__( 'Free Shipping world wide for all orders over $199', 'becommerce-store' ), 'social_newtab' => 0, 'social_urls' => '', 'social_url_icons' => '', 'top_header_social_show' => 1, 'top_header_menu_show' => 1, 'top_header_offer_show' => 1, 'logo_text_show' => 1, 'becommerce_store_cta_show' => 1, 'cta_filter_data' => 'cta_offer', 'cta_offer_text' => esc_html__( '50% OFF Shoes', 'becommerce-store' ), 'cta_offer_url' => '#', 'cta_phone_icon' => 'bi bi-telephone-forward', 'cta_phone_text' => esc_html__( 'Hotline 24/7', 'becommerce-store' ), 'cta_banner_url' => '#', 'menu_cat_big_show' => 0, 'menu_cat_search_show' => 0, 'menu_cat_big_text' => esc_html__( 'All Categories', 'becommerce-store' ), 'menu_category_big_text_button_color' => '#ffffff', 'menu_category_big_button_color' => '#6f50a7', 'service_frontpage_show' => 1, 'service_list_title_1' => esc_html__( 'Free Shipping', 'becommerce-store' ), 'service_list_title_2' => esc_html__( 'Free Returns', 'becommerce-store' ), 'service_list_title_3' => esc_html__( '100% Secure', 'becommerce-store' ), 'service_list_title_4' => esc_html__( 'Best Price', 'becommerce-store' ), 'service_list_subtitle_1' => esc_html__( 'Orders over $100', 'becommerce-store' ), 'service_list_subtitle_2' => esc_html__( 'Within 30 days', 'becommerce-store' ), 'service_list_subtitle_3' => esc_html__( 'Payment Online', 'becommerce-store' ), 'service_list_subtitle_4' => esc_html__( 'Guaranteed', 'becommerce-store' ), 'service_list_icon_1' =>'bi bi-cursor', 'service_list_icon_2' =>'bi bi-arrow-clockwise', 'service_list_icon_3' =>'bi bi-shield-lock', 'service_list_icon_4' =>'bi bi-currency-dollar', 'slider_frontpage_show'=>1, 'repeater_slider_frontpage' => json_encode( array( array("title" => esc_html__( "Mega Sale - Enjoy Up To 50% OFF", "becommerce-store" ), "subtitle" => esc_html__( "Up To 50% OFF", "becommerce-store" ), "image_url" => get_template_directory_uri().'/assets/img/default-cta-img.png', "text"=>esc_html__( "Basic Solid Color Sneaker", "becommerce-store" ), "link" => "#", "button_text"=>esc_html__( "Shop Now", "becommerce-store" )), array("title" => esc_html__( "Sale - Enjoy Up To 30% OFF", "becommerce-store" ), "subtitle" => esc_html__( "Up To 30% OFF", "becommerce-store" ), "image_url" => get_template_directory_uri().'/assets/img/default-cta-img.png', "text"=>esc_html__( "Basic Solid Color Sneaker", "becommerce-store" ), "link" => "#", "button_text"=>esc_html__( "Get Now", "becommerce-store" )), )), 'cta_frontpage_show' => 1, 'cta_title_1' => esc_html__( 'Best Offer', 'becommerce-store' ), 'cta_subtitle_1' => esc_html__( 'Start $2.99 Solid Color Sneaker', 'becommerce-store' ), 'cta_button_text_1' => esc_html__( 'Shop Now', 'becommerce-store' ), 'cta_button_url_1' => '#', 'cta_cropped_image_1' => get_template_directory_uri().'/assets/img/default-cta-img.png', 'cta_title_2' => esc_html__( 'Trending Handbags', 'becommerce-store' ), 'cta_subtitle_2' => esc_html__( 'Up To 40% OFF Select Styles', 'becommerce-store' ), 'cta_button_text_2' => esc_html__( 'Get Now', 'becommerce-store' ), 'cta_button_url_2' => '#', 'cta_cropped_image_2' => get_template_directory_uri().'/assets/img/default-cta-img.png', 'cta_title_3' => esc_html__( 'Swim & Style', 'becommerce-store' ), 'cta_subtitle_3' => esc_html__( '$15 OFF $75+', 'becommerce-store' ), 'cta_button_text_3' => esc_html__( 'Check Out', 'becommerce-store' ), 'cta_button_url_3' => '#', 'cta_cropped_image_3' => get_template_directory_uri().'/assets/img/default-cta-img.png', 'bestseller_frontpage_show' => 0, 'set_best_seller_title' => esc_html__( 'Best Seller', 'becommerce-store' ), 'bestseller_by_categories' => esc_html__( '', 'becommerce-store' ), 'banner_bestseller_frontpage_show' => 0, 'cta_banner_title_bestseller' => esc_html__( 'Simple Backpacker', 'becommerce-store' ), 'cta_banner_subtitle_bestseller' => esc_html__( 'New Arrival', 'becommerce-store' ), 'cta_banner_text_bestseller' => esc_html__( 'Ready for your trip', 'becommerce-store' ), 'cta_banner_text_color_bestseller' => '#ffffff', 'cta_upload_banner_bestseller' => get_template_directory_uri().'/assets/img/banner-30.webp', 'cta_banner_url_bestseller' => '#', 'cta_banner_button_label_bestseller' => esc_html__( 'Shop Now', 'becommerce-store' ), 'cta_banner_button_color_bestseller' => '#ffffff', 'cta_banner_button_text_color_bestseller' => '#e44311', 'recent_frontpage_show' => 0, 'set_recent_frontpage_title' => esc_html__( 'Recent Product', 'becommerce-store' ), 'set_recent_frontpage_url' => '#', 'sec_latest_news_frontpage_show' => 1, 'set_latest_news_frontpage_title' => esc_html__( 'The Latest News', 'becommerce-store' ), 'set_latest_news_frontpage_url' => '#', 'contact_address' => esc_html__( '09 Design Street, Downtown Victoria, Australia', 'becommerce-store' ), 'contact_phone' => esc_html__( '+123 45 56 879', 'becommerce-store' ), 'contact_email' => esc_html__( 'hello@example.com', 'becommerce-store' ), 'contact_about' => esc_html__( '', 'becommerce-store' ), 'contact_site' => esc_html__( '', 'becommerce-store' ), 'entry_u' => range(0, 15), 'footer_site_info' => esc_html__( ' News & Blogs WordPress Theme %year% ', 'becommerce-store' ), 'theme_brand' => esc_html__( 'BeCommerce Store ', 'becommerce-store' ), 'theme_path' => '/themewp/becommerce-store', 'theme_path_a' => 'online-coupons', 'theme_author' => esc_html__( 'Couponvario', 'becommerce-store' ), 'theme_made' => esc_html__( 'Made by', 'becommerce-store' ), 'theme_powered' => esc_html__( 'Powered by', 'becommerce-store' ), 'separator' => esc_html__( ' | ', 'becommerce-store' ), 'spartor' => esc_html__( '/', 'becommerce-store' ), 'a_target' => 'target="_blank"', 'itemtype' => esc_html__( 'WebPage', 'becommerce-store' ), 'related-posts' => 1, 'related_posts_title' => esc_html__( 'Related Post', 'becommerce-store' ), )); return $array_defaults[$key]; } }