start_controls_section( 'abcbiz_elementor_wc_product_cart_page_notice_style', [ 'label' => esc_html__( 'Notice Style', 'abcbiz-addons' ), 'tab' => Controls_Manager::TAB_CONTENT, ] ); //Border Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_notice_border_color', [ 'label' => esc_html__( 'Border Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#6f45ed', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce-message' => 'border-color: {{VALUE}}', '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce-message::before' => 'color: {{VALUE}}', ], ] ); //Background Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_notice_bg_color', [ 'label' => esc_html__( 'Background Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#f6f5f8', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce-message' => 'background-color: {{VALUE}}', ], ] ); //Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_notice_text_color', [ 'label' => esc_html__( 'Text Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#333333', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce-message' => 'color: {{VALUE}}', ], ] ); //typoghraphy $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'abcbiz_elementor_wc_product_cart_page_notice_text_typography', 'label' => esc_html__( 'Typography', 'abcbiz-addons' ), 'selector' => '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce-message', ] ); $this->end_controls_section(); //Cart Total $this->start_controls_section( 'abcbiz_elementor_wc_product_cart_page_cart_total_style', [ 'label' => esc_html__( 'Cart Total Style', 'abcbiz-addons' ), 'tab' => Controls_Manager::TAB_CONTENT, ] ); //title typoghraphy $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'abcbiz_elementor_wc_product_cart_page_cart_total_typography', 'label' => esc_html__( 'Title Typography', 'abcbiz-addons' ), 'selector' => '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce .cart-collaterals .cart_totals h2', ] ); //Title Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_cart_total_color', [ 'label' => esc_html__( 'Title Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#333333', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce .cart-collaterals .cart_totals h2' => 'color: {{VALUE}}', ], ] ); //Button Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_total_btn_color', [ 'label' => esc_html__( 'Button Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#ffffff', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce a.button.alt' => 'color: {{VALUE}}', ], ] ); //Button BG Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_total_btn_bg_color', [ 'label' => esc_html__( 'Button BG Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#6f45ed', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce a.button.alt' => 'background-color: {{VALUE}}', ], ] ); //Button Hover Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_total_btn_hov_color', [ 'label' => esc_html__( 'Button Hover Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#ffffff', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce a.button.alt:hover' => 'color: {{VALUE}}', ], ] ); //Button BG Hover Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_total_btn_bg_hov_color', [ 'label' => esc_html__( 'Button BG Hover Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#2d4de5', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce a.button.alt:hover' => 'background-color: {{VALUE}}', ], ] ); //button typoghraphy $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'abcbiz_elementor_wc_product_cart_page_total_btn_typography', 'label' => esc_html__( 'Button Typography', 'abcbiz-addons' ), 'selector' => '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce a.button.alt', ] ); //border radius $this->add_control( 'abcbiz_elementor_wc_product_cart_page_total_btn_border_radius', [ 'label' => esc_html__( 'Border Radius', 'abcbiz-addons' ), 'type' => \Elementor\Controls_Manager::DIMENSIONS, 'size_units' => [ 'px'], 'default' => [ 'top' => 10, 'right' => 10, 'bottom' => 10, 'left' => 10, 'unit' => 'px', 'isLinked' => true, ], 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce a.button.alt' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->end_controls_section(); //Table Form Style $this->start_controls_section( 'abcbiz_elementor_wc_product_cart_page_form_style', [ 'label' => esc_html__( 'Table Form Style', 'abcbiz-addons' ), 'tab' => Controls_Manager::TAB_CONTENT, ] ); //Header Bg $this->add_control( 'abcbiz_elementor_wc_product_cart_page_form_header_bg_color', [ 'label' => esc_html__( 'Header BG Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#6f45ed', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce-cart-form thead' => 'background-color: {{VALUE}}', '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce-cart-form thead th' => 'background-color: {{VALUE}}', ], ] ); //Header Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_form_header_color', [ 'label' => esc_html__( 'Header Text Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#ffffff', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce-cart-form thead' => 'color: {{VALUE}}', ], ] ); //border Color $this->add_control( 'abcbiz_elementor_wc_product_cart_page_form_border_color', [ 'label' => esc_html__( 'Table Border Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => 'rgba(0,0,0,0.08)', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce table.shop_table, {{WRAPPER}} .abcbiz-elementor-wc-cart-page .woocommerce table.shop_table td' => 'border-color: {{VALUE}}', ], ] ); $this->end_controls_section(); } /** * Render the widget output on the frontend. */ protected function render() { include 'renderview.php'; } }