diff --git a/includes/get_products.html b/includes/get_products.html
index 796b641..0bf5485 100644
--- a/includes/get_products.html
+++ b/includes/get_products.html
@@ -24,6 +24,7 @@
'deliveryPossible' => v::vtget('DeliveryPossible'),
'vatRate1' => v::vtglobal('pxtcVatRate'),
'vatRate2' => v::vtglobal('pxtcVatRate2'),
+ 'userName' => v::vtuser('name'),
'userGroups' => v::vtuser('groups'),
'preferEnglish' => v::vtget('Language') != 'de' ? '1' : ''
) ) }}
diff --git a/views/gallery_r.html b/views/gallery_r.html
index 1c3b981..91b36fb 100644
--- a/views/gallery_r.html
+++ b/views/gallery_r.html
@@ -269,11 +269,14 @@
+
+
+
@@ -299,7 +302,7 @@
$( document ).ready( function(){
// {{vtIf: {vtGlobal:pxtcGalleryViewer} .eq. 1 }}
lightGallery = lightGallery( document.getElementById('gallery'), {
- plugins: [ lgZoom, lgFullscreen, lgFlagging, lgCart ],
+ plugins: activePlugins,
licenseKey: '7F34D92A-BAF14E85-B3730431-A98526B0',
speed: 500,
//index: $('img[data-lg="1"]').index(this),
@@ -317,8 +320,7 @@
'subHtml': '
{{vtItem:title,escaped|remove_linebreaks}} {{vtGet:s_btn_details}}',
'elementId': 'gallery-item-{{vtItem:id}}',
'productList': '{{vtLink:-pg="{vtItem:id}",-met="ajax/order_dialog.html"}}',
- //'download': '{{vtItem:name}}',
- //'downloadUrl': 'https://www.pixtacy.de/data/media/418_vtimg3.jpg',
+ 'downloadUrl': '{{vtLink: -pg="{vtItem:id}", -met="download" }}',
},
// {{vtEndIf}}
// {{vtEndRepeat}}