- 250.000 Flashes
- For Underarms, body, face & bikini
- Slide and Flash Mode
- Smart skin sensor
- Cordless
variant.price) {
$("#price").html('' + Shopify.formatMoney(variant.compare_at_price, money_format) + "" + '' + Shopify.formatMoney(variant.price, money_format) + "
")
} else {
$("#price").html('' + Shopify.formatMoney(variant.price, money_format) + "
");
}
if( != " ")
{
$(".price-box .js_price_show").remove();
var my_variable = ;
var price = 599.00 /my_variable;
price = price.toFixed(2);
// ARABIC CODE HERE ...
$("#price").after(' دينار ' + price + " * " + my_variable + " قسط
");
}
if (variant.available) {
frontendData.enableCurrency && currenciesCallbackSpecial("#price span.money"),
$(".product-page-area .product-shop .add-to-cart").removeClass("disabled").removeAttr("disabled").children('span').html(window.inventory_text.add_to_cart),
variant.inventory_management && variant.inventory_quantity <= 0 ? ($("#selected-variant").html(selector.product.title + " - " + variant.title), $("#backorder").removeClass("hidden")) : $("#backorder").addClass("hidden");
if (variant.inventory_management!=null) {
$(".product-inventory span.in-stock").text(window.inventory_text.in_stock);
} else {
$(".product-inventory span.in-stock").text(window.inventory_text.many_in_stock);
}
$('.product-sku span.sku').text(variant.sku);
}else{
$("#backorder").addClass("hidden"), $(".product-page-area .add-to-cart").addClass("disabled").attr("disabled", "disabled").children('span').html(window.inventory_text.sold_out);
$(".product-inventory span.in-stock").text(window.inventory_text.out_of_stock);
$('.product-sku span.sku').empty();
}
if( swatch_color_type == '1' || swatch_color_type == '2' ) {
var form = $('#' + selector.domIdPrefix).closest('form');
for (var i=0,length=variant.options.length; i= 1) { //multiple variants
for (var i = 0; i < product.variants.length; i++) {
var variant = product.variants[i];
var option = '';
layout.find('form.product-form > select').append(option);
}
new Shopify.OptionSelectors("product-selectors", {
product: product,
onVariantSelected: selectCallback,
enableHistoryState: true
});
//start of quickview variant;
var filePath = asset_url.substring(0, asset_url.lastIndexOf('/'));
var assetUrl = asset_url.substring(0, asset_url.lastIndexOf('/'));
var options = "";
for (var i = 0; i < product.options.length; i++) {
options += '';
options += '';
options += '
';
var is_color = false;
var is_square = 'square';
if (/Color|Colour/i.test(product.options[i])) {
is_color = true;
}
if (swatch_color_type == '2') {
is_color = false;
is_square = '';
}
var optionValues = new Array();
for (var j = 0; j < product.variants.length; j++) {
var variant = product.variants[j];
var value = variant.options[i];
if(variant.featured_image && product_swatch_setting == '2') {
var img = variant.featured_image.src.lastIndexOf(".");
var vimg = variant.featured_image.src.slice(0, img) + "_50x50_crop_center" + variant.featured_image.src.slice(img);
}
var valueHandle = convertToSlug(value);
var forText = 'swatch-' + i + '-' + valueHandle;
if (optionValues.indexOf(value) < 0) {
//not yet inserted
options += '
';
if (is_color) {
options += '
' + value + '
';
}
options += '
';
if (is_color) {
if(vimg && product_swatch_setting == '2') {
options += '
';
}else{
options += '
';
}
} else {
options += '
';
}
options += '
';
if (variant.available) {
$('.product-page-area .swatch[data-option-index="' + i + '"] .' + valueHandle).removeClass('soldout').addClass('available').find(':radio').removeAttr('disabled');
}
optionValues.push(value);
}
}
options += '
';
options += '
';
}
if(swatch_color_type == '1' || swatch_color_type == '2') {
layout.find('form.product-form .product-options > select').after(options);
layout.find('.swatch :radio').change(function() {
var optionIndex = $(this).closest('.swatch').attr('data-option-index');
var optionValue = $(this).val();
$(this)
.closest('form')
.find('.single-option-selector')
.eq(optionIndex)
.val(optionValue)
.trigger('change');
});
}
if (product.available) {
Shopify.optionsMap = {};
Shopify.linkOptionSelectors(product);
}
//end of quickview variant
} else { //single variant
layout.find('form.product-form .product-options > select').remove();
var variant_field = '';
layout.find('form.product-form').append(variant_field);
}
});