I am using the wc_tc_final_price_total_text filter to modify the text 'Final Total' for a custom one that I get from a custom field. When I make a $ product->get_id (), having previously declared global $product, to get the custom field it throws me a fatal error: Call to a member function get_name () on string
Cookies are important to the proper functioning of our sites. To improve your experience we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests.
Click Agree and Proceed to accept cookies and go directly to the site or click on More Information to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site. Selecting "Ask me later" will enable cookies for the next 24 hours.