Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

gen78

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

gen78's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter

Recent Badges

0

Reputation

  1. Спасибо за ответ, но мне были нужны куда проще масштабы. Все оказалось очень просто. В контролер "catalog/controller/product/category.php" добавить if ($category_info['category_id'] == '123'){ $limit=100; } где 123 - id категории и vqmod <file name="catalog/controller/product/category.php"> <operation> <search position="after"> <![CDATA[ $category_info = $this->model_catalog_category->getCategory($category_id); ]]> </search> <add> <![CDATA[ if ($category_info['category_id'] == '123'){ $limit=100; } ]]> </add> </operation> </file>
  2. Приветствую. Подскажите возможно ли такое реализовать в опенкарте 1.5.6 Нужно вывести к примеру 1000 товаров при выборе отдельной категории, без параметра ?limit=1000 в адресной строке. Но при этом, чтобы все другие категории работали в штатном режиме, и количество товаров выводилось как обычно. Как як понимаю, нужно где-то в контролере добавить отдельный обработчик для ID нужной категории. Буду благодарен за любую помощь.
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.