Currency
- Full name:
\BigCommerce\Settings\Sections\Currency
- Parent class:
\BigCommerce\Settings\Sections\Settings_Section
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAME | public | ’currency’ | |
ENABLED_CURRENCIES | public | ’bigcommerce_enabled_currencies’ | |
CHANNEL_CURRENCY_CODE | public | ’bigcommerce_channel_currency_code’ | |
CHANNEL_ALLOWED_CURRENCY | public | ’bigcommerce_allowed_channel_currencies’ | |
CURRENCY_CODE | public | ’bigcommerce_currency_code’ | |
CURRENCY_SYMBOL | public | ’bigcommerce_currency_symbol’ | |
CURRENCY_SYMBOL_POSITION | public | ’bigcommerce_currency_symbol_position’ | |
INTEGER_UNITS | public | ’bigcommerce_integer_units’ | |
DECIMAL_UNITS | public | ’bigcommerce_decimal_units’ | |
PRICE_DISPLAY | public | ’bigcommerce_price_display’ | |
POSITION_LEFT | public | ’left’ | |
POSITION_RIGHT | public | ’right’ | |
POSITION_LEFT_SPACE | public | ’left+space’ | |
POSITION_RIGHT_SPACE | public | ’right+space’ | |
DISPLAY_TAX_INCLUSIVE | public | ’tax_inclusive’ | |
DISPLAY_TAX_EXCLUSIVE | public | ’tax_exclusive’ | |
ENABLE_CURRENCY_SWITCHER | public | ’enable_currency_switcher’ |
Methods
register_settings_section
public register_settings_section(): void
render_section
public render_section(mixed $section): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$section | mixed |
render_price_display_field
public render_price_display_field(): mixed
render_enable_currency_switcher
public render_enable_currency_switcher(): mixed
Inherited methods
render_field
public render_field(array $args): void
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
render_number_field
public render_number_field(array $args): void
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
get_disabled_attr_headless
Get disabled attribute if headless option is on
public get_disabled_attr_headless(): string
Automatically generated on 2025-01-21