Storefront_Processor
- Full name:
\BigCommerce\Import\Processors\Storefront_Processor
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
STOREFRONT_NAME | public | ’bigcommerce_storefront_name’ | |
STOREFRONT_ADDRESS | public | ’bigcommerce_storefront_address’ | |
STOREFRONT_EMAIl | public | ’bigcommerce_storefront_email’ | |
STOREFRONT_PHONE | public | ’bigcommerce_storefront_phone’ | |
DOWN_FOR_MAINTENANCE | public | ’bigcommerce_down_for_maintenance_message’ | |
PRE_LAUNCH_MESSAGE | public | ’bigcommerce_prelaunch_message’ | |
PRE_LAUNCH_PASSWORD | public | ’bigcommerce_prelaunch_password’ | |
SHOW_PRODUCT_PRICE | public | ’bigcommerce_storefront_show_product_price’ | |
SHOW_PRODUCT_SKU | public | ’bigcommerce_storefront_show_product_sku’ | |
SHOW_PRODUCT_WEIGHT | public | ’bigcommerce_storefront_show_product_weight’ | |
SHOW_PRODUCT_BRAND | public | ’bigcommerce_storefront_show_product_brand’ | |
SHOW_PRODUCT_SHIPPING | public | ’bigcommerce_storefront_show_product_shipping’ | |
SHOW_PRODUCT_RATING | public | ’bigcommerce_storefront_show_product_rating’ | |
SHOW_PRODUCT_ADD_TO_CART_LINK | public | ’bigcommerce_storefront_show_add_to_cart_link’ | |
DEFAULT_PREORDER_MESSAGE | public | ’bigcommerce_storefront_default_preorder_message’ | |
SHOW_BREADCRUMBS_PRODUCT_PAGE | public | ’bigcommerce_storefront_show_breadcrumbs_product_pages’ | |
SHOW_ADD_TO_CART_QTY_BOX | public | ’bigcommerce_storefront_show_add_to_cart_qty_box’ | |
SHOW_ADD_TO_WISHLIST | public | ’bigcommerce_storefront_show_add_to_wishlist’ | |
HIDE_PRICE_FROM_GUESTS | public | ’bigcommerce_storefront_hide_price_from_guests’ |
Methods
__construct
public __construct(\BigCommerce\Api\v3\Api\SettingsApi $api, \BigCommerce\Taxonomies\Channel\Connections $connections): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$api | \BigCommerce\Api\v3\Api\SettingsApi | |
$connections | \BigCommerce\Taxonomies\Channel\Connections |
run
public run(): mixed
handle_products
Get and save storefront product settings /stores/{store_hash}/v3/settings/storefront/product https://developer.bigcommerce.com/api-reference/d4a004e640c74-get-storefront-product-settings
public handle_products(int $term_id, int $channel_id): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$term_id | int | |
$channel_id | int |
handle_status
Get and save storefront status settings /stores/{store_hash}/v3/settings/storefront/status https://developer.bigcommerce.com/api-reference/9c3e93feb6a21-get-storefront-status
public handle_status(int $term_id, int $channel_id): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$term_id | int | |
$channel_id | int |
handle_profile_settings
Get and store storefront profile settings /stores/{store_hash}/v3/settings/storefront/profile https://developer.bigcommerce.com/api-reference/ac86db39bc51e-get-store-profile-settings
public handle_profile_settings(int $term_id, int $channel_id): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$term_id | int | |
$channel_id | int |
handle_options
protected handle_options(int $term_id, array $entries = []): void
Parameters:
Parameter | Type | Description |
---|---|---|
$term_id | int | |
$entries | array |
Automatically generated on 2025-01-21