REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 4.67 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/woocommerce/includes/admin/settings/views/settings-tax.php
Text
Base64
<?php /** * Tax settings. * * @package WooCommerce\Admin\Settings. */ defined( 'ABSPATH' ) || exit; use Automattic\WooCommerce\Enums\TaxBasedOn; $settings = array( array( 'title' => __( 'Tax options', 'woocommerce' ), 'type' => 'title', 'desc' => '', 'id' => 'tax_options', ), array( 'title' => __( 'Prices entered with tax', 'woocommerce' ), 'id' => 'woocommerce_prices_include_tax', 'default' => 'no', 'type' => 'radio', 'desc_tip' => __( 'This option is important as it will affect how you input prices. If you select "Yes", enter prices including your base location\'s tax rate, the baseline for tax calculations. Changing this option will not update existing products.', 'woocommerce' ), 'options' => array( 'yes' => __( 'Yes, I will enter prices inclusive of tax', 'woocommerce' ), 'no' => __( 'No, I will enter prices exclusive of tax', 'woocommerce' ), ), ), array( 'title' => __( 'Calculate tax based on', 'woocommerce' ), 'id' => 'woocommerce_tax_based_on', 'desc_tip' => __( 'This option determines which address is used to calculate tax.', 'woocommerce' ), 'default' => TaxBasedOn::SHIPPING, 'type' => 'select', 'class' => 'wc-enhanced-select', 'options' => array( TaxBasedOn::SHIPPING => __( 'Customer shipping address', 'woocommerce' ), TaxBasedOn::BILLING => __( 'Customer billing address', 'woocommerce' ), TaxBasedOn::BASE => __( 'Shop base address', 'woocommerce' ), ), ), 'shipping-tax-class' => array( 'title' => __( 'Shipping tax class', 'woocommerce' ), 'desc' => __( 'Optionally control which tax class shipping gets, or leave it so shipping tax is based on the cart items themselves.', 'woocommerce' ), 'id' => 'woocommerce_shipping_tax_class', 'css' => 'min-width:150px;', 'default' => 'inherit', 'type' => 'select', 'class' => 'wc-enhanced-select', 'options' => array( 'inherit' => __( 'Shipping tax class based on cart items', 'woocommerce' ) ) + wc_get_product_tax_class_options(), 'desc_tip' => true, ), array( 'title' => __( 'Rounding', 'woocommerce' ), 'desc' => __( 'Round tax at subtotal level, instead of rounding per line', 'woocommerce' ), 'id' => 'woocommerce_tax_round_at_subtotal', 'default' => 'no', 'type' => 'checkbox', ), array( 'title' => __( 'Additional tax classes', 'woocommerce' ), 'desc_tip' => __( 'List additional tax classes you need below (1 per line, e.g. Reduced Rates). These are in addition to "Standard rate" which exists by default.', 'woocommerce' ), 'id' => 'woocommerce_tax_classes', 'css' => 'height: 65px;', 'type' => 'textarea', 'default' => '', 'is_option' => false, 'value' => implode( "\n", WC_Tax::get_tax_classes() ), ), array( 'title' => __( 'Display prices in the shop', 'woocommerce' ), 'id' => 'woocommerce_tax_display_shop', 'default' => 'excl', 'type' => 'select', 'class' => 'wc-enhanced-select', 'options' => array( 'incl' => __( 'Including tax', 'woocommerce' ), 'excl' => __( 'Excluding tax', 'woocommerce' ), ), ), array( 'title' => __( 'Display prices during cart and checkout', 'woocommerce' ), 'id' => 'woocommerce_tax_display_cart', 'default' => 'excl', 'type' => 'select', 'class' => 'wc-enhanced-select', 'options' => array( 'incl' => __( 'Including tax', 'woocommerce' ), 'excl' => __( 'Excluding tax', 'woocommerce' ), ), ), array( 'type' => 'conflict_error' ), // React mount point for embedded banner slotfill. array( 'type' => 'add_settings_slot' ), // React mount point for settings slotfill. array( 'title' => __( 'Price display suffix', 'woocommerce' ), 'id' => 'woocommerce_price_display_suffix', 'default' => '', 'placeholder' => __( 'N/A', 'woocommerce' ), 'type' => 'text', 'desc_tip' => __( 'Define text to show after your product prices. This could be, for example, "inc. Vat" to explain your pricing. You can also have prices substituted here using one of the following: {price_including_tax}, {price_excluding_tax}.', 'woocommerce' ), ), array( 'title' => __( 'Display tax totals', 'woocommerce' ), 'id' => 'woocommerce_tax_total_display', 'default' => 'itemized', 'type' => 'select', 'class' => 'wc-enhanced-select', 'options' => array( 'single' => __( 'As a single total', 'woocommerce' ), 'itemized' => __( 'Itemized', 'woocommerce' ), ), 'autoload' => false, ), array( 'type' => 'sectionend', 'id' => 'tax_options', ), ); if ( ! wc_shipping_enabled() ) { unset( $settings['shipping-tax-class'] ); } return apply_filters( 'woocommerce_tax_settings', $settings );
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 10
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
class-wc-settings-rest-api.php
255 B
lrw-r--r--
2020-09-23 01:16:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
html-admin-page-shipping-classes.php
6.14 KB
lrw-r--r--
2023-12-27 00:45:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
html-admin-page-shipping-providers.php
6.70 KB
lrw-r--r--
2026-03-30 17:12:24
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
html-admin-page-shipping-zone-methods.php
12.55 KB
lrw-r--r--
2025-05-12 15:44:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
html-admin-page-shipping-zones-instance.php
486 B
lrw-r--r--
2018-05-23 19:30:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
html-admin-page-shipping-zones.php
6.61 KB
lrw-r--r--
2026-02-23 17:58:34
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
html-keys-edit.php
6.66 KB
lrw-r--r--
2024-06-25 21:17:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
html-settings-tax.php
8.13 KB
lrw-r--r--
2025-03-03 22:28:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
html-webhooks-edit.php
9.80 KB
lrw-r--r--
2026-05-05 14:26:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
settings-tax.php
4.67 KB
lrw-r--r--
2026-05-05 14:26:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).