WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Showing data from product in page (2 posts)

  1. Mirko G.
    Member
    Posted 1 year 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 G.
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic