Top WooCommerce & WordPress Plugins › Forums › Maximum Products per User for WooCommerce › shortcode for limits table now shows all products instead of just limited prods
- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 5 replies, 2 voices, and was last updated 5 days, 19 hours ago by
Moshtafizur.
- AuthorPosts
- September 18, 2023 at 3:46 pm #124285
GW
ParticipantI don’t know why you made it behave like this when you updated, but when shortcoding the limit table to a page [alg_wc_mppu_user_product_limits] it needs to return JUST the limited products instead of all live products.
There is no documentation I can find on how to fix/tag this in the shortcode. Only the top item should be returned, as it was in the past.
see screenshot: https://imgur.com/a/hRaLNSh
September 18, 2023 at 6:46 pm #124294GW
ParticipantI’d also like to remove the Restrictions column completely, thanks.
I plugged the old version of class-alg-wc-mppu-shortcodes.php in there to see the effect. Or do I have to just run an older version?
What issues might that cause?
It would help to have documentation that tells me what customization that shortcode will allow.
Thanks
September 19, 2023 at 7:19 pm #124442Hi there,
Thanks for reaching out. I am sorry to know you are experiencing issues.
I have escalated this with our development team. They will get back to you as soon as possible.
Kind regards.
September 22, 2023 at 1:20 pm #124661GW
ParticipantI paid for the license and the support. If I have to run a previous version (that I also paid for twice), will I be getting a refund?
September 22, 2023 at 2:35 pm #124667GW
ParticipantThis works, but is a poor fix, as it still shows the products and restriction info in the page source.
.alg-wc-mppu-no-restrictions
{
display: none;
}.alg_wc_mppu_products_data_my_account th:nth-child(5) {
display: none
}.alg_wc_mppu_products_data_my_account td:nth-child(5) {
display: none
}Wouldn’t the preferable way be to keep it as it was? Use the table the shortcode provides to JUST display products with a limit, and nothing else?
Thanks again, hope you have a better fix than this CSS tweak.
September 22, 2023 at 4:56 pm #124673Hi there,
<p style=”color: #252525;”>This issue has already been escalated to our development team. I have marked the priority of this ticket as “Highest”. They will get back to you as soon as possible.</p>
Kind regards,
Moshtafizur - AuthorPosts
- You must be logged in to reply to this topic.