https://t.me/AnonymousX5
Server : Apache
System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
User : medchoco ( 2906)
PHP Version : 8.3.16
Disable Function : mail
Directory :  /home/medchoco/www/wp-content/themes/puca/woocommerce/layout-products/themes/supermaket/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/medchoco/www/wp-content/themes/puca/woocommerce/layout-products/themes/supermaket/grid.php
<?php
global $woocommerce_loop; 

if( isset($columns) && !empty($columns) ) {
	$woocommerce_loop['columns'] = $columns;
}

$product_item = isset($product_item) ? $product_item : 'inner';

$screen_desktop          =      isset($screen_desktop) ? $screen_desktop : 4;
$screen_desktopsmall     =      isset($screen_desktopsmall) ? $screen_desktopsmall : 3;
$screen_tablet           =      isset($screen_tablet) ? $screen_tablet : 3;
$screen_mobile           =      isset($screen_mobile) ? $screen_mobile : 1;

$count = 0;

if( isset($attr_row) && !empty($attr_row) ) {
	$class = 'products products-grid';
} else {
	$data_responsive = '';
	$data_responsive .= ' data-xlgdesktop='. $columns .'';
	$data_responsive .= ' data-desktop='. $screen_desktop .'';
	$data_responsive .= ' data-desktopsmall='. $screen_desktopsmall .'';
	$data_responsive .= ' data-tablet='. $screen_tablet .'';
	$data_responsive .= ' data-mobile='. $screen_mobile .'';
	$class = ($columns <= 1) ? 'w-products-list' : 'products products-grid';
}
?>
<div class="<?php echo esc_attr( $class ); ?>">

	<?php if( isset($attr_row) && !empty($attr_row) ) : ?>
		<div <?php echo trim($attr_row); ?>>
	<?php else : ?>
		<div class="row grid" <?php echo esc_attr($data_responsive); ?>>
	<?php endif; ?>

		<?php while ( $loop->have_posts() ) : $loop->the_post(); global $product; ?>

			<?php 
				$post_object = get_post( get_the_ID() );
				setup_postdata( $GLOBALS['post'] =& $post_object );
				
				wc_get_template( 'content-products.php', array('product_item' => $product_item,'screen_desktop' => $screen_desktop,'screen_desktopsmall' => $screen_desktopsmall,'screen_tablet' => $screen_tablet,'screen_mobile' => $screen_mobile) ); 
			?>

			<?php $count++; ?>

		<?php endwhile; ?>
	</div>
</div>

<?php wp_reset_postdata(); ?>

https://t.me/AnonymousX5 - 2025