D3s156875 - © by Photographie.Pro
// Added to Settings > Custom > Custom Javascript
function cart_custom_click(cart, current_page_items, elements, options){
var keys = Object.keys(cart);
console.log(cart);
var response = 'Cart contains ' + keys.length + ' images.\n\n';
keys.forEach(function(key){
response += key.split('/').pop() + '\n';
});
alert(response);
}