Prestashop 1.7:从上下文获取店铺组ID?
Prestashop 1.7:从上下文获取店铺组ID?,prestashop,prestashop-1.7,Prestashop,Prestashop 1.7,\Context::getContext()->shop->id允许我们从上下文获取店铺id 我在类和Google中查找\Context::getContext()->shop->group\u id或\Context::getContext()->group\u shop->id,但没有找到任何相关内容 如何从上下文中获取店铺组ID?尝试context::getContext()->Shop->getContextShopGroupID()
\Context::getContext()->shop->id
允许我们从上下文获取店铺id
我在类和Google中查找\Context::getContext()->shop->group\u id
或\Context::getContext()->group\u shop->id
,但没有找到任何相关内容
如何从上下文中获取店铺组ID?尝试
context::getContext()->Shop->getContextShopGroupID()代码>