HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/wantglasses.co.uk/public_html/wp-content/themes/sg-window/woocommerce.php
<?php
/**
 * The template for displaying woocommerce archive pages.
 *
 * @package WordPress
 * @subpackage sgwindow
 * @since SG Window 1.0.0
 */
get_header(); 

$sgwindow_layout_name = ( is_shop() || is_archive() ? 'layout_shop' : 'layout_shop-page' );
$sgwindow_layout = sgwindow_get_theme_mod( $sgwindow_layout_name );
global $woocommerce_loop;
$sgwindow_columns = 4;

if ( ! empty( $woocommerce_loop['columns'] ) )
	$sgwindow_columns = apply_filters( 'loop_shop_columns', 4 );
if ( is_singular() )
	$sgwindow_columns = 0;
?>

<div class="main-wrapper woo-shop <?php echo esc_attr($sgwindow_layout); ?> flex-layout-<?php echo esc_attr( $sgwindow_columns ); ?>">

	<div class="site-content"> 
		<div class="content"> 
			<?php if ( is_singular() ) : ?>
			<div class="content-container">
			<?php endif; ?>
	
					<?php woocommerce_breadcrumb(); ?>
					<?php woocommerce_content(); ?>
					<?php do_action( 'sgwindow_after_content' ); ?>	

			<?php if ( is_singular() ) : ?>
			</div><!-- .content-container -->
			<?php endif; ?>

		</div><!-- .content -->
		<div class="clear"></div>	
	</div><!-- .site-content -->
	<?php sgwindow_get_sidebar( $sgwindow_layout ); ?>

</div> <!-- .main-wrapper.woo-shop -->

<?php
get_footer();