!
addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
item_id)
->where('language_id', $userCurrentLang->id)
->get();
$itemstock = $item->stock;
if (count($variations) == 0) {
if ($itemstock > 0) {
$stock = true;
} else {
$stock = false;
}
$variations = null;
} else {
$stock = true;
$tstock = '';
if (count($variations)) {
foreach ($variations as $varkey => $varvalue) {
$tstock = array_sum(json_decode($varvalue->option_stock));
if ($tstock == 0) {
$stock = false;
}
}
} else {
$stock = true;
}
}
$n_price = $item->current_price - ($item->flash_percentage * $item->current_price) / 100;
$isFlash = App\Http\Helpers\CheckFlashItem::isFlashItem($item->item_id);
?>
-flash_percentage); ?>%
current_price - ($item->flash_percentage * $item->current_price) / 100;
?>
current_price;
?>
end_date);
$year = $dt->year;
$month = $dt->month;
$day = $dt->day;
$end_time = Carbon\Carbon::parse($item->end_time);
$hour = $end_time->hour;
$minute = $end_time->minute;
$now = str_replace('+00:00', '.000' . $userBs->timezoneinfo->gmt_offset . '00:00', gmdate('c'));
?>
type == 'physical'): ?>
item_rating_system): ?>
base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?>
base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?>
base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?>
current_price)); ?>
base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?>
previous_price > 0): ?>
base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?>
previous_price)); ?>
base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>