ClassesBigCommerceSettingsImport Status

Import_Status

Class Import_Status

Displays the import status on the settings page after the import button

  • Full name: \BigCommerce\Settings\Import_Status

Constants

ConstantVisibilityTypeValue
AJAX_ACTION_IMPORT_STATUSpublic’bigcommerce_import_status’
IMPORT_TOTAL_PRODUCTSpublic’bigcommerce_import_total_products’

Methods

__construct

public __construct(\BigCommerce\Import\Task_Manager $manager): mixed

Parameters:

ParameterTypeDescription
$manager\BigCommerce\Import\Task_Manager

is_parallel_run_enabled

public static is_parallel_run_enabled(): false|mixed|void
  • This method is static.

render_status

public render_status(): void

current_status_notice

Render a notice for the status of a currently running import

public current_status_notice(): void

validate_ajax_current_status_request

Validates the nonce for the ajax request before any more processing begins

public validate_ajax_current_status_request(): void

ajax_current_status

Returns current status as a json response

public ajax_current_status(): void

cache_queue_size

Cache the current size of the import queue.

public cache_queue_size(): void

This allows us to show progress as the queue diminishes.



Automatically generated on 2025-01-21