Welcome, Guest. Please login or register.
Login with username, password and session length


Need help or want to talk to other developers? Join the VirtueMart Chat! Read more...

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: Where does the limit URL come from for shop.browse  (Read 1123 times)
filterit
Full Member
***
Posts: 122


« on: February 15, 2010, 12:45:32 PM »


index.php?option=com_virtuemart&Itemid=99&category_id=26&lang=en&limit=30&limitstart=0&page=shop.browse

The above URL is causing me big problems with sh404sef.

What I realy want is for this URL to always have a limit of 100.  That way I do not end up with the same URL in sh404sef for limit 5,10,20,30,50.
It ends up the limit 5 gets picked by sh404sef and thus only 5 items get shown in the category.
I have no pagnation set for my categories so can not work out how this URL is apearing.
Logged
locoman
Jr. Member
**
Posts: 73


« Reply #1 on: February 16, 2010, 04:45:17 AM »

hello,

the limit is in the global config of your site.

List Length

Virtuemart takes it over and produce/reproduce them with a coockie. so if you chane it you also need to clear your coockies in your browser to see any effects.


now, SH404 sef has some support but it is a coockei problem.
sh404sef will create sef URL-s for any kind of limit.
limit 10. limit 20. limit 30 ....

the problem that is also in the latest payd for SH404 sef is that if you o to your cateory and click on page 2, than you live and try to come back, it will display the last page, so it is page 2. in the browser you will have the index page. you can try to the end of time and you will cannot go to page 1 again.

the trick is to go to sh404 sef configuration and to make a custom sef url for this.

index.php?option=com_virtuemart&Itemid=1&category_id=6&lang=ro&limit=20&limitstart=0&page=shop.browse
 and the sef something like cat-name/Page-1-20.html 

the only sef link that SH404sef do not does automaticaly is this. you will see in the rest of the url-s .../Page-2-20  .../Page-3-20 ... but noone wit page1.


so if you set your limit to 30 you will have .../Page-1-30...
Logged
Pages: [1]   Go Up
Print
Jump to: