- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 13 replies, 2 voices, and was last updated 3 years, 4 months ago by Pedro.
-
AuthorPosts
-
April 16, 2021 at 5:51 pm #100608PedroParticipant
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?
April 19, 2021 at 12:09 pm #100609ZohaibParticipantHi,
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.
April 19, 2021 at 12:20 pm #100610PedroParticipantHello 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
April 20, 2021 at 11:03 am #100611ZohaibParticipantHi 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.
April 20, 2021 at 11:10 am #100612PedroParticipantZohaib, 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.
April 22, 2021 at 6:47 pm #100613ZohaibParticipantHi 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 to18
for products100
and110
for users2
and5
April 22, 2021 at 9:32 pm #100614PedroParticipantZohaib, 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.
April 26, 2021 at 2:39 pm #100615ZohaibParticipantHi,
It’s not possible to validate downloads of products. The plugin can only check if purchase limits are reached.
May 10, 2021 at 2:02 pm #100616PedroParticipantZohaib, 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.
May 11, 2021 at 1:14 pm #100617ZohaibParticipantHi,
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.
May 11, 2021 at 4:59 pm #100618PedroParticipantZohaib, 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.
May 12, 2021 at 12:14 pm #100619ZohaibParticipantYou 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.
May 31, 2021 at 1:01 pm #100620PedroParticipantHello 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!
May 31, 2021 at 1:02 pm #100621PedroParticipantI misspelled the phrase
…guests should be able to buy just one of the memberships (with WC Memberships) plans…
-
AuthorPosts
- You must be logged in to reply to this topic.