WordPress.org

Forums

WooCommerce
Showing data from product in page (2 posts)

  1. Mirko Grewing
    Member
    Posted 2 years ago #

    Hi,

    I am using a template that associates pages to products to show more details about the product. However the template used by this pages does not show some details such as stock units.

    I can get the product id via:
    $product=intval(get_post_meta($post->ID, '_course_product', true));

    but something like:
    echo $product->stock;

    does not show anything...

    Any help? :-)

    Thanks in advance.

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

  2. Mirko Grewing
    Member
    Posted 2 years ago #

    No answers... too difficult or too stupid question? :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic