WordPress.org

Forums

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

  1. jordanthegreat
    Member
    Posted 2 years 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

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by jordanthegreat
  • This topic is not resolved
  • WordPress version: 3.5.2

Tags

No tags yet.