Why doesn’t the limit for membership appear to be working?

Top WooCommerce & WordPress Plugins Forums Maximum Products per User for WooCommerce Why doesn’t the limit for membership appear to be working?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #100792
    blankJesus
    Guest

    Hello,

    I have several products in a category.
    For a specific membership_plan, I would like to limit it to “1” the number of products the user can purchase with that membership.

    This means the member needs to choose 1 product from that category.

    I am using:

    [alg_wc_mppu limit="1" term_id="121910" membership_plan="free-trial"]

    The term_id I am catching from the URL once I get in the category. URL here:

    https://futmagazine.com/wp-admin/term.php?taxonomy=product_cat&tag_ID=121910&post_type=product&wp_http_referer=%2Fwp-admin%2Fedit-tags.php%3Ftaxonomy%3Dproduct_cat%26post_type%3Dproduct

    And it is not working after testing.

    Limit formula is enabled
    Limit Per product category is enabled
    Limit Per product tag is enabled
    Limit Per product is enabled

    Note: in addition to that, for another membership plan the same products in that category can be purchased only 1 time. This is working well after establishing the limit per product to “1”.

    Please advise

    #100793
    blankZohaib
    Participant

    Hi,

    In the plugin’s settings, General > Order statuses¬†can you please add the relevant order statuses. These are the order statuses to which the limits should apply.

    Also I am not sure of the spacing in your formula. Could you please try and use:

    [alg_wc_mppu limit="1" term_id="121910" membership_plan="free-trial"]
    #100794
    blankJesus
    Guest

    Hello Zohaib,

    The statuses are inserted (Processing and Completed)

    I tried with your code and it is not working.

    I tried also adding a tag to the products and using it as the term_id ref. Also, it does not work.

    To summarise, the goal here is to limit to “1” the number of purchases of a free-trial user (membership plan) can do in a group of products (grouped by category or tag).

    Waiting for your suggestions

    #100795
    blankZohaib
    Participant

    Hi,

    Is it possible for you to share your WordPress dashboard access and we can take a look for you. You can send your details to [email protected]

    #100796
    blankJesus
    Guest

    Hello,

    I have sent you by email a token to access WP.

    Thank you,

    #100797
    blankJESUS MANUEL ORTIGOSA MARQUEZ
    Guest

    Hello Zohaib, any news of the developer? Thank you

    #100798
    blankZohaib
    Participant

    Hi,

    The team is looking into it and will get back to you soon.

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