@endhookwrapper
@hookwrapper('product.detail.price')
@hookwrapper('product.detail.quantity')
{{ __('product.quantity') }}:
@{{ product.quantity }}
@{{ product.quantity }}
@endhookwrapper
@if ($product['brand_id'])
@hookwrapper('product.detail.brand')
@endhookwrapper
@endif
@hookwrapper('product.detail.sku')
SKU:@{{ product.sku }}
@endhookwrapper
@hookwrapper('product.detail.model')
{{ __('shop/products.model') }}: @{{ product.model }}
@endhookwrapper
{{ __('product.sales_method') }}:
@if($product['sales_method'] == 'piece')
{{ __('product.sales_method_piece_unit',['unit'=>$product['unit']]) }}
@else
{{ __('product.sales_method_batches') }}({{ __('product.pieces_per_batch',['num'=>$product['piece_to_batch'],'unit'=>$product['unit']]) }})
@endif
{{__('product.minimum_order')}}:@{{ minimum_order }}
@if($product['sales_method'] == 'piece')
{{ $product['unit'] }}
@else
{{ __('product.batches') }}({{__('product.total_num',['num'=>($product['piece_to_batch'] * $product['minimum_order']),'unit'=>$product['unit']])}})
@endif
@if(!empty($product['unit']))
{{__('product.unit_of_measurement')}}: {{ $product['unit'] }}
@endif
@hook('product.detail.buy.before')
{{--添加购买规格--}}
{{-- 购买数量 - 多规格 --}}
@hookwrapper('product.detail.quantity.input')
@{{ skuInfoValue.name }}:@{{ skuInfoValue.value }}
@endhookwrapper
{{--操作内容--}}
{{--点击加入购物车--}}
@hookwrapper('product.detail.add_to_cart')
@endhookwrapper
{{-- 直接下单产品 - 显示立即购买按钮 --}}
@if ($product['active'])
@hookwrapper('product.detail.buy_now')
@endhookwrapper
@endif
@hook('product.detail.buy.after')
{{-- 加入收藏 --}}
@if ((current_customer() || !request('iframe')))
@hookwrapper('product.detail.wishlist')
@endhookwrapper
@endif