Add Meta Description to Opencart Information Pages

Working with Opencart version 1.5, however the script below is very easily editable to work with any version. The way it works is by simply adding a meta description column to your information database table, populating it when editing your information page and spitting it out into the html of your front end page. 1) […]

Display Part Number (Model) on Category Page – Opencart

Go to the catalog controller page: catalog/controller/catalog.tpl Find the line: ‘name’  => $result[‘name’], Insert another line below this: ‘model’ => $result[‘model’], Now you can echo the model on your main category template page.

Default Grid View Products/Categories – Opencart 2

Find the category.tpl file inside your template/product/ folder. Add the following code to the bottom of the page just below  <?php echo $footer; ?> <script type=”text/javascript”> $(document).ready(function() { if(typeof display == ‘function’) { display(‘grid’); } }); </script>

Contact Form 7 – Redirect to Thank You Success page

Instead of using the default success message in the Contact Form 7 WordPress Plugin you may wish to redirect users to a customised thank you / success page. This can be useful for showing extra information, tracking leads etc. Create the Contact Form 7 Redirect… Login to WordPress and Select Contact Forms from the sidebar […]

How to increase PHP memory limit for wordpress

If you run into a problem where your wordpress page is coming up blank or timing out there is a good chance the PHP memory is timing out. Have a look in your server’s error.log file and you might see something like the following [08-Sep-2014 12:35:06 UTC] PHP Fatal error: Allowed memory size of 50331648 […]