preloader
preloader
🧨 Call to undefined function print_price2() (View: /home/u976416941/domains/medistoreremedy.com/public_html/resources/views/themes/eCart/shop.blade.php)

APP_DEBUG is set to true while APP_ENV is not local

This could make your application vulnerable to remote execution. Read more about Ignition security.

/home/u976416941/domains/medistoreremedy.com/public_html/
Error
Call to undefined function print_price2() (View: /home/u976416941/domains/medistoreremedy.com/public_html/resources/views/themes/eCart/shop.blade.php)
    • 57
      resources/views/themes/eCart/shop.blade.php
      :225
    • 47
      app/Http/Controllers/Controller.php
      App\Http\Controllers\Controller
      :152
    • 46
      App\Http\Controllers\HomeController
      :498
    • 2
      public/index.php
      :54
    • 1
      :21
::require
resources/views/themes/eCart/shop.blade.php:225

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

<a href="{{ route('product-single', ['slug' => $p->slug, 'variant' => $measurementParam, 'potency' => $p->vp_potency_name]) }}" class="title_product">

{{-- @if(strlen(strip_tags($p->product_name)) > 28) {!! substr(strip_tags($p->product_name), 0,28)."..." !!} @else {!! substr(strip_tags($p->product_name), 0,28) !!} @endif --}}

@if(strlen(strip_tags($p->product_name)) > 30)

{!! substr(strip_tags($p->product_name), 0, 30) . "..." !!}

@else

{!! substr(strip_tags($p->product_name), 0, 30) !!}

{{ $p->vp_potency_name != '' ? " " . $p->vp_potency_name : '' }}

{{ $p->measurement != '' ? " (" . $p->measurement . $p->short_code . ")" : '' }}

@endif

</a>

</h4>

<div class="price_box">

<span class="current_price" id="price_{{ $p->id }}">{!! print_price2($p, $data['user'] ?? '') !!}</span>

<span class="old_price" id="mrp_{{ $p->id }}">{!! print_mrp2($p) !!}</span>

@if(get_savings_varients2($p)>0)

<span class="discount-percentage discount-product" id="savings_{{ $p->id }}">{{ get_savings_varients2($p , $data['user']) }}</span>

@endif

</div>

</div>

<div class="product_content inner_list_content">

<h4 class="product_name"><a href="{{ route('product-single', $p->slug ?? '-') }}">{{ $p->name }}</a></h4>

<div class="price_box">

<span class="current_price">{!! print_price($p) !!}</span>

<span class="old_price">{!! print_mrp($p) !!}</span>

@if(get_savings_varients($p->variants[0])>0)

<span class="discount-percentage discount-product" id="savings_{{ $p->id }}">{{ get_savings_varients2($p , $data['user']) }}</span>

@endif

</div>