Sales Channel Switch

<sw-sales-channel-switch>

ready
Renders a sales channel switcher.

Usage

<sw-sales-channel-switch></sw-sales-channel-info>

Component properties

Property name Type Default
disabled Boolean false
abortChangeFunction Function
saveChangesFunction Function
label String

Methods

Method name Parameters
onChange id
checkAbort No parameters
emitChange No parameters
onCloseChangesModal No parameters
onClickSaveChanges No parameters
onClickRevertUnsavedChanges No parameters
changeToNewSalesChannel salesChannelId

Imports

  • ./sw-sales-channel-switch.html.twig

Twig blocks

  • sw_sales_channel_switch_message
  • sw_sales_channel_switch_footer_button_close
  • sw_sales_channel_switch_footer_button_revert
  • sw_sales_channel_switch_footer_button_save
  • sw_sales_channel_switch_footer
  • sw_sales_channel_switch_modal
  • sw_sales_channel_switch_select
  • sw_sales_channel_switch