{{-- CSRF Token --}} {{-- Store icon and color --}} {{-- Fonts --}} {{-- CSS --}} {{-- Check business details --}} @if ($business_card_details != null) @php $custom_css = $business_card_details->custom_css; $custom_js = $business_card_details->custom_js; // Ensure ') === false) { $custom_css = ""; } // Ensure ') === false) { $custom_js = ""; } @endphp {!! $custom_css !!} {!! $custom_js !!} @endif {{-- JS --}} {{-- SEO Tags --}} {!! SEOMeta::generate() !!} {!! OpenGraph::generate() !!} {!! Twitter::generate() !!} {!! JsonLd::generate() !!} {{-- Check PWA --}} @if ($plan_details != null) @if ($plan_details['pwa'] == 1) @laravelPWA @endif @endif {{-- Limited Text Function --}} @php use Illuminate\Support\Facades\DB; // Fetch settings from the database $config = DB::table('config')->get(); if (!function_exists('limit_text')) { function limit_text($text) { $limit = 4; if (str_word_count($text, 0) > $limit) { $words = str_word_count($text, 2); $pos = array_keys($words); $text = substr($text, 0, $pos[$limit]) . '...'; } return $text; } } @endphp
{{ $product->product_subtitle }}
{{ $product->sales_price }}{{ $currency }}{{ ($product->sales_price) }}
@if ($product->sales_price != $product->regular_price)
{{ $currency }}{{ ($product->regular_price) }}