Dev

Dev brings you the power of programming and App Development with classic code snippets.

Optimisation Tips For Magento and Magento2 – Part 1

Optimisation Tips For Magento and Magento2 – Part 1

Optimisation is the most critical part of any application. There are some common mistakes we do in magento or magento2. There are some useful tips that will help you to optimise your code and application. Collection Size If you need to check the collection size, don’t use $collection->count() or count($collection). Instead of these use $collection->getSize() […]

Read More

Session Management in Opencart Version 3.x

Session Management in Opencart Version 3.x

With the launch of Opencart Version 3, Opencart has discontinued the use of native session. Opencart has introduced the “maintaining of the session using database” in the version 2.2.0.0 and “maintaining using the file” in the version 2.3.0.0 but still, it continued to use the native PHP session ($_SESSION). In version 3, Opencart is using file by […]

Read More