Reply To: Why am I having issues with the [alg_wc_mppu_user_product_limits] shortcode?

Top WooCommerce & WordPress Plugins Forums Maximum Products per User for WooCommerce Why am I having issues with the [alg_wc_mppu_user_product_limits] shortcode? Reply To: Why am I having issues with the [alg_wc_mppu_user_product_limits] shortcode?

#101010
Neil Dickinson
Participant

Hi, 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 classes

so 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