Reply 190583 to: PHP Fatal error: Uncaught Error: Call to a member function get_price_html()

Avatar: Olga Barlow
Olga Barlow
Support staff
April 8, 2018 at 14:02

Hello,

We’ll fix it in next theme update. To fix it now find in xstoreframework/theme-functions.php file
etheme_ajax_search_action() function http://prntscr.com/j22ny9
Find $_product = wc_get_product( get_the_ID() ); replace by

global $woocommerce;
$_product = new WC_Product( get_the_ID() );

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.