[-] FO : Fixed JS & translations for products specifics prices (quantity discount)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13010 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -442,11 +442,16 @@ function displayDiscounts(combination)
|
||||
{
|
||||
$('#quantityDiscount table tbody tr').each(function() {
|
||||
if (($(this).attr('id') != 'quantityDiscount_0') &&
|
||||
($(this).attr('id') != 'quantityDiscount_'+combination))
|
||||
($(this).attr('id') != 'quantityDiscount_'+combination) &&
|
||||
($(this).attr('id') != 'noQuantityDiscount'))
|
||||
$(this).fadeOut('slow');
|
||||
});
|
||||
|
||||
$('#quantityDiscount_'+combination).show();
|
||||
if ($('#quantityDiscount_'+combination).length != 0) {
|
||||
$('#quantityDiscount_'+combination).show();
|
||||
$('#noQuantityDiscount').hide();
|
||||
} else
|
||||
$('#noQuantityDiscount').show();
|
||||
}
|
||||
|
||||
// Serialscroll exclude option bug ?
|
||||
|
||||
Reference in New Issue
Block a user