NetSuiteNetSuite integration

If you use NetSuite, use these instructions to add our tools to your NetSuite website.

Instructions

The following instructions are for Magic Zoom™, but are identical for Magic Zoom Plus™, Magic Magnify™, Magic Magnify Plus™, Magic Thumb™ and Magic Touch™. Just replace the references to magiczoom with whichever tool you wish to use.

  1. Download the zip file for the tool you wish to install:
  2. Upload magiczoom.js and magiczoom.css to your file cabinet, at:
    "Documents > Files > File Cabinet > Web Site Hosting Files > Staging Hosting Files > site"
  3. Point your domain name's test URL to your NetSuite site e.g. http://test.example.com.
  4. Register your test URL in the Domains section like so:
    Hosted As=Web Store”, “Web Site=yourdomainname”, and “HTML Hosting Root=Staging Hosting Files”.
  5. Upload your product images to this location: “Lists > Web Site > Images” and set your desired image sizes for the small image and large: “Setup > Web Site > Image Resizing”.
  6. Reference the CSS and JS files via the “Addition to <head>” section of the “General” tab, at: “Setup > Web Site > Themes”. Alternatively, reference these two files in each of your lower level Item/Category Templates, in the “Addition to <head>” section, at: “Setup > Web Site > Item/Category Templates”.
  7. The code added to your <head> should look something like this:

    <meta http-equiv="imagetoolbar" content="no" />

    <link rel="stylesheet" href="/site/magiczoom.css" type="text/css" media="screen" />

    <script src="/site/magiczoom.js" type="text/javascript"></script>

    The code added to your <body> should look something like this:

    <a href="<%=getCurrentAttribute('item','storeDisplayImage')%>" class="MagicZoom">

    <img src="<%=getCurrentAttribute('item','storeDisplayImage')%>" alt="" height="300" width="300">

    </a>

Multiple images

Instructions for adding zooming to multiple product images on the same page:

  1. Add custom fields, to hold the images in the template, within NetSuite at:
    Setup > Customization > Item Fields”
  2. Create new custom fields, enough to hold the maximum number of alternate images for any one item in your inventory. Your parameters should look something like this:
    Label: Alternate Image01 (use 2 digit numbers starting with 01)
    ID: _alternateimage01 (when saved, NetSuite adds the prefix “custitem”)
    Owner: select from dropdown menu
    Type: Image
    Store Value: check
    Applies To: check appropriate item type, e.g. Inventory Item
    Display: Subtab: Select Inventory from the dropdown menu
  3. Add alternate images to each of your items at:
    List > Website > Items”
    Inventory” tab> list all appropriate Alternate Images for each item here
  4. Find the appropriate place in your Item/Category Template code, and add the following code. For example, you need to add an additional row, and span across 3 columns, in the Products (item drilldown) Item/Category Template. Add your desired height and width parameters for your alternate images. Hint: click on the outside of the NetSuite code window, before clicking Save, and NetSuite will automatically do a background syntax check.
  5. Your code should look something like this:

    <TR><TD colspan=3>

    <script type="text/javascript">

    <!--

    var altimages = new Array(

    "<%=getCurrentAttribute('item','custitem_alternateimage01')%>" ,

    "<%=getCurrentAttribute('item','custitem_alternateimage02')%>" ,

    "<%=getCurrentAttribute('item','custitem_alternateimage03')%>" ,

    "<%=getCurrentAttribute('item','custitem_alternateimage04')%>" ,

    "<%=getCurrentAttribute('item','custitem_alternateimage05')%>" ,

    "<%=getCurrentAttribute('item','custitem_alternateimage06')%>" ,

    "<%=getCurrentAttribute('item','custitem_alternateimage07')%>" ,

    "<%=getCurrentAttribute('item','custitem_alternateimage08')%>" ,

    "<%=getCurrentAttribute('item','custitem_alternateimage09')%>"

    );

    for (var i = 0; i < altimages.length; i++) {

    if (altimages[i] == "" || altimages[i].substr(0,6) == "[Error") {

    }

    else {

    if (i == 0) {

    document.write("<BR><BR>Alternate images:<BR><BR>");

    }

    document.write(

    "<a href=\"" + altimages[i] + "\" " +

    "rel=\"zoom-id:mainImage\" " +

    "rev=\"" + altimages[i] + "\" " +

    ">" +

    "<img src=\"" + altimages[i] + "\" " +

    "height=\"80\" width=\"80\" alt=\"\"/>" +

    "</a>"

    );

    document.write("&nbsp;&nbsp;");

    }

    }

    //-->

    </script>

    </TD></TR>

  6. Add id=”mainImage” to your code, which now should look like this:

    <body>

    <!-- Default image sizes set in Image Resizing; Returns URL (Big Image) and IMG Tag HTML (Small Image) respectively -->

    <!-- IMG Tag and attributes, instead of attribute “storedisplayimagehtml”, required here for Alternate Image process -->

    <!-- Set your desired height & width parameters -->

    <a href="<%=getCurrentAttribute('item','storeDisplayImage')%>" id=”mainImage” class="MagicZoom">

    <img src="<%=getCurrentAttribute('item','storeDisplayImage')%>" alt="" height="300" width="300">

    </body>

Notes

  • NetSuite requires only one image for a product and resizes it dynamically as it is used across your site. NetSuite does not require you to upload different sizes for the same image. Images uploaded can have a width or length of up to 5000 pixels.
  • For help pointing your domain name to your NetSuite website, see: Pointing Domain Names at NetSuite.
  • When you test your changes, force refresh the page so that all files are downloaded again and not from your browser cache. If your changes do not readily appear, use “Setup > Web Site > Preview Web Site” to test your changes instead.
  • Special thanks to Gary Johnson for help with this ste-by-step "how-to" guide.

Installation of Magic Slideshow™ or Magic Scroll™

To install Magic Slideshow™ or Magic Scroll™, contact us and we will look at your NetSuite site to determine what is required. There are no standard installation instructions - it depends which page you wish to slide images on, how many images, what size and so on.

About

These instructions are for NetSuite. Use them to add effects to your website including image zoom on hover/mouseover; image lightbox (enlarge image to full screen); image slideshows in JavaScript; image carousels; and image magnifiers.

Payment

Pay by credit card or bank transfer, then download your product.

Payments: Visa, MasterCard, Maestro, Amex, Discover, Paypal, Google Checkout, Avangate

100% Support

30 minutes free technical support.

Guarantee

30 day money-back guarantee.