Website Building » WooCommerce » What Template Does the WooCommerce Shop Page Use?

What Template Does the WooCommerce Shop Page Use?

Last updated on October 1, 2022 @ 3:19 pm

As the most popular eCommerce platform on the web, WooCommerce gives users plenty of flexibility when it comes to designing their online stores. One of the most important pages on any online store is the shop page, where customers can browse and purchase products. So what template does the WooCommerce shop page use?

The WooCommerce shop page uses a template called archive-product.php. This template can be found in the /wp-content/plugins/woocommerce/templates/ directory. If you’re using a custom theme, the template may be located in a different directory.

The archive-product.php template controls the layout of the shop page, and includes several different sections. The first section is the page title, which is followed by the main content area. This is where the products are displayed.

The next section is the sidebar, which is optional. Finally, there is the footer.

PRO TIP: The WooCommerce Shop Page is a powerful tool that allows you to manage your shop settings and products. However, it is important to note that this tool can also be used to delete your entire shop. Be sure to backup your shop before using this tool.

Each section of the archive-product.php template can be customized using action hooks and filters. Action hooks allow you to add content to a specific location in the template, while filters allow you to modify existing content.

For more information on how to customize the WooCommerce shop page, see the WooCommerce documentation.

In conclusion, the WooCommerce shop page uses a template called archive-product.php, which can be found in the /wp-content/plugins/woocommerce/templates/ directory. This template controls the layout of the shop page, and includes several different sections. The first section is the page title, which is followed by the main content area.

This is where the products are displayed. The next section is the sidebar, which is optional. Finally, there is the footer.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.