product detail

This commit is contained in:
merdan 2023-06-06 09:49:00 +05:00
parent 1a7451e166
commit c29ede21f0
2 changed files with 4 additions and 6 deletions

View File

@ -34,12 +34,12 @@ class OrderResource extends JsonResource
'shipping_description' => $this->shipping_description, 'shipping_description' => $this->shipping_description,
'shipping_date' => $this->deliveryDate() ?? " ", 'shipping_date' => $this->deliveryDate() ?? " ",
'coupon_code' => $this->coupon_code, 'coupon_code' => $this->coupon_code,
'is_gift' => $this->is_gift, // 'is_gift' => $this->is_gift,
'total_item_count' => (int) $this->total_item_count, 'total_item_count' => (int) $this->total_item_count,
'total_qty_ordered' => (int) $this->total_qty_ordered, 'total_qty_ordered' => (int) $this->total_qty_ordered,
'base_currency_code' => $this->base_currency_code, // 'base_currency_code' => $this->base_currency_code,
'channel_currency_code' => $this->channel_currency_code, // 'channel_currency_code' => $this->channel_currency_code,
'order_currency_code' => $this->order_currency_code, // 'order_currency_code' => $this->order_currency_code,
'grand_total' => (double) $this->grand_total, 'grand_total' => (double) $this->grand_total,
'formatted_grand_total' => core()->formatPrice($this->grand_total, $this->order_currency_code), 'formatted_grand_total' => core()->formatPrice($this->grand_total, $this->order_currency_code),
'total_weight' => $this->items->sum('total_weight'), 'total_weight' => $this->items->sum('total_weight'),

View File

@ -25,8 +25,6 @@
</div> </div>
@endif @endif
{!! DbView::make(core()->getCurrentChannel())->field('footer_content')->render() !!}
<div class="list-container"> <div class="list-container">
@if(core()->getConfigData('customer.settings.newsletter.subscription')) @if(core()->getConfigData('customer.settings.newsletter.subscription'))
<label class="list-heading" for="subscribe-field">{{ __('shop::app.footer.subscribe-newsletter') }}</label> <label class="list-heading" for="subscribe-field">{{ __('shop::app.footer.subscribe-newsletter') }}</label>