@include('Yunshop\StoreCashier::store.goods.tabs.basic')
@include('Yunshop\StoreCashier::store.goods.tabs.des')
@include('Yunshop\StoreCashier::store.goods.tabs.param')
@include('Yunshop\StoreCashier::store.goods.tabs.option')
{!! widget('app\backend\widgets\goods\NoticeWidget', ['goods_id'=> $goods->id])!!}
{!! widget('app\backend\widgets\goods\ShareWidget', ['goods_id'=> $goods->id])!!}
{!! widget('Yunshop\StoreCashier\store\admin\widget\GoodsDispatchWidget', ['goods_id'=> $goods->id])!!}
{!! widget('Yunshop\StoreCashier\widgets\StoreGoodsWidget', ['goods_id'=> $goods->id])!!}
@if (app('plugins')->isEnabled('merchant'))
{!! widget('Yunshop\Merchant\widgets\MerchantGoodsWidget', ['goods_id'=> $goods->id])!!}
@endif
@foreach(Config::get('store_widget.goods') as $key=>$value)
@if ($key == 'tab_privilege')
{!! widget($value['class'], ['goods_id'=> $goods->id])!!}
@endif
@if ($key == 'tab_discount')
{!! widget($value['class'], ['goods_id'=> $goods->id])!!}
@endif
@if ($key == 'tab_commission')
{!! widget($value['class'], ['goods_id'=> $goods->id])!!}
@endif
@if ($key == 'tab_team_dividend')
{!! widget($value['class'], ['goods_id'=> $goods->id])!!}
@endif
@if ($key == 'tab_area_dividend')
{!! widget($value['class'], ['goods_id'=> $goods->id])!!}
@endif
@if ($key == 'tab_merchant')
{!! widget($value['class'], ['goods_id'=> $goods->id])!!}
@endif
@endforeach