Raj*_*ami 2 shopware6 shopware6-app
如何获取销售渠道的配置值?
我正在这样做:
$this->systemConfigService->get('pluginName.config.enable')
Run Code Online (Sandbox Code Playgroud)
但此调用仅返回所有销售渠道配置值。
如何获取特定销售渠道的配置值?
该方法的第二个参数get采用实体id的sales_channel。
public function get(string $key, ?string $salesChannelId = null)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
339 次 |
| 最近记录: |