WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
get_price_html() in walker (2 posts)

  1. lidplussdesign
    Member
    Posted 1 year ago #

    is there way to get $product->get_price_html() in walker, any help are very welcome,

    thank you

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

  2. lidplussdesign
    Member
    Posted 1 year ago #

    the solution:

    product_id = new WC_Product($item->object_id);
    $item_output .= $product_id->get_price_html();

    hope it will help someone else,

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.