Database Table & API to get remaining product

Forums Maximum Products per User for WooCommerce Database Table & API to get remaining product

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #120872
    Moshtafizur
    Participant

    Hi Thirry,

    Thanks for reaching out.

    I have escalated this with our development team. They will get back to you as soon as they can.

    Kind regards,
    Moshtafizur

    #121169
    pablo-pacheco
    Participant

    Hi,

    Actually we’re only keeping these 2 metas on termmeta and postmeta tables:

    • _alg_wc_mppu_orders_data
    • _alg_wc_mppu_totals_data

    Unfortunately, I’m afraid there is not an easy way of getting such info. We’re using a combination of 2 methods to get the “remaining” data, alg_wc_mppu()->core->get_max_qty_for_product() and alg_wc_mppu()->core->get_user_already_bought_qty().

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