Home › Forums › Maximum Products per User for WooCommerce › Why am I having issues with the [alg_wc_mppu_user_product_limits] shortcode?
- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 5 replies, 2 voices, and was last updated 10 months, 1 week ago by
Pablo.
- AuthorPosts
-
August 2, 2022 at 8:33 am #101009
Neil Dickinson
ParticipantHello, i’ve bought the PRO version of your product. I’m having some issues with it.
Context: On my website, users can buy a 4-class gym pack, once they have bought this, they can buy a product (a gym class) only 4(limit) times.
I set this formula up in the tool
[alg_wc_mppu user_id="5" product_id="114" limit="4"]
I’ve set this up for the tab content
[alg_wc_mppu_user_product_limits]
Under Limits > I have Per Product Enabled
Under General > Mode is Product Quantities
This is partially working.
The user website frontend My Account – Product Limits tab. The data table is showing for the particular user – which is correct. The correct product is showing also. Only some of the table is show though. The columns for Remain, Bought, Max are not showing data, these coloumns are empty?
I have run a lot of order, but the limits doesn’t seem to calculate?
What am i missing in the setup. Happy to send screen shots.
thanks
Neil
August 2, 2022 at 8:47 am #101010Neil Dickinson
ParticipantHi, for some further context if it helps:
They’re will be several class packs for user to buy…
1 class pack = allowed to book 1 gym class
4 class pack = allowed to book 4 gym classes
10 class pack = allowed to book 10 gym classesso this might look like…
[alg_wc_mppu user_id="5" product_id="114" limit="4"] [alg_wc_mppu user_id="6" product_id="114" limit="1"] [alg_wc_mppu user_id="7" product_id="114" limit="10"]
Note, the product_id = 114 is the gym class that can be booked. This has a value of £0. The users pay upfront with the class pack.
Hope this helps
Neil
August 2, 2022 at 6:14 pm #101011Hi Neil,
You’re right, I’m sorry. There was a problem with the
[alg_wc_mppu_user_product_limits]
shortcode. I believe I was able to fix it on version 3.6.9 I just released. Please update the plugin and let me know if it works better.August 3, 2022 at 8:14 am #101012Neil Dickinson
ParticipantHi, that update works, and it now displays the table with the correct data.
The next issue i have found is that it’s not counting down when i buy a product.
I have processed and completed the order on the products.
Any thoughts why it wouldn’t count down?
thanks
Neil
August 3, 2022 at 9:10 am #101013Neil Dickinson
ParticipantHi, i’ve worked it out.
I had payments set as credit cards. But there is no payment method as the class are free.
I set the mode to blank, and now its doing the calculation correctly.
You can close this ticket.
thanks
Neil
August 3, 2022 at 5:50 pm #101014Ok, I’m glad it’s working now. See you 😉
- AuthorPosts
- You must be logged in to reply to this topic.