Server IP : 104.21.14.103 / Your IP : 3.142.252.191 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/sieuthiweb.com.vn/wp-content/themes/flatsome/inc/admin/options/shop/ |
Upload File : |
<?php Flatsome_Option::add_section( 'catalog-mode', array( 'title' => __( 'Catalog Mode', 'flatsome-admin' ), 'panel' => 'woocommerce', 'description' => __( 'Enable Catalog Mode', 'flatsome-admin' ), ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'catalog_mode', 'label' => __( 'Enable Catalogue Mode.', 'flatsome-admin' ), 'section' => 'catalog-mode', 'default' => 0, )); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'catalog_mode_prices', 'label' => __( 'Disable Prices', 'flatsome-admin' ), 'description' => 'Select to disable prices on category pages and product page.', 'section' => 'catalog-mode', 'default' => 0, )); Flatsome_Option::add_field( 'option', array( 'type' => 'textarea', 'settings' => 'catalog_mode_header', 'transport' => $transport, 'label' => __( 'Header Cart replacement', 'flatsome-admin' ), 'help' => __( "Enter content you want to display instad of Account / Cart. Shortcodes are allowed.", 'flatsome-admin'), 'section' => 'catalog-mode', 'default' => '', )); Flatsome_Option::add_field( 'option', array( 'type' => 'textarea', 'settings' => 'catalog_mode_product', 'transport' => $transport, 'label' => __( 'Product page Add to cart replacement.', 'flatsome-admin' ), 'help' => __( 'Enter contact information or enquery form shortcode here.', 'flatsome-admin'), 'section' => 'catalog-mode', 'default' => 'Add any HTML or Shortcode here...', )); Flatsome_Option::add_field( 'option', array( 'type' => 'textarea', 'settings' => 'catalog_mode_lightbox', 'transport' => $transport, 'label' => __( 'Add to cart replacement - Product Quick View', 'flatsome-admin' ), 'help' => __( 'Enter text that will show in product quick view', 'flatsome-admin'), 'section' => 'catalog-mode', 'default' => '', ));