@if ( !$product->haveSufficientQuantity() ) @if($product->parent_category->product_listing_badge_flag == 1) {!!$product->parent_category->product_listing_badge_description!!} @endif @if($product->parent_category->product_pdp_badge_flag) {!!$product->parent_category->product_pdp_badge_description!!} @endif @endif @if($product->haveSufficientQuantity()) In Stock @endif @if ($product->haveSpecialPrice() && $product->hasCashback()) Save {{\App\Helpers\CustomHelper::getCurrency(($product->price - $product->special_price) + $product->getCashbackAmount())}} ({{round(((($product->price - $product->special_price) + $product->getCashbackAmount()) / $product->price) * 100) }} %) @elseif ($product->haveSpecialPrice()) Save {{\App\Helpers\CustomHelper::getCurrency($product->price - $product->special_price)}} ({{round((($product->price - $product->special_price) / $product->price) * 100) }}%) @elseif($product->hasCashback()) Save {{\App\Helpers\CustomHelper::getCurrency($product->getCashbackAmount())}} ({{round((($product->getCashbackAmount()) / $product->final_price) * 100) }}%) @endif