Call to a member function get_id() on string

This topic is: Resolved
  • Resolved
    Posted in: Final Price  
  • javierdev1967Purchased
    #77934

    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

    ThemeCompleteSite Admin
    #77936
    You must be logged in to see this reply.
    javierdev1967Purchased
    #77941
    You must be logged in to see this reply.
    ThemeCompleteSite Admin
    #77946
    You must be logged in to see this reply.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

No access!

You do not have permission to post to this forum.