rtsb_name = esc_html__( 'Cart Table', 'shopbuilder' ); $this->rtsb_base = 'rtsb-product-carttable'; parent::__construct( $data, $args ); } /** * Widget Field * * @return array */ public function widget_fields() { return CartTableSettings::widget_fields( $this ); } /** * Set Widget Keyword. * * @return array */ public function get_keywords() { return [ 'Cart' ] + parent::get_keywords(); } /** * Set Widget Keyword. * * @return array */ public function cart_empty_message() { $controllers = $this->get_settings_for_display(); return $controllers['cart_empty_message']; } /** * Set Widget Keyword. * * @return array */ public function return_to_shop_text() { $controllers = $this->get_settings_for_display(); return $controllers['return_to_shop_text']; } /** * Set Widget Keyword. * * @return array */ public function before_quantity_input_field() { global $product; $is_visible_qty = Fns::is_visible_qty_input( $product ); $controllers = $this->get_settings_for_display(); $inner_border = ! empty( $controllers['show_inner_border'] ) ? 'show-inner-border' : ''; ?>