HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/themes/vadimarketv4/parts/product-meta.php
<?php global $product; ?>
<div class="urun_meta">
<?php if(wp_is_mobile()) { ?>
	<div class="row">
	<?php if(get_post_meta($product->id, 'kargo',true)) { ?>
		<div class="col-6">
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-truck mr-2" style="color:#36b257;"></i> <?php echo __('Ücretsiz Kargo','temavadisi'); ?></span>
		</div>
	<?php } ?>
	<?php if(get_post_meta($product->id, 'firsat',true)) { ?>
		<div class="col-6">
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-star mr-2" style="color:#ffd700;"></i> <?php echo __('Fırsat Ürünü','temavadisi'); ?></span>
		</div>
	<?php } ?>
	<?php if(get_post_meta($product->id, 'hizli',true)) { ?>
		<div class="col-6">
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-rocket mr-2" style="color:#f97517;"></i> <?php echo __('Hızlı Kargo','temavadisi'); ?></span>
		</div>
	<?php } ?>
	<?php if(get_post_meta($product->id, 'iade',true)) { ?>
		<div class="col-6">
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-back-in-time mr-2" style="color:#007aff;"></i> <?php echo __('Kolay İade','temavadisi'); ?></span>
		</div>
	<?php } ?>
	<?php if(get_post_meta($product->id, 'sinirli',true)) { ?>
		<div class="col-6">
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-clock-1 mr-2" style="color:#ff0000;"></i> <?php echo __('Sınırlı Stok','temavadisi'); ?></span>
		</div>
	<?php } ?>
	</div>
<?php } else { ?>
	<div class="d-flex flex-column">
	<?php if(get_post_meta($product->id, 'kargo',true)) { ?>
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-truck mr-2" style="color:#36b257;"></i> <?php echo __('Ücretsiz Kargo','temavadisi'); ?></span>
	<?php } ?>
	<?php if(get_post_meta($product->id, 'firsat',true)) { ?>
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-star mr-2" style="color:#ffd700;"></i> <?php echo __('Fırsat Ürünü','temavadisi'); ?></span>
	<?php } ?>
	<?php if(get_post_meta($product->id, 'hizli',true)) { ?>
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-rocket mr-2" style="color:#f97517;"></i> <?php echo __('Hızlı Kargo','temavadisi'); ?></span>
	<?php } ?>
	<?php if(get_post_meta($product->id, 'iade',true)) { ?>
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-back-in-time mr-2" style="color:#007aff;"></i> <?php echo __('Kolay İade','temavadisi'); ?></span>
	<?php } ?>
	<?php if(get_post_meta($product->id, 'sinirli',true)) { ?>
		<span class="d-flex justify-content-start align-items-center py-3 pl-4 pr-2 mb-2"><i class="icon-clock-1 mr-2" style="color:#ff0000;"></i> <?php echo __('Sınırlı Stok','temavadisi'); ?></span>
	<?php } ?>
	</div>
<?php } ?>
</div>