Top WooCommerce & WordPress Plugins › Forums › Maximum Products per User for WooCommerce › Which shortcode should I use to display the total amount purchased?
- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 2 replies, 2 voices, and was last updated 2 years, 10 months ago by
Tom Anbinder.
- AuthorPosts
-
November 23, 2020 at 8:04 am #100512
thevenard
GuestHi,
i’d like to use your plugin to limit users to but for exemple a maximum of 1000 euros for the whole cumulated products. Your pluging do that well.
But which shortcode to use to display the cumulated amount purchased during the time frame without showing a detail per product?for exemple if customer has a limit of 1000€, and bought
– product 1 : 200€
– product 2 : 250€I’d like to display :
remaining : 550€
bought : 450€
limit : 1000€thanks for your help
November 25, 2020 at 9:43 am #100513thevenard
Guestany answer? thanks a lot
November 25, 2020 at 9:26 pm #100514Hi,
Sorry for the late reply.
I’m not sure if I understood you correctly: by “… for the whole cumulated products…” – you mean you are using our “Per product category” option (and “product 1” and “product 2” both belong to that category)? If that’s the case, you can get category info with our
[alg_wc_mppu_term_limit]
shortcode, e.g.:[alg_wc_mppu_term_limit taxonomy="product_cat" term_slug="t-shirts" template="Remaining: %remaining%"] [alg_wc_mppu_term_limit taxonomy="product_cat" term_slug="t-shirts" template="Bought: %bought%"] [alg_wc_mppu_term_limit taxonomy="product_cat" term_slug="t-shirts" template="Limit: %limit%"]
Also, if you are going to display it on a single product page, you can use our
[alg_wc_mppu_current_product_limit]
shortcode as well, e.g.:[alg_wc_mppu_current_product_limit template="Remaining: %remaining%"] [alg_wc_mppu_current_product_limit template="Bought: %bought%"] [alg_wc_mppu_current_product_limit template="Limit: %limit%"]
Please let me know if I misunderstood the question. If you wish, you can contact me directly via [email protected]. Also, if you wish, you can share access to your site, so I could log in and help you with setting it up.
- AuthorPosts
- You must be logged in to reply to this topic.