Please could you advise of the best way to implement a View All Link.
The previous developers were using JavaScript to set a hidden field to none <input id="evo-limit" type="hidden" name="limit" value="0"> and rerun the filter, this is not working.
I've recently updated all the Toolset Plugins - Views to 2.8.0.1 and Woocommerce Views to 2.79
Hello. Thank you for contacting the Toolset support.
Well - Can you please share screenshot where I can see the "View ALL" link and where exactly its applied?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Well - I do not see any reference with the field you shared <input id="evo-limit" type="hidden" name="limit" value="0">
This looks also the "view ALL" link it not part of Toolset: View all
I mean its custom coded by your Dev and such custom edits are not supported as per our support policy. I would recommend you to contact your Dev and ask him to fix this issue as this is implemented using custom programming.
Well - to implement "View All" feature I've added the following taxonomy view filter by term ID that should be passed as view's shortcode attribute:
=> hidden link
And then within your archive, I've added the view as given under:
Thanks for implementing that Minesh, that is a step in the right direction but the behaviour we require is:
1. Click view all button.
2. All the products of the current of category are displayed, without paging.
I was trying do this achieve by either removing the paging when you click view all or increasing the limit to a arbitrary large value so paging wouldn't be shown.
Yes - for that you should set your archive without pagination.
However to display all the posts without pagination is not a good idea it will affect the performance, let's say you have 500 posts to load on a single page without pagination. Its too much.
How could we do this dynamically, so the archive loads with pagination first and then will only turn pagination off or set a higher limit when the view all link is clicked?
New threads created by Minesh and linked to this one are listed below:
That's another issue. Please mark resolve this ticket. As per our support policy, we entertain only one question per ticket that will help us to write correct problem resolution summery for which ticket originally created.