Why is the limit not working with the WC memberships plugin?

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #100608
    Pedro
    Participant

    Hello people, just bought the plugin but I think I’m missing something on the way of setting it up.

    I’m using WC Memberships to distribute limited digital files per month based on member’s plan.

    Basic Plan allows you to download 4 products every 30 days

    Pro Plan allows you to download 10 products every 30 days

    So I’ve set up Basic Plan formula like so [alg_wc_mppu limit="4" membership_plan="basic-plan"]

    And also set Mode as Product orders and Product quantity, and Date range to Last 30 days

    Testing this setup, the member can “buy” only 4 free products at once, but after “checking out”, they’re able to get 4 more products.

    What am I mising here?

    #100609
    Zohaib
    Participant

    Hi,

    Could you please make sure you have set the right order status under General settings. It might be that the order status is set as completed in the plugin’s settings and when a customer order’s it’s usually in pending status.

    #100610
    Pedro
    Participant

    Hello Zohaib, and thanks for your help. Changing order status got the job done 🙂

    But now I have one more question… Is it possible to check if client has already downloaded that item? Currently the product only shows the add to cart button, and even if the user already has that file, it try to add it again and count as 1 monthly download slot.

    Thanks

    #100611
    Zohaib
    Participant

    Hi Pedro,

    It’s not possible to confirm downloads, but it possible to confirm the purchase and limits.

    Under the Front end tab of the plugin’s settings, you can use the Validate on add to cart option. This will give a notice to users if they have reached their purchase limits.

    #100612
    Pedro
    Participant

    Zohaib, this options was already checked, but it’s still possible to buy again the same product.

    What I intend to do is, when user has already bought that product, they should not be able do buy it again, instead it should download the attached file to that product.

    Thanks.

    #100613
    Zohaib
    Participant

    Hi Pedro,

    It is possible to limit the number of products to each user. There are a number of ways to do this.

    Either in the Limits tab Enable the all products options and set the limit per user to 1. This way all products can only be purchased once by any user.
    Or in the Limits tab Enable the per product option and edit each individual product and enter the limit as 1. This way the products whose limits you set can only be purchased once.
    Use the Formula tab and enter a formula such as [alg_wc_mppu limit="18" user_id="2,5" product_id="100,110"] – Sets maximum limit to 18 for products 100 and 110 for users 2 and 5

    #100614
    Pedro
    Participant

    Zohaib, thanks for the answer. Setting all products limit to 1 worked like needed.

    One more question: is it possible to check if user has already bought that product and show download button (each product has only one file attached) instead of add to cart?

    Thank you again.

    #100615
    Zohaib
    Participant

    Hi,

    It’s not possible to validate downloads of products. The plugin can only check if purchase limits are reached.

    #100616
    Pedro
    Participant

    Zohaib, thanks for the answer and sorry for the delay, project stuck on visual stage and development went on stand-by, returning now.

    I’ve found another way to validate, so thank you 🙂

    That said, after the settings made before, a non-member can’t buy the subscription anymore, it says “You need to register to download patterns.” (it’s the message I set on plugin’s option). How can I make it possible to a non-member to subscribe?

    Thank you again.

    #100617
    Zohaib
    Participant

    Hi,

    It seems you are using the block guest options. Under the General settings Guests section can you please select Do nothing but block guests from purchasing products beyond the limits. Under Block method select According to limit options. You can also customize the block message and include a link for registration.

    #100618
    Pedro
    Participant

    Zohaib, by doing this, guests are now able to buy other products :/

    The scope is the following: the store will sell 2 membership plans (with WC Membership plugin), which should be purchaseable by everyone (guests will became users on order). These plans will allow access to 4 or 10 files/products per month.

    #100619
    Zohaib
    Participant

    You will have to use a workaround in this case which is to go to each individual product and edit it and check the block guests option.

    #100620
    Pedro
    Participant

    Hello Zohaib, it’s me again.

    Project got stuck in other issues and I’m back to it again.

    Things are not very clear, could you please help me setting up from the beginning? After many changes I can’t figure out how to get back on track here.

    To clear things up: guests should be able to buy just on of the memberships (with WC Memberships) plans. After that, users are able to download (4 or 10) files/month, and all these files are under the same Patterns product category.

    How should I proceed with that?

    Thanks again!

    #100621
    Pedro
    Participant

    I misspelled the phrase

    …guests should be able to buy just one of the memberships (with WC Memberships) plans…

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