- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 13 replies, 4 voices, and was last updated 3 years, 1 month ago by Pablo.
- AuthorPosts
- November 2, 2021 at 3:54 am #100772Ugene TangParticipant
Hi I have the WooCommerce membership plugin. How do I use the formula shortcode?
November 2, 2021 at 4:02 am #100773Ugene TangParticipantI have got the PRO version of your plugin and this membership plugin (https://woocommerce.com/products/woocommerce-memberships/).
November 2, 2021 at 1:47 pm #100774ZohaibParticipantHi,
In the plugin’s settings, in the formula tab you can enter the formula to use.
To limit a product by membership level you can use a formula such as:
[alg_wc_mppu limit="5" membership_plan="basic"]
This will set the maximum limit of 5 products for the “basic” membership level. This is just an example though, and you exact formula will depend on your setup.
November 2, 2021 at 1:50 pm #100775UgeneGuest[alg_wc_mppu limit="1" memberhsip_plan="1-time-trial-membership" product_id="1197"]
I have used the formula above, but I could still purchase the product (1197). Is the membership plugin compatible with your plugin?
November 2, 2021 at 1:54 pm #100776UgeneGuest[alg_wc_mppu limit="1" memberhsip_plan="1-time-trial-membership" product_id="1197"]
I made 1 purchase but was still able to purchase more after the first purchase.
The membership slug is 1-time-trial-membership and the product id is 1197.I wish to limit the purchase to just 1 time.
November 2, 2021 at 2:21 pm #100777ZohaibParticipantHi,
In the plugin’s settings General > Order statuses please make sure the relevant order statuses are selected for which the limits should apply.
November 2, 2021 at 3:33 pm #100778Ugene TangParticipantHi,
The order statuses are set correctly to “Completed”.
November 3, 2021 at 12:23 am #100779Hi Ugene,
If you’re using the
product_id
attribute for the shortcode, please make sure to enable the “Limits > Per product” option.Let me know if it helps
November 3, 2021 at 8:07 am #100780Ugene TangParticipantHi, the per product is also enabled. But the plugin is still not correctly detecting the number of times a user can buy a product.
November 3, 2021 at 11:30 am #100781ZohaibParticipantHi,
If the order status is set to completed, it means the limits will only apply to users whose order status is marked as completed. Usually when a WooCommerce order is placed by default the order status is Processing. Can you try and add the processing status in General > Order statuses.
November 3, 2021 at 12:12 pm #100782Ugene TangParticipantHi,
The order is set to Complete and Processing from the beginning. It’s not able to correctly detect the number of times a user has purchased the class. As members can only purchase a limited amount of class for each membership. It applies the wrong formulas.
Is this membership plugin (https://woocommerce.com/products/woocommerce-memberships/) really compatible with your plugin?
November 3, 2021 at 6:25 pm #100783Yes, this is the membership plugin compatible with our plugin.
Would it be possible for you to create/share an admin account to your server (WP and preferably FTP), so I could login and check what’s going on? If that’s the case, please send a message to [email protected]
November 4, 2021 at 4:53 am #100784Ugene TangParticipantHi Pablo,
I have sent the required accounts to the email address.
November 9, 2021 at 1:05 am #100785Hi,
I’m just writing here to possibly help other users. The issue was a typo with the shortcode attribute:
[alg_wc_mppu memberhsip_plan=""]
instead of the correct one:
[alg_wc_mppu membership_plan=""]
- AuthorPosts
- You must be logged in to reply to this topic.