Greetings,

Hope everyone is doing well! 

Due to the Eid holiday, most of our team members will be unavailable from 11 May 2021 to 18 May 2021. During this time we will be unable to provide replies to any support-related queries. We will get back to you on 19 May 2021.

In the meantime, we appreciate your patience. 

Wishing you a Very Happy Eid holiday. 
Stay blessed & safe.

Thanks
Redq, Inc

Okay
  Print

How to use hook to show WooCommerce price in the grid?

// The filter callback function.
function example_callback($data)
{
    foreach ($data['allPosts'] as $key => $value) {
        $product = wc_get_product($value['ID']);
        $data['allPosts'][$key]['product_price_html'] = $product->get_price_html();
    }
    return $data;
}
add_filter('reactivepro_get_grid_all_data', 'example_callback', 10);

Now in the grid template code just use

{{{post.product_price_html}}}