Divyesh Prajapati

Show images in suggested search result

  Follow the steps give below to show product images in search result. 1. Open controllers/front/SearchController.php file find code (line #60 Approx.) [crayon-59977b55b5706469477048/] And replace this with code given below [crayon-59977b55b570e784537430/] 2. Open themes/YOUR_THEME/js/modules/blocksearch.js file find code [crayon-59977b55b5713908050594/] and replace with code given below [crayon-59977b55b5716902357718/] Thats’ It!!! ūüôā  Read more …
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-59977b55b5df1083266193/] and change it to [crayon-59977b55b5df7997119959/]   2. To make Product Reference unique open AdminProductsController.php (...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-59977b55b6134800808307/] And replace this with below code [crayon-59977b55b613a521029285/] 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 …
Divyesh Prajapati

Attribute Dropdown on Product Listing Page

Hi All, I have tried to show attribute combinations on product listing page in prestashop 1.6.0.14 ( for defalut theme ) and adding products to cart from the same page it self and it worked for me. I am going to give brief steps here; Just follow the instruction given...Read more …
Divyesh Prajapati

Inline fancybox not opening second time ?

Inlinne fancybox is not opening second time because of jQuery library version compatibility. In that case you can try some tweaks and tricks as mentioned below and hope it will work for you !!! It worked for me. If you are using¬†jquery.fancybox-1.3.4.pack.js then do below changes in that. Find :...Read more …