Created
December 11, 2015 16:20
-
-
Save haydenbbickerton/b0ddeb220c85f214c55d to your computer and use it in GitHub Desktop.
Opencart (vQmod) Custom Items per Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<modification> | |
<id>Custom Items per Page</id> | |
<version>0.0.1</version> | |
<vqmver>2.3.0</vqmver> | |
<author>Hayden - https://github.com/haydenbbickerton</author> | |
<file path="catalog/controller/product/" name="category.php,manufacturer.php,search.php,special.php"> | |
<operation error="log" info="Change the limits. The first number is adjusted in Settings > Option > Default Items Per Page"> | |
<search path="path/to/" position="replace"><![CDATA[$limits = array_unique(array($this->config->get('config_catalog_limit'), 25, 50, 75, 100));]]></search> | |
<add><![CDATA[$limits = array_unique(array($this->config->get('config_catalog_limit'), 32, 64, 128));]]></add> | |
</operation> | |
</file> | |
</modification> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment