ok thanks
i was thinking your developers tab talk about that ?
For example, you may want to modify quantities by user role – in this case you will need to add something like this to your (child) theme’s functions.php file:
add_filter( ‘alg_wc_pq_get_product_qty_min’, ‘my_product_qty_min_by_user_role’, 10, 2 );
function my_product_qty_min_by_user_role( $qty, $product_id ) {
$current_user = wp_get_current_user();
return ( in_array( ‘administrator’, $current_user->roles ) ? 5 : $qty );
}