List with images

In this example, the entire product group of hiking maps to the scale of 1:50 000 is selected. The presentation is defined using CSS rules.

The format template used
var formatTemplate =
   '<div style="width: 620px; font-size: 0.9em; margin-bottom: 20px;">' +
      '<div class="imgspace_sm"><img src="[product.imageUrlSmall]"/></div>' +
      '<div class="info_sm">' +
         '<span class="title">[product.mapNumber] [product.titleDe]</span><br/>' +
         '([product.descriptionDe])<br/><br/>' +
         'Ausgabe: [product.releaseDate]   ISBN-Nummer: [product.isbnNumber]<br/>' +
         'Preis: [product.price]<br/><br/>' +
         '<a href="#" target="_blank">Bestellen</a>' +
      '</div>' +
   '</div>' +
   '<div class="clearthefloats"></div>';
   

Calling up the JavaScript function
window.onload=getProducts(1.0, formatTemplate, ['23'],null);
   

To transfer the product ordering process to our shop, the order link was inserted as follows (replacing # with URL):
http://www.toposhop.admin.ch/en/shop/basket?ref=test.ch&product0=[product.mapNumber]&quantity0=1

New code from January 1st 2017
https://shop.swisstopo.admin.ch/en/dispatcher?ref=test.ch&product0=[product.mapNumber]&quantity0=1

It looks like this