If you are using bootstrap template for your online store, you will notice that the cross sell module is shown incorrectly on a mobile device, for example:
In this article, i will share a new cross sell module to you. It works smoothly both in pc and mobile devices. Please have a loot at following video demonstration:
As you can see from the video, the product images are loaded lazily. This will improve the performance for mobile device because only part of the images are loaded.
How to apply it for your store?
Step 1. Download the package at https://www.dropbox.com/s/ckyhhhfa3otoiws/mobile-cross-sell.zip?dl=0
Step 2. Unzip the package and copy the ext and includes folds into your TomatoCart root directory. Just override the original files.
Step 3. Open index.php under template/bootstrap fold to edit as follow:
— Find the following lines:
— Add following code after it:
That’s it. It’s easy to integrate this module into your store. Enjoy it.