[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
themes
/
astra
/
inc
/
compatibility
/
woocommerce
/
customizer
/
sections
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 layout
SET
[ DEL ]
📄 class-astra-woo-shop-container-configs.php
3,198 B
SET
[ EDIT ]
|
[ DEL ]
📄 class-astra-woo-shop-sidebar-configs.php
3,787 B
SET
[ EDIT ]
|
[ DEL ]
📄 class-astra-woo-store-notice-configs.php
3,636 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: class-astra-woo-store-notice-configs.php
<?php /** * Store Notice options for Astra Theme. * * @package Astra * @link https://wpastra.com/ * @since Astra 3.9.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Customizer WooCommerece store notice - customizer config initial setup. */ class Astra_Woo_Store_Notice_Configs extends Astra_Customizer_Config_Base { /** * Register Astra-WooCommerce Shop Cart Layout Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 3.9.0 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Transparent Header Builder - HTML Elements configs. */ array( 'name' => ASTRA_THEME_SETTINGS . '[woo-store-notice-colors-group]', 'default' => astra_get_option( 'woo-store-notice-colors-group' ), 'type' => 'control', 'control' => 'ast-color-group', 'title' => __( 'Color', 'astra' ), 'section' => 'woocommerce_store_notice', 'transport' => 'postMessage', 'priority' => 50, 'context' => array( array( 'setting' => 'woocommerce_demo_store', 'operator' => '==', 'value' => true, ), ), 'divider' => array( 'ast_class' => 'ast-top-divider ast-bottom-divider' ), ), // Option: Text Color. array( 'name' => 'store-notice-text-color', 'default' => astra_get_option( 'store-notice-text-color' ), 'parent' => ASTRA_THEME_SETTINGS . '[woo-store-notice-colors-group]', 'type' => 'sub-control', 'control' => 'ast-color', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_alpha_color' ), 'section' => 'woocommerce_store_notice', 'transport' => 'postMessage', 'priority' => 1, 'title' => __( 'Text', 'astra' ), ), // Option: Background Color. array( 'name' => 'store-notice-background-color', 'default' => astra_get_option( 'store-notice-background-color' ), 'parent' => ASTRA_THEME_SETTINGS . '[woo-store-notice-colors-group]', 'type' => 'sub-control', 'control' => 'ast-color', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_alpha_color' ), 'section' => 'woocommerce_store_notice', 'transport' => 'postMessage', 'priority' => 2, 'title' => __( 'Background', 'astra' ), ), /** * Option: Notice Position */ array( 'name' => ASTRA_THEME_SETTINGS . '[store-notice-position]', 'default' => astra_get_option( 'store-notice-position' ), 'type' => 'control', 'control' => 'ast-selector', 'section' => 'woocommerce_store_notice', 'transport' => 'postMessage', 'priority' => 60, 'title' => __( 'Notice Position', 'astra' ), 'choices' => array( 'hang-over-top' => __( 'Hang Over Top', 'astra' ), 'top' => __( 'Top', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), ), 'context' => array( array( 'setting' => 'woocommerce_demo_store', 'operator' => '==', 'value' => true, ), ), 'renderAs' => 'text', 'responsive' => false, ), ); return array_merge( $configurations, $_configs ); } } new Astra_Woo_Store_Notice_Configs();