Add_Products_Button
A class to render the “Add Products” button in the editor.
- Full name:
\BigCommerce\Editor\Add_Products_Button
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
BC_LOGO | public | string | ’bc-icon icon-bc-b-logo’ |
BUTTON_CLASSES | public | string | ’button bc-add-products’ |
BUTTON_TRIGGER | public | string | ’bc-add-products’ |
BUTTON_TARGET | public | string | ’bc-shortcode-ui’ |
Methods
render_button
Renders the Add Products button HTML.
public render_button(): string
Return Value:
The HTML for the button.
Automatically generated on 2025-01-21