a problem in any autocomplete list in the dashboard that views only five options not all existent options.
how can I solve this problem?
regards
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
thanks for your help, but unfortunately I can't make this tweak because I new to open cart
regards
thanks for your help.
so yo need me to modify the core files of my Open Cart?
OK, but please confirm with me the method because I'm new in coding.
I will got to this directory for example "admin\controller\catalog\manufacturer.php" through ftp root access then I will open the file through sublime text and change the limit to what I need.
after finishing, how can I transfer the modified file again to my directory? should I delete the old file?
please help
thanks
Edit: Done, thanks for your help.
but I have two issues:
1- the field "related products" in "links" tab when I add new product still have a limit of 5 options although I modified "product.php" file.
2- I need the drop down menu of autocomplete to have a scroll bar to be able to get all of options in the page, because if the menu is longer than the page I can't get below options
regards
please reply to my previous post.DigitCart wrote: ↑Sun Dec 24, 2017 2:17 pmTry this:
viewtopic.php?f=190&t=187872#p685890
It will work in OpenCart 3.x too.
Clear all caches from your OC admin.1- the field "related products" in "links" tab when I add new product still have a limit of 5 options although I modified "product.php" file.
Requires an extension.I need the drop down menu of autocomplete to have a scroll bar to be able to get all of options in the page, because if the menu is longer than the page I can't get below options
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I cleared theme and SASS caches but related products field still have only 5 optionsClear all caches from your OC admin.
can you give me a link please, free is prefered
Requires an extension.
For v3.x releases of Opencart, ensure to see the following in your admin/controller/catalog/product.php file:I cleared theme and SASS caches but related products field still have only 5 options
Code: Select all
if (isset($this->request->get['limit'])) {
$limit = $this->request->get['limit'];
} else {
$limit = 5;
}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I have already increased this limit to 50 but no change.straightlight wrote: ↑Sun Dec 31, 2017 12:21 amFor v3.x releases of Opencart, ensure to see the following in your admin/controller/catalog/product.php file:
Number 5 can be changed from the autocomplete() method.Code: Select all
if (isset($this->request->get['limit'])) { $limit = $this->request->get['limit']; } else { $limit = 5; }
what can I do?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Done, thanks for your helpstraightlight wrote: ↑Sat Jan 06, 2018 10:05 pmClear your OC admin dashboard cache and also your admin - > extensions - > modifications - > refresh button to notice the changes.
In: admin/controller/catalog/product.php
Cheers!
Illustrator and Photoshop Expert - Knowledge in Html, CSS and Bootstrap, not very good at programing. Had plenty of years experience in Prestashop, but went over to Opencart
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Users browsing this forum: No registered users and 45 guests