HEX
Server: Apache
System: Linux web2046c1.megawebservers.com 5.14.0-570.37.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 28 10:41:06 UTC 2025 x86_64
User: absolutespace.ca (53202)
PHP: 7.4.33
Disabled: apache_get_modules,apache_get_version,disk_free_space,phpinfo,exec,shell_exec,passthru,system,proc_nice
Upload Files
File: /services/webpages/a/b/absolutespace.ca/public/wp-content/themes/construction/woocommerce.php
<?php
/**
 * Custom Woocommerce shop page.
 *
 * @package WPCharming
 */

global $woocommerce;
$page_layout = get_post_meta( woocommerce_get_page_id('shop'), '_wpc_page_layout', true );
$hide_page_title = get_post_meta( woocommerce_get_page_id('shop'), '_wpc_hide_page_title', true );

wpcharming_get_header() ?>
		
		<?php
		if(is_shop() || is_product_category() || is_product_tag() || is_product()) {
			wpcharming_get_page_header(woocommerce_get_page_id('shop'));
		}
		?>

		<?php 
		global $post;
		wpcharming_get_page_header($post->ID);
		?>
		
		<?php
		if ( $hide_page_title != 'on' ) {
			if ( $woocommerce && is_shop() || $woocommerce && is_product() || $woocommerce && is_product_category() || $woocommerce && is_product_tag() ) {
				?>
				<div class="page-title-wrap">
					<div class="container">
						<h1 class="page-entry-title left">
							<?php woocommerce_page_title(); ?>
						</h1>
						<div class="shop-elements right">
							<a href="<?php echo $woocommerce->cart->get_cart_url(); ?>" class="portfolio-next" title="<?php echo __('Your Shopping Cart', 'wpcharming') ?>"><i class="fa fa-shopping-cart"></i></a>
						</div>
					</div>
				</div>
				<?php
			}
		}
		?>

		<?php wpcharming_breadcrumb(); ?>

		<div id="content-wrap" class="<?php echo ( $page_layout == 'full-screen' ) ? '' : 'container'; ?> <?php echo wpcharming_get_layout_class(); ?>">
			<div id="primary" class="<?php echo ( $page_layout == 'full-screen' ) ? 'content-area-full' : 'content-area'; ?>">
				<main id="main" class="site-main" role="main">

					<?php woocommerce_content(); ?>

				</main><!-- #main -->
			</div><!-- #primary -->
			
			<?php echo wpcharming_get_sidebar(); ?>
				
		</div> <!-- /#content-wrap -->

<?php
get_footer();