User GuideNAV Specific

NAV Specific

Item Images



Applies to: Sana Commerce 9.1.3 + Sana 9.1.1 package for NAV (and higher)
In Microsoft Dynamics NAV you can add product images and show them in the Sana webshop.

     You can equally use the procedure which Sana provides out-of-the-box and Microsoft Dynamics NAV to add product images. Using the standard Sana procedure you can add multiple images to each product and product variant, while in Microsoft Dynamics NAV you can add only one image to a product. In NAV you cannot add an image to a product variant.

To add an image to a product in Microsoft Dynamics NAV:

Step 1: Click: Sales & Marketing > Inventory & Pricing > Items.

Step 2: Select the necessary product and at the top click: Related Information > Item > Picture.  In the Item Picture window right-click in the picture frame and choose Select Picture.

Step 3: Find the necessary picture and add it to the product.

Step 4: When images are added to the products in Microsoft Dynamics NAV, run the Product import task in Sana Admin. Open Sana Admin and click: Tools > Scheduled tasks.

The Product import task retrieves product information from the database to build or update the webshop index.

Step 5: When the Product import task is completed, start the Product image import task.

Before running the task make sure that it is configured. Click Edit on the Product image import task and enable the setting Import product images from ERP. In the Separator field enter the symbol that will be used to separate product image information in the product image filename, like item number and order number.
 
For more information about product image import task, see 'Scheduled tasks'.

The Product image import task will retrieve all product images from Microsoft Dynamics NAV, rename them according to the image file name format supported by the Sana webshop, and save all images to the 'ProductImages' directory of the Sana Commerce solution on the Web server.

Then the Product image import task will automatically resize all product images from the 'ProductImages' folder and put them according to the size to the 'Small', 'Medium' and 'Large' folders. This is done because product images of three different sizes are used in the Sana webshop.

For more information about product image import task and image sizes, see 'Product Images'.

When the Product image import task is completed, product images from Microsoft Dynamics NAV will be shown in the Sana webshop.

User GuideNAV Specific