Viewing file: 5989c7ad83db045045995e04e57d8e295ea94fe8.php (2.37 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php if(!$product->isGroupedProduct() && !$product->isExternalProduct()): ?>
<div id="countDown" class="display-none">
<p class="text-sm mt-1.5 pt-1p dm-sans font-medium text-gray-12"><?php echo e(__('Offer end in')); ?>:</p>
<div class="w-full flex roboto-medium mt-3">
<div class="border border-dashed border-gray-12 rounded primary-bg-color">
<p class="text-center px-2 text-sm text-black py-1" id="count_days">
</p>
</div>
<div class="border border-dashed border-gray-12 rounded primary-bg-color <?php echo e(languageDirection() == 'ltr' ? 'ml-2.5' : 'mr-2.5'); ?>">
<p class="text-center px-2 text-sm text-black py-1" id="count_others">
</p>
</div>
</div>
</div>
<?php endif; ?>
<div class="md:mt-3 mt-2">
<p class="dm-bold font-700">
<?php if(!$product->isGroupedProduct()): ?>
<?php if($product->isVariableProduct()): ?>
<?php
$sale_price = $sale_price[0] ?? $sale_price;
$regular_price = $regular_price[0] ?? $regular_price;
?>
<span class="text-2.5xl text-gray-12" id="varMinMaxPrice"><?php echo e(formatNumber($filterVariation['min'])); ?> - <?php echo e(formatNumber($filterVariation['max'])); ?></span>
<?php endif; ?>
<span class="text-2.5xl text-gray-12 <?php echo e($product->isVariableProduct() ? "display-none" : ''); ?>" id="item_price"><?php echo e($offerFlag ? $product->priceWithTax($displayPrice, 'sale') : $product->priceWithTax($displayPrice, 'regular')); ?></span>
<span class="text-28 text-gray-10 display-none">/</span>
<?php if($offerFlag || $product->isVariableProduct()): ?>
<span class="text-gray-10 line-through <?php echo e($product->isVariableProduct() ? "display-none" : ''); ?>" id="item_offer_price"><?php echo e($product->priceWithTax($displayPrice, 'regular')); ?></span>
<?php endif; ?>
<?php elseif($product->isGroupedProduct()): ?>
<span class="text-gray-12 text-28 leading-6"><?php echo e(formatNumber($groupProducts['min'])); ?> - <?php echo e(formatNumber($groupProducts['max'])); ?></span> </br>
<?php endif; ?>
</p>
</div>
<?php /**PATH /home/picotech/domains/ecom1.picotech.app/public_html/resources/views/site/layouts/section/product-details/offer.blade.php ENDPATH**/ ?>
|