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/public_html/wp-content/themes/puca/woocommerce/loop/ |
Upload File : |
<?php /** * Product Loop Start * * This template can be overridden by copying it to yourtheme/woocommerce/loop/loop-start.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 3.3.0 */ wp_enqueue_style('sumoselect'); wp_enqueue_script('jquery-sumoselect'); $columns = apply_filters( 'loop_shop_columns', 4 ); $screen_desktop = apply_filters( 'loop_shop_columns', 4 ); $screen_desktopsmall = apply_filters( 'loop_shop_columns', 4 ); $screen_tablet = 2; $screen_mobile = 2; $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 .''; $woo_mode = puca_tbay_woocommerce_get_display_mode(); ?> <div class="products products-<?php if ( $woo_mode == 'list' ) { ?>list<?php }else{ ?>grid<?php } ?>"><div class="row grid" <?php echo esc_attr($data_responsive); ?>>