Works on these pages:
- Product details page
- Manual install elsewhere
Whether you're a corporate or small business using the nopCommerce shopping cart, displaying close up details of products is essential.
The nopCommerce open source e-commerce solution doesn't come with a built-in product image zoom. That's where we come in. Install Magic Zoom and allow customers to view product images in detail.
By default, the zoom appears to the side. But other options available are an internal zoom, full preview and magnifier (circle and square).
Fully responsive, this nopCommerce product zoom automatically scales images up and down to fit users' screen size.
Need a nopCommerce image zoom which zooms and enlarges, try Magic Zoom Plus. The lightbox feature enlarges to full-screen, perfect for customers swiping through images on handheld devices.
Features you'll love...- Responsive
- Fast
- SEO friendly
- Image caching
- Easy to customise
- Auto image resizing
- Scrollable thumbnails
- Supports all templates
- Watermarked images
- On-demand loading
- Regularly updated
- jQuery compatible
- One-off payment
- Responsive
- Fast
- SEO friendly
- Image caching
- Easy to customise
- Auto image resizing
- Scrollable thumbnails
- Supports all templates
- Watermarked images
- On-demand loading
- Regularly updated
- jQuery compatible
- One-off payment
Installation
- Download Magic Zoom (free and fully functional demo version).
- Unzip the file and copy the magiczoom folder to the Scripts folder in the root of your web server.
- Download this file: magic-nopcommerce.js (right click it and "Save as"), then copy that file to the magiczoom folder.
Insert the following at the end of the \Views\Product\_ProductDetailsPictures.cshtml (nopCommerce 3.40) or Views\Catalog\_ProductDetailsPictures.cshtml (older nopCommerce versions):
<script>var MagicToolbox_toolName = 'MagicZoom';</script> <script src="/Scripts/magiczoom/magiczoom.js"></script> <script src="/Scripts/magiczoom/magic-nopcommerce.js"></script> <link rel="stylesheet" href="/Scripts/magiczoom/magiczoom.css">
- Now your images should zoom! Contact us if you need help.
- Enjoy!
- Buy Magic Zoom To upgrade your free and fully functional trial version of Magic Zoom (which removes the "Trial version" text), buy Magic Zoom. Then overwrite the demo magiczoom.js file with the one from your licensed version.
Add 360 spins
Add a 360 viewer to your product page to display products from every angle. This is possible with our service Sirv. Based on a monthly subscription (free plan available), Sirv serves gorgeous spins to your store effortlessly.
- Install Magic Zoom.
- Create your Sirv account.
- Create a new folder in your Sirv account called products.
- Open the products folder and create another new folder. Name it to match the product ID in nopCommerce.
- Upload your set of product images to the new folder and a 360 spin will be generated.
- To activate Sirv, add following code to your page:
<script> var SirvID = 'YOUR-ACCOUNT-ID', SirvSpinsPath = 'products/{product-id}/{product-id}.spin'; </script>
(replacing YOUR-ACCOUNT-ID with your Sirv account ID).
- The 360 spin will now appear next to the other product images (you may need to refresh the page). If you need help, contact our support team.
Uninstallation
Thanks for trying Magic Zoom on your nopCommerce site! What did you hope Magic Zoom could do? How can we improve it? Let us know, we're always improving our tools based on customer feedback.
Delete the following code from the end of the \Views\Product\_ProductDetailsPictures.cshtml (nopCommerce 3.40) or Views\Catalog\_ProductDetailsPictures.cshtml (older nopCommerce versions):
<script>var MagicToolbox_toolName = 'MagicZoom';</script> <script src="/Scripts/magiczoom/magiczoom.js"></script> <script src="/Scripts/magiczoom/magic-nopcommerce.js"></script> <link rel="stylesheet" href="/Scripts/magiczoom/magiczoom.css">
- Delete the magiczoom folder from the Scripts folder in the root of your web server.
- Magic Zoom is now uninstalled.
FAQ
I want an internal image zoom
No problem! Use zoomPosition: 'inner' to create an internal image zoom. This is how your code will look:
<script> var mzOptions = { zoomPosition: 'inner' }; </script>
There are over 40 options to choose from to customize Magic Zoom exactly how you want.
Customer reviews
Submit your review
Your review has been received and will be posted soon.
Other nopCommerce extensions
Try our other great image effects!
These instructions are for nopCommerce, the open source e-commerce shopping cart. They will help you integrate our JavaScript image tools by referencing external JS files on your product pages.