Divyesh Prajapati

Product’s Reference code field to be required and unique

Hi All, To have product reference unique and required just need to change two core files. Follow the steps given below. 1. To make product reference required. Open file Product.php ( /classes/Product.php ) Find code [crayon-5a16fcef2de2c737697048/] and change it to [crayon-5a16fcef2de33358313412/]   2. To make Product Reference unique open AdminProductsController.php (...Read more …
Harrisonm

How to completely disable the WordPress auto updates

If you want to disable the WordPress auto updates completely, open the wp-config.php file and add this line to it: [crayon-5a16fcef2e541577249373/] How to disable core auto updates but enable plugins and themes auto updates If you want to stop the autoupdates of the WordPress core, but to enable them for...Read more …
Divyesh Prajapati

Show always grid/list view first in product listing in Prestashop 1.6.x.y

Open global.js file from /themes/YOUR_THEME/js/ folder and find function bindGrid() in that. Find code [crayon-5a16fcef2eacc659664166/] And replace this with below code [crayon-5a16fcef2ead2884691974/] By doing this it will always show you grid view when you load your listing page. If you want to have list view always then you need to replace code as shown...Read more …