ClassesBigCommerceEditorAdd Products Button

Add_Products_Button

A class to render the “Add Products” button in the editor.

  • Full name: \BigCommerce\Editor\Add_Products_Button

Constants

ConstantVisibilityTypeValue
BC_LOGOpublicstring’bc-icon icon-bc-b-logo’
BUTTON_CLASSESpublicstring’button bc-add-products’
BUTTON_TRIGGERpublicstring’bc-add-products’
BUTTON_TARGETpublicstring’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