- Posts: 4
- Thank you received: 0
Vendor product listing pagination
12 years 4 months ago #156039
by husq570
Vendor product listing pagination was created by husq570
HI,
Could someone help me with pagination. Pagination not workin only in one place, when vendor login and goes to his product changes display type for example to show 40 product, pages is redirected to error 403, another problem is with pages. When i want to show next page click for example the second page, browser sceen goes to top but nothing more changes it display same vendor products.
-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.3
-- PHP version -- : 5.3.3
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Could someone help me with pagination. Pagination not workin only in one place, when vendor login and goes to his product changes display type for example to show 40 product, pages is redirected to error 403, another problem is with pages. When i want to show next page click for example the second page, browser sceen goes to top but nothing more changes it display same vendor products.
-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.3
-- PHP version -- : 5.3.3
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Please Log in or Create an account to join the conversation.
12 years 4 months ago #156091
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Vendor product listing pagination
Hi,
What is your HikaMarket version number ?
Regards,
What is your HikaMarket version number ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 4 months ago #156182
by husq570
Replied by husq570 on topic Vendor product listing pagination
Hikamarket multivendor newest version
Please Log in or Create an account to join the conversation.
12 years 4 months ago #156184
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Vendor product listing pagination
Hi,
I can't reproduce your problem in my Joomla 3.3 website.
I think it is related with the override of the pagination system.
Please edit the file "administrator/components/com_hikamarket/helper/helper.php" and replace
By
It should fix your problem.
Regards,
PS : Please understand that "newest" is not a version number. The latest available version is the 1.4.0 but the 1.4.1 is currently in preview/testing in several users websites. We will release it soon.
I can't reproduce your problem in my Joomla 3.3 website.
I think it is related with the override of the pagination system.
Please edit the file "administrator/components/com_hikamarket/helper/helper.php" and replace
Code:
protected function getPagination($max = 500, $limit = 100) {
if(empty($this->pageInfo))
return false;
jimport('joomla.html.pagination');
if($this->pageInfo->limit->value == $max)
$this->pageInfo->limit->value = $limit;
$pagination = new JPagination($this->pageInfo->elements->total, $this->pageInfo->limit->start, $this->pageInfo->limit->value);
$this->assignRef('pagination', $pagination);
return $pagination;
}
Code:
protected function getPagination($max = 500, $limit = 100) {
if(empty($this->pageInfo))
return false;
if($this->pageInfo->limit->value == $max)
$this->pageInfo->limit->value = $limit;
if(HIKASHOP_J30) {
$pagination = hikashop_get('helper.pagination', $this->pageInfo->elements->total, $this->pageInfo->limit->start, $this->pageInfo->limit->value);
} else {
jimport('joomla.html.pagination');
$pagination = new JPagination($this->pageInfo->elements->total, $this->pageInfo->limit->start, $this->pageInfo->limit->value);
}
$this->assignRef('pagination', $pagination);
return $pagination;
}
Regards,
PS : Please understand that "newest" is not a version number. The latest available version is the 1.4.0 but the 1.4.1 is currently in preview/testing in several users websites. We will release it soon.
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 4 months ago - 12 years 4 months ago #156555
by rada88496
Replied by rada88496 on topic Vendor product listing pagination
I have same issue, i replaced the code but problem remains...
I have update market and then made changes to code, problem fixed.
I have update market and then made changes to code, problem fixed.
Last edit: 12 years 4 months ago by rada88496.
Please Log in or Create an account to join the conversation.
12 years 4 months ago #156564
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Vendor product listing pagination
Hi,
Would it be possible to have some kind of access, something letting me see the problem directly and make some test ?
Thanks,
I can't still reproduce the problem.I can't reproduce your problem in my Joomla 3.3 website.
I think it is related with the override of the pagination system.
Would it be possible to have some kind of access, something letting me see the problem directly and make some test ?
Thanks,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 4 months ago #156744
by husq570
Replied by husq570 on topic Vendor product listing pagination
i fix this problem by doing this... \gk_news2\html\com_hikamarket\productmarket\listing.php in 253 line, change from "product" to "listing"
Please Log in or Create an account to join the conversation.
12 years 4 months ago #156746
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Vendor product listing pagination
Hi,
Good to know that you found the problem.
It is something we fixed in HikaMarket 1.4.0, I suppose that you had an override for the view before that. So the task wasn't right.
www.hikashop.com/forum/22-market-bug-rep...3-errors.html#151507
Regards,
Good to know that you found the problem.
It is something we fixed in HikaMarket 1.4.0, I suppose that you had an override for the view before that. So the task wasn't right.
www.hikashop.com/forum/22-market-bug-rep...3-errors.html#151507
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 4 months ago #156757
by husq570
Replied by husq570 on topic Vendor product listing pagination
Yes it is because of override, i was to tired to understand this, but thanks for your help and of course new update
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.200 seconds