feat: implement WooCommerce storefront foundation

This commit is contained in:
XShop
2026-09-13 19:51:31 +03:30
parent f11e1d650d
commit 00439fcea9
18 changed files with 871 additions and 65 deletions
@@ -0,0 +1,25 @@
<?php
/**
* Single product — wrapper delegates to Woo hooks + XShop gallery/layout.
*
* We keep Woo's core hooks (woocommerce_before_single_product, etc.) and
* render XShop gallery + summary via components. No business logic rewrite.
*
* WC version tested: 11.1.0
* Template version: 1.6.4
*/
defined('ABSPATH') || exit;
get_header('shop');
do_action('woocommerce_before_main_content');
while (have_posts()) {
the_post();
wc_get_template_part('content', 'single-product');
}
do_action('woocommerce_after_main_content');
get_footer('shop');