Support » Plugin: Stock Locations for WooCommerce » Addable product quantity only by stock location quantity

  • Resolved fabioalgomera

    (@fabioalgomera)


    Hi..
    I have 3 locations: A (3 pcs), B (5pcs) and C (1pcs).

    When I’m in the product page, I select the location A and try to add quantity in the cart, but the button exceed the location A quantity (3pcs) with a maximum of 9 (3+5+1)..
    How can I set the button maximum quantity when a location is selected?

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    So you want to restrict the quantity to per location qty. or sum of all location stock value?

    Thread Starter fabioalgomera

    (@fabioalgomera)

    Yeah I need to restrict the quantity by the default (or selected) location, not the sum of all locaitons..
    For now I resolve by “disable” the locations B and C..

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Perfect, actually earlier this feature was enabled but one of the plugin users asked me to make it sum of locations stock value because he convinced me as it is the total stock of the store so let it be like this.

    Thread Starter fabioalgomera

    (@fabioalgomera)

    This is right if you turn on the auto allocation option. But if it’s off, the right choice for me is keep the quantity of the selected location..

    No problem.. I hope to solve it in another way..

    Thank you..!

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    You are right but if auto allocation is OFF, still admin can receive the orders and assign the location manually as it was the very basic feature of this plugin. So sum of locations stock value justified for now.

    Thread Starter fabioalgomera

    (@fabioalgomera)

    Ok.. No problem..
    I hope to solve it in another way for my own needs..

    Thank you..! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.