diff --git a/admin-dev/themes/default/template/layout.tpl b/admin-dev/themes/default/template/layout.tpl
index 11adc6614..ecc27b4a7 100644
--- a/admin-dev/themes/default/template/layout.tpl
+++ b/admin-dev/themes/default/template/layout.tpl
@@ -70,24 +70,14 @@
×
{if count($warnings) > 1}
- {l s='There are %d warnings.' sprintf=count($warnings)}
-
- {l s='Click here to see more'}
- {l s='Hide warning'}
-
-
1}style="display:none;"{/if} id="seeMore" class="list-unstyled">
- {foreach $warnings as $warning}
- {$warning}
- {/foreach}
-
- {else}
-
- {foreach $warnings as $warning}
- {$warning}
- {/foreach}
-
+
{l s='There are %d warnings:' sprintf=count($warnings)}
{/if}
+
+ {foreach $warnings as $warning}
+ {$warning}
+ {/foreach}
+
{/if}
{$page}
-{$footer}
\ No newline at end of file
+{$footer}
diff --git a/themes/default-bootstrap/js/product.js b/themes/default-bootstrap/js/product.js
index 25019f03d..4d4628cc5 100644
--- a/themes/default-bootstrap/js/product.js
+++ b/themes/default-bootstrap/js/product.js
@@ -730,7 +730,7 @@ function checkUrl()
$('#color_' + attributesCombinations[a]['id_attribute']).addClass('selected');
$('#color_' + attributesCombinations[a]['id_attribute']).parent().addClass('selected');
$('input:radio[value=' + attributesCombinations[a]['id_attribute'] + ']').attr('checked', true);
- $('input:hidden[name=group_' + attributesCombinations[a]['id_attribute_group'] + ']').val(attributesCombinations[a]['id_attribute']);
+ $('input[type=hidden][name=group_' + attributesCombinations[a]['id_attribute_group'] + ']').val(attributesCombinations[a]['id_attribute']);
$('select[name=group_' + attributesCombinations[a]['id_attribute_group'] + ']').val(attributesCombinations[a]['id_attribute']);
}
// find combination
@@ -750,7 +750,7 @@ $(document).ready(function(){
// The button to increment the product value
$('.product_quantity_up').click(function(e){
e.preventDefault();
- fieldName = $(this).attr('rel');
+ fieldName = $(this).data('field-qty');
var currentVal = parseInt($('input[name='+fieldName+']').val());
if (quantityAvailable > 0) {
quantityAvailableT = quantityAvailable;
@@ -767,7 +767,7 @@ $(document).ready(function(){
// The button to decrement the product value
$(".product_quantity_down").click(function(e) {
e.preventDefault();
- fieldName = $(this).attr('rel');
+ fieldName = $(this).data('field-qty');
var currentVal = parseInt($('input[name='+fieldName+']').val());
if (!isNaN(currentVal) && currentVal > 1) {
$('input[name='+fieldName+']').val(currentVal - 1).trigger('keyup');
diff --git a/themes/default-bootstrap/modules/blocknewproducts/tab.tpl b/themes/default-bootstrap/modules/blocknewproducts/tab.tpl
index 203ffcc97..df140624b 100644
--- a/themes/default-bootstrap/modules/blocknewproducts/tab.tpl
+++ b/themes/default-bootstrap/modules/blocknewproducts/tab.tpl
@@ -22,4 +22,4 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
-{l s='New arrivals' mod='blocknewproducts'}
\ No newline at end of file
+{l s='New arrivals' mod='blocknewproducts'}
\ No newline at end of file
diff --git a/themes/default-bootstrap/product-list.tpl b/themes/default-bootstrap/product-list.tpl
index 5ff63a2bc..ecab1f3c1 100644
--- a/themes/default-bootstrap/product-list.tpl
+++ b/themes/default-bootstrap/product-list.tpl
@@ -206,14 +206,14 @@
{/if}
{/if}
-
+
{/foreach}
diff --git a/themes/default-bootstrap/product.tpl b/themes/default-bootstrap/product.tpl
index 9b0785e04..fb144625f 100644
--- a/themes/default-bootstrap/product.tpl
+++ b/themes/default-bootstrap/product.tpl
@@ -265,7 +265,7 @@
rel="{literal}{{/literal}gallery: 'gal1', smallimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'large_default')|escape:'html'}',largeimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')|escape:'html'}'{literal}}{/literal}"
{else}
href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')|escape:'html'}"
- rel="other-views"
+ data-fancybox-group="other-views"
class="thickbox{if $smarty.foreach.thumbnails.first} shown{/if}"
{/if}
title="{$imageTitlte}">
@@ -482,10 +482,10 @@
value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}{if $product->minimal_quantity > 1}{$product->minimal_quantity}{else}1{/if}{/if}"
maxlength="3"
{if $product->minimal_quantity > 1}onkeyup="checkMinimalQuantity({$product->minimal_quantity});"{/if} />
-
+
-
+
@@ -507,7 +507,7 @@
{foreach from=$groups key=id_attribute_group item=group}
{if $group.attributes|@count}
- {$group.name|escape:'html':'UTF-8'} :
+ {$group.name|escape:'html':'UTF-8'} :
{assign var="groupName" value="group_$id_attribute_group"}
{if ($group.group_type == 'select')}
@@ -520,16 +520,16 @@