I need to know if is possible to have different levels of pricing with Marketpress plugin

I need to setup warehouse pricing and retail pricing, so basically product prices will vary if you are Visitor only or an approved warehouse vendor

  • Ash

    Hello @John

    Welcome to WPMU community!

    I hope you are well today and thanks for asking the question.

    If all logged in user is known as approved warehouse vendor, then you may try by adding the following in functions.php:

    function mp_logged_in_discount( $price ){
     if ( is_user_logged_in() ){
         return $price * 0.10;
       }
     }
     return $price;
    }
    
    add_filter( 'mp_product_price', 'mp_logged_in_discount' );

    Here 0.10 means you are reducing the price by 10% for the logged in users.

    Please let me know if you find this is helpful, or if you have any further questions.

    Cheers
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.