hey anyone have this question?
here is the answer:
<a href="<?php echo JRoute::_ ('index.php?option=com_virtuemart&view=category&limit=5000&page=shop.browse&virtuemart_category_id=' . $this->category->virtuemart_category_id); ?>">- View All</a>
put that near a pagination or on top of the list of your products...
Where exactly do I put this?
Its a link.. so where ever you want it...
Where is anywhere? I am trying to input it in product categories in virtuemart. I just want the pagination to go from 25, 50, 75 , view all ...there is nowhere to put this link in the Category Pagination Sequence
if u want it in the pagination you will need to hack the pagination files -
the code above is just an example of a url that shows all the products
So there is no way to have a pagination with view all without hacking the code?
To include that within the pagination drop down list then possibly this can be done by an override of templates/[YourJoomlaTemplate]/html/pagination.php https://docs.joomla.org/Understanding_Output_Overrides
Or you could make an override of components/com_virtuemart/views/category/tmpl/default.php just to display the View all (or whatever you call it) link beside or under the usual pagination div.
Quote from: jenkinhill on December 09, 2015, 15:47:06 PM
To include that within the pagination drop down list then possibly this can be done by an override of templates/[YourJoomlaTemplate]/html/pagination.php https://docs.joomla.org/Understanding_Output_Overrides
Or you could make an override of components/com_virtuemart/views/category/tmpl/default.php just to display the View all (or whatever you call it) link beside or under the usual pagination div.
Thanks for the help, but I am still lost. What should I put in those files you mentioned? I would rather modify the pagination so that as I enter "25,50,75, view all" it knows that view all should display all the products in the category..Thanks in advance for helping a novice such as myself
Can anyone please help with this... this is a feature that literally on most online shops.. Please where do I put this info?
Quote from: elleclouds on December 09, 2015, 05:29:57 AM
Where is anywhere? I am trying to input it in product categories in virtuemart. I just want the pagination to go from 25, 50, 75 , view all ...there is nowhere to put this link in the Category Pagination Sequence
This was straight forward..any way to do this?
there is enough info from Jenks for this... have u tried?
If u don't have the coding skills then it is normal to learn them or employ someone who has...
If you want to override the pagination drop-down then the link I gave should help, but this is a Joomla question, so if you still don't understand then ask on the Joomla forum. Or as GJ says, commission a developer.