• Resolved kiburisa

    (@kiburisa)


    Hi,

    I have implemented an access for wholesalers on a client’s website and we need that, only for this user role, orders can be placed for quantities greater than those available in stock and that, furthermore, this does not affect in any way said stock (that is, that the purchased units are not discounted).

    However, we cannot disable stock management because it is necessary for retail sales.

    I have found this filter:

    add_filter( 'woocommerce_payment_complete_reduce_order_stock', '_return_false' );

    but this still doesn’t allow adding more units than available stock to the cart.

    Any idea on how to approach this?
    Many thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ignore stock for wholesale price’ is closed to new replies.