WordPress.org

Ready to get started?Download WordPress

Forums

woocommerce hook doesn't run on main shop page (1 post)

  1. joeihb
    Member
    Posted 9 months ago #

    the woocommerce_before_shop_loop action doesn't seem to run in loop-shop.php when a product category isn't selected.

    for instance -- for the /shop/ page, it does not show the sort filter, but on shop/product-category/earrings/ page, it shows the sort filter as it should. any changes to that action only affects the product category pages, not the unfiltered main page.

    does anyone know a reason why this hook wouldn't work for the main page?

Reply

You must log in to post.

About this Topic