WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Variable set in taxonomy-product.php not available in archive-product.php (1 post)

  1. jordanthegreat
    Member
    Posted 1 year ago #

    Ok I may be dumb but why is this not working.

    I added this line to taxonomy-product.php:

    $tracktotal = $wp_query->found_posts;

    Now in archive-product.php I expect to be able to use the variable $tracktotal but it's not working. What am I missing?

    Thanks,
    Jordan

    http://wordpress.org/extend/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.