Home › Forums › Support › woocommerce_product_get_price equals 0 in cart This topic has 1 reply, 2 voices, and was last updated 4 years, 8 months ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts January 13, 2020 at 5:48 am #1130436 Marinex Hi, I am trying to display a different price for logged in users but I cannot get it to work on the cart page and checkout. Any idea what I’m missing here? Here’s my code; add_action( ‘woocommerce_product_get_price’, ‘reseller_price’, 10, 2 ); function reseller_price( $price ) { if( is_user_logged_in() && ! is_admin() ){ $af_price = get_field( “af-pris” ); return $af_price; } return $price; } January 13, 2020 at 8:36 am #1130757 DavidStaff Customer Support Hi there, maybe this Stack topic will provide some pointers: https://stackoverflow.com/a/47788626 Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In