Checkout
Handles the customization options for the Checkout section in the WordPress Customizer.
Allows users to modify the colors of the embedded checkout page including background, text, link, and error colors.
- Full name:
\BigCommerce\Customizer\Sections\Checkout
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAME | public | string | ’bigcommerce_checkout’ |
BACKGROUND_COLOR | public | string | ’bigcommerce_checkout_background_color’ |
TEXT_COLOR | public | string | ’bigcommerce_checkout_text_color’ |
LINK_COLOR | public | string | ’bigcommerce_checkout_link_color’ |
ERROR_COLOR | public | string | ’bigcommerce_checkout_error_color’ |
COLOR_BLACK | public | string | ’#000000’ |
COLOR_WHITE | public | string | ’#FFFFFF’ |
COLOR_BC_BLUE | public | string | ’#5273f4’ |
COLOR_BC_RED | public | string | ’#ed1f00’ |
Methods
register
Registers settings and controls for Checkout customization.
public register(\WP_Customize_Manager $wp_customize): void
Parameters:
Parameter | Type | Description |
---|---|---|
$wp_customize | \WP_Customize_Manager | The WordPress Customizer manager instance. |
Automatically generated on 2025-01-21