Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi! What version of WooCommerce are you running?

    Thread Starter sbhagirath

    (@sbhagirath)

    Hi oscargare,

    Thanks for your quick reply .

    I am using Version 2.4.7 of woocommerce and WordPress 4.1.8 running Virtue theme.
    Problem shown for both simple product as well as variable product . get_price() function return 0 value and also show Warning: Missing argument 2 for WCPBC_Frontend::get_price() in /home/fourfour2/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/class-wcpbc-frontend.php on line 176

    Please solve my problem as soon as possible .

    Thanks
    sbhagirath

    Plugin Author Oscar Gare

    (@oscargare)

    Hi, I can’t reply this bug.
    This error can only occur if you call the function WCPBC_Frontend::get_price() from outside WooCommerce,for example some plugin o theme that directly call this function.

    I hope I could help you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wraning of get_price()’ is closed to new replies.