One of the problems faced by Prestashop users is "Layered Navigation". Layered Navigation gives your users the ability to do a more specific search or better way to sort products and prices to match expectations and improves user experience. Most of the time when Layered Navigation is enabled in the module area, it does not appear on the site. Note that layered navigation appears on category pages in Prestashop.
For the steps in enabling your layered navigation and making it work lets do the following;
1. In your back end go to Preferences >> SEO & Urls >> Turn on Friendly URL (Must be on for layered navigation to work)
2. Go to Modules >> Layered navigation Block >> See the template there and click on Edit >> Select All the Categories and Sub categories where you want Layered navigation >> You can manipulate other filters if you want but not usually necessary...
Recently we made a new video for our business and wanted to embed it with autoplay, remove related videos after play, then most of all to make the video responsive across all mobile platforms. Lets start with the following.
1. Remove suggested videos from youtube when the video finishes;
See a typical embed code below
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/AMUzoBIyyzw" frameborder="0" allowfullscreen></iframe>
The above video will show the video , and suggest videos when it finishes playing , but the following l embed will not;
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/AMUzoBIyyzw?rel=0" frameborder="0" allowfullscreen></iframe>
Note the addition of the highlighted ?rel=0
Actually this could be achieved before embedding by clicking on 'show more' options under the embed code in your youtube video and then unselect the show 'suggested videos when the video finishes'. The embed code will be adjusted as above.
2. Add autoplay to video when it loads and remove suggested videos;
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/AMUzoBIyyzw?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
Note the addition of &autoplay=1
In this blog we have written couple of solutions for PayPal errors affecting different versions of Prestashop, we guess we would continue writing this as time goes on. Recently some of our customers complained to us about not being able to make a PayPal payment on our website or recieve PayPal payments on their website. Actually somehow we missed the PayPal email update on the new security instructions for the Prestashop users. I'm sure the new PayPal modules would have updated this security issue but if you encounter problems , it is worth doing the following.
Making sure permissions are right on your modules/Paypal folders
Upgrade your PayPal module to the latest version
Go to modules/PayPal/api/paypal_connect.php , ind the following line
@curl_setopt($ch, CURLOPT_SSLVERSION, 3);
Change it to @curl_setopt($ch, CURLOPT_SSLVERSION, 4);
Goodluck with your shop.