HOGUE Beretta 92 Wht Pearl
Производитель:
Hogue Модель:
92318 Наличие: 3
Информация о рукоятке для пистолета HOGUE Beretta 92 Wht Pearl
Hogue Polymer Grip Panels - White Pearlized - Fits: Beretta 92S, Beretta-S, 92SB, 96, M-9
- White Pearlized
- Fits: Beretta 92S, Beretta-S, 92SB, 96, M-9 Задать вопрос о рукоятках для пистолетов HOGUE Beretta 92 Wht Pearl
Написать отзыв
function price_format(n){c = 2;
d = '.';
t = '';
s_left = '$';
s_right = '';
n = n * 1.00000000;
//sign = (n < 0) ? '-' : '';
i = parseInt(n = Math.abs(n).toFixed(c)) + '';
j = ((j = i.length) > 3) ? j % 3 : 0;
return s_left + (j ? i.substr(0, j) + t : '') + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : '') + s_right;
}function calculate_tax(price){return price;
}function process_discounts(price, quantity){// Related Options / Связанные опции <<
// >> Related Options / Связанные опции
return price;
}var opt_img = [];
var opt_popup = [];
function recalculateprice(id){var main_price = Number($('#formated_price').attr('price'));
var input_quantity = Number($('#product_buy_quantity').attr('value'));
var special = Number($('#formated_special').attr('price'));
// Related Options / Связанные опции <<
// >> Related Options / Связанные опции
var tax = Number($('#formated_tax').attr('price'));
var options_price = 0;
// Process Discounts.
main_price = process_discounts(main_price, input_quantity);
tax = process_discounts(tax, input_quantity);
// Еслинадо обновляем картинку
if (id > 0){if ((opt_popup[id] !== undefined) && (opt_img[id] !== undefined) && (opt_popup[id] != '') && (opt_img[id] != '')){$('#image').attr('src', opt_img[id]);
$('#image').data('zoom-image', opt_popup[id]);
$('#image').closest('a').attr('href', opt_popup[id]);
$('.colorbox').colorbox({
overlayClose: true,
opacity: 0.5,
rel: "colorbox"
});
$("#image").elevateZoom({gallery:'image-additional', cursor: 'pointer', galleryActiveClass: 'active'});
}}$('#product_options input:checked').each(function(){if ($(this).attr('price_prefix') == '='){main_price = Number($(this).attr('price'));
special = main_price;
tax = main_price;
}});
$('#product_options option:selected').each(function(){if ($(this).attr('price_prefix') == '='){main_price = Number($(this).attr('price'));
special = main_price;
tax = main_price;
}});
$('#product_options input:checked').each(function(){if ($(this).attr('price_prefix') == '*'){main_price = main_price * Number($(this).attr('price'));
special = special * Number($(this).attr('price'));
tax = tax * Number($(this).attr('price'));
}});
$('#product_options option:selected').each(function(){if ($(this).attr('price_prefix') == '*'){main_price = main_price * Number($(this).attr('price'));
special = special * Number($(this).attr('price'));
tax = tax * Number($(this).attr('price'));
}});
$('#product_options input:checked').each(function(){if ($(this).attr('price_prefix') == '+')
options_price = options_price + Number($(this).attr('price'));
if ($(this).attr('price_prefix') == '-')
options_price = options_price - Number($(this).attr('price'));
});
$('#product_options option:selected').each(function(){if ($(this).attr('price_prefix') == '+')
options_price = options_price + Number($(this).attr('price'));
if ($(this).attr('price_prefix') == '-')
options_price = options_price - Number($(this).attr('price'));
});
// Calculate new price (With options).
var new_price = main_price + options_price;
var new_tax = tax + options_price;
var new_special = special + options_price;
// Process TAX.
new_price = calculate_tax(new_price);
new_special = calculate_tax(new_special);
$('#formated_price').html( price_format(new_price) );
}recalculateprice(0);
//