How do I change the Default Product Image?



Default Product Image

Default Product Image

If a product does not have a image uploaded, a default image is used.

However you can customise this image. This article covers how to create and upload a new default product image.

You will need an SFTP account and an FTP software like FileZilla or Transmit. You can request an SFTP account using this form.

 

Create and upload the image

  1. Create the image with a width and height of 500 pixels.
  2. Save the image as a GIF file with the filename default_product.gif
  3. Using your SFTP account, login to your web site can upload the image to /httpdocs/assets/default_product.gif
  4. To check that the image has been installed correctly, visit https://www.mydomain.com.au/assets/default_product.gif?nocache where www.mydomain.com.au is your domain name for your site.

 

Modifying the theme templates

There are three theme templates that will need to be changed to point to the new default product image:

  • /private/www/netosuite/Templates/themename/thumbs/product/template.html
  • /private/www/netosuite/Templates/themename/thumbs/product/list.template.html
  • /private/www/netosuite/Templates/themename/thumbs/product/box.template.html

Where themename is the name of the currently installed theme.

Depending on the theme you need to look for the following code:

  • [%param default%]https://cdn.neto.com.au/assets/neto-cdn/images/default_product.gif[%end param%]
  • [%param default%]/assets/themes/neto/img/default_product.gif?1429164216[%end param%]

Replace with the code [%param default%]/assets/default_product.gif[%end param%] and save the template. Repeat for each of the three templates.

After you have made the changes, you will need to purge the site cache to see the changes.


  • Last Modified: 18/11/2016 Neto Version: 5.96