Top WooCommerce & WordPress Plugins › Forums › Maximum Products per User for WooCommerce › Why doesn’t the limit for membership appear to be working?
- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 6 replies, 2 voices, and was last updated 1 year, 10 months ago by
Zohaib.
- AuthorPosts
- November 3, 2021 at 11:55 pm #100792
Jesus
GuestHello,
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 enabledNote: 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
November 4, 2021 at 2:40 pm #100793Zohaib
ParticipantHi,
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"]
November 4, 2021 at 7:30 pm #100794Jesus
GuestHello 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
November 5, 2021 at 5:06 pm #100795Zohaib
ParticipantHi,
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]
November 5, 2021 at 6:02 pm #100796Jesus
GuestHello,
I have sent you by email a token to access WP.
Thank you,
November 10, 2021 at 9:57 am #100797JESUS MANUEL ORTIGOSA MARQUEZ
GuestHello Zohaib, any news of the developer? Thank you
November 10, 2021 at 1:52 pm #100798Zohaib
ParticipantHi,
The team is looking into it and will get back to you soon.
- AuthorPosts
- You must be logged in to reply to this topic.