woocommerce product archive page visual hook guide hfarazm

WooCommerce Visual Hook Guide for Archive Page

In WooCommerce, Wordpress by Shabnam Rafique BajwaLeave a Comment

Today we are going to demonstrate WooCommerce hooks for the product archive page through a visual hook guide. The WooCommerce product archive page allows you to list products related to a category. You can customize the WooCommerce product archive page using the following hooks. But first, let’s analyze how a WooCommerce archive page looks like:

Archive page example

WooCommerce Visual Hook Guide: Product archive page

Following are WooCommerce product archive page hooks that you can use to customize your product archive pages. Simply open your theme’s function.php file and then add hooks using add_action followed by hook name. 

Visual Hook guide of archive page

https://businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/

Wocommerce add_action for Product Archive Page

You can use these hooks to add trigger custom functions at desired location on product archive page in WooCommerce.

Example to add a Hook to Archive page:

Suppose you need to add a shop description underneath the ‘Shop’ title. You can add this by using following hook.

I hope this article helps you. If you feel any difficulty you may comment below. If you want to know more about WooCommerce hooks, click here https://docs.woocommerce.com/wc-apidocs/hook-docs.html 

Thanks.

About the Author
Shabnam Rafique Bajwa

Shabnam Rafique Bajwa

Shabnam Rafique Bajwa is working as a Content writer at HFarazm. Her educational background is in Software Engineering from the University of Lahore and Masters in Software Engineering from Superior University.

Leave a Comment