Import
- Full name:
\BigCommerce\Settings\Sections\Import
- Parent class:
\BigCommerce\Settings\Sections\Settings_Section
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAME | public | ’import’ | |
OPTION_FREQUENCY | public | ’bigcommerce_import_frequency’ | |
OPTION_NEW_PRODUCTS | public | ’bigcommerce_import_new_products’ | |
BATCH_SIZE | public | ’bigcommerce_import_batch_size’ | |
ENABLE_PRODUCTS_WEBHOOKS | public | ’bigcommerce_import_enable_webhooks’ | |
ENABLE_CUSTOMER_WEBHOOKS | public | ’bigcommerce_import_enable_customer_webhooks’ | |
ENABLE_IMAGE_IMPORT | public | ’bigcommerce_import_enable_image_import’ | |
MAX_CONCURRENT | public | ’bigcommerce_import_max_concurrent’ | |
RUN_IN_PARALLEL | public | ’bigcommerce_parallel_run’ | |
HEADLESS_FLAG | public | ’bigcommerce_headless_flag’ | |
FREQUENCY_FIVE | public | ’five_minutes’ | |
FREQUENCY_THIRTY | public | ’thirty_minutes’ | |
FREQUENCY_HOURLY | public | ’hourly’ | |
FREQUENCY_DAILY | public | ’daily’ | |
FREQUENCY_WEEKLY | public | ’weekly’ | |
FREQUENCY_MONTHLY | public | ’monthly’ | |
FREQUENCY_NEVER | public | ’never’ | |
DEFAULT_FREQUENCY | public | self::FREQUENCY_FIVE | |
PRODUCT_TRANSIENT | public | ’bigcommerce_products_transient_interval’ |
Properties
options
protected $options
product_transient_groups
protected $product_transient_groups
Methods
__construct
public __construct(): mixed
register_settings_section
public register_settings_section(): void
register_connect_channel_fields
We want just the automatic list setting to show up in the channel selection screen during onboarding, to give the merchant a chance to change it before the first import.
public register_connect_channel_fields(): void
section_description
public section_description(): mixed
frequency_select
public frequency_select(): void
render_gql_token_transient_settings
Render GQL token expiration options field
public render_gql_token_transient_settings(mixed $args): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$args | mixed |
render_products_transient_settings
public render_products_transient_settings(mixed $args): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$args | mixed |
new_products_toggle
public new_products_toggle(): mixed
render_import_tasks_processing
public render_import_tasks_processing(): 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
enable_images_import_toggle
Display images import radio toggle. Adds ability to switch between images import types
public enable_images_import_toggle(array $args = []): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
render_headless_flag_import
public render_headless_flag_import(): mixed
enable_products_webhooks_toggle
public enable_products_webhooks_toggle(): mixed
enable_customer_webhooks_toggle
public enable_customer_webhooks_toggle(): mixed
Automatically generated on 2025-01-21