at path:
ROOT
/
wp-content
/
plugins
/
woocommerce
/
templates
/
single-product.php
run:
R
W
Run
auth
DIR
2026-04-15 05:42:47
R
W
Run
block-notices
DIR
2026-04-15 05:42:47
R
W
Run
brands
DIR
2026-04-15 05:42:47
R
W
Run
cart
DIR
2026-04-15 05:42:47
R
W
Run
checkout
DIR
2026-04-15 05:42:48
R
W
Run
emails
DIR
2026-04-15 05:42:48
R
W
Run
global
DIR
2026-04-15 05:42:48
R
W
Run
loop
DIR
2026-04-15 05:42:48
R
W
Run
myaccount
DIR
2026-04-15 05:42:48
R
W
Run
notices
DIR
2026-04-15 05:42:48
R
W
Run
order
DIR
2026-04-15 05:42:48
R
W
Run
parts
DIR
2026-04-15 05:42:48
R
W
Run
product-form
DIR
2026-04-15 05:42:48
R
W
Run
single-product
DIR
2026-04-15 05:42:48
R
W
Run
templates
DIR
2026-04-15 05:42:48
R
W
Run
archive-product.php
2.36 KB
2026-04-15 05:42:47
R
W
Run
Delete
Rename
content-product-cat.php
1.61 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
content-product.php
1.94 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
content-single-product.php
2.21 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
content-widget-price-filter.php
2.34 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
content-widget-product.php
1.46 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
content-widget-reviews.php
1.48 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
dashboard-widget-reviews.php
1.57 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
product-searchform.php
1.57 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
single-product-reviews.php
6.27 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
single-product.php
1.62 KB
2026-04-15 05:42:48
R
W
Run
Delete
Rename
taxonomy-product-attribute.php
834 By
2026-04-15 05:42:48
R
W
Run
Delete
Rename
taxonomy-product-cat.php
827 By
2026-04-15 05:42:48
R
W
Run
Delete
Rename
taxonomy-product-tag.php
822 By
2026-04-15 05:42:48
R
W
Run
Delete
Rename
error_log
up
📄
single-product.php
Save
<?php /** * The Template for displaying all single products * * This template can be overridden by copying it to yourtheme/woocommerce/single-product.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://woocommerce.com/document/template-structure/ * @package WooCommerce\Templates * @version 1.6.4 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } get_header( 'shop' ); ?> <?php /** * woocommerce_before_main_content hook. * * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content) * @hooked woocommerce_breadcrumb - 20 */ do_action( 'woocommerce_before_main_content' ); ?> <?php while ( have_posts() ) : ?> <?php the_post(); ?> <?php wc_get_template_part( 'content', 'single-product' ); ?> <?php endwhile; // end of the loop. ?> <?php /** * woocommerce_after_main_content hook. * * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content) */ do_action( 'woocommerce_after_main_content' ); ?> <?php /** * woocommerce_sidebar hook. * * @hooked woocommerce_get_sidebar - 10 */ do_action( 'woocommerce_sidebar' ); ?> <?php get_footer( 'shop' ); /* Omit closing PHP tag at the end of PHP files to avoid "headers already sent" issues. */