0 && parseInt($quantityInput.val()) < parseInt($quantityInput.attr('min'))) {return;}//check if product is created and all variations are selectedif(!fpdProductCreated || $( this ).is('.wc-variation-selection-needed')) { return false; }var order = fancyProductDesigner.getOrder({customizationRequired: 0});//PLUSvar bulkVariations = null;if(fancyProductDesigner.bulkVariations) {bulkVariations = fancyProductDesigner.bulkVariations.getOrderVariations();if(bulkVariations === false) {FPDUtil.showModal("");order.product = false;}}if(order.product != false) {_setTotalPrice();jQuery('.single_add_to_cart_button').addClass('fpd-disabled');var tempDevicePixelRation = fabric.devicePixelRatio,viewOpts = fancyProductDesigner.viewInstances[0].options,multiplier = FPDUtil.getScalingByDimesions(viewOpts.stageWidth, viewOpts.stageHeight, 125, 125);fabric.devicePixelRatio = 1;fancyProductDesigner.viewInstances[0].toDataURL(function(dataURL) {$cartForm.find('input[name="fpd_product"]').val(JSON.stringify(order));if(1) {$cartForm.find('input[name="fpd_product_thumbnail"]').val(dataURL);}if(bulkVariations) {$cartForm.find('input[name="fpd_bulk_variations_order"]').val(JSON.stringify(bulkVariations));}$cartForm.submit();fabric.devicePixelRatio = tempDevicePixelRation;}, 'transparent', {format: 'png', multiplier: multiplier})}});jQuery('.fpd-modal-product-designer').on('click', '.fpd-done', function(evt) {evt.preventDefault();if($selector.parents('.woocommerce').length > 0) {_setProductImage();}if(1) {$cartForm.find(':submit').click();}});jQuery('#fpd-extern-download-pdf').click(function(evt) {evt.preventDefault();if(fpdProductCreated) {fancyProductDesigner.actions.downloadFile('pdf');}else {FPDUtil.showModal("The product is not created yet, try again when the product has been fully loaded into the designer");}});//set total price depending from wc and fpd pricefunction _setTotalPrice() {//PLUS: order quantityvar totalPrice = (parseFloat(wcPrice) *fancyProductDesigner.orderQuantity) + parseFloat(fpdPrice),htmlPrice;totalPrice = totalPrice.toFixed(numberOfDecimals);htmlPrice = totalPrice.toString().replace('.', decimalSeparator);if(thousandSeparator.length > 0) {htmlPrice = FPDUtil.addThousandSep(htmlPrice);}if(!$priceElem || $priceElem.length == 0) {if(currencyPos == 'right') {htmlPrice = htmlPrice + currencySymbol;}else if(currencyPos == 'right_space') {htmlPrice = htmlPrice + ' ' + currencySymbol;}else if(currencyPos == 'left_space') {htmlPrice = currencySymbol + ' ' + htmlPrice;}else {htmlPrice = currencySymbol + htmlPrice;}//check if variations are usedvar $priceElem;if($productWrapper.find('.variations_form').length > 0) {//check if amount contains 2 prices or sale prices. If yes different prices are usedif($productWrapper.find('.price:first > .amount').length == 2 || $productWrapper.find('.price:first ins > .amount').length == 2) {//different prices$priceElem = $cartForm.find('.woocommerce-Price-amount:first').length > 0 ? $cartForm.find('.woocommerce-Price-amount:last') : $productWrapper.find('.single_variation .price .amount:last');}else {//same price$priceElem = $productWrapper.find('.woocommerce-Price-amount:first').length > 0 ? $productWrapper.find('.price:first .woocommerce-Price-amount:last') : $productWrapper.find('.price:first .amount:last');}}//no variations are usedelse {$priceElem = $productWrapper.find('.woocommerce-Price-amount').length > 0 ? $productWrapper.find('.price:first .woocommerce-Price-amount:last') : $productWrapper.find('.price:first .amount:last');}}if($priceElem && $priceElem.length > 0) {$priceElem.html(htmlPrice);}else {FPDUtil.log('No price element could be found in the document!', 'info');}$cartForm.find('input[name="fpd_product_price"]').val(totalPrice);if($modalPrice) {$modalPrice.html(htmlPrice);}};function _setProductImage() {if(jQuery('.fpd-modal-product-designer').length > 0 && 1) {fancyProductDesigner.viewInstances[0].toDataURL(function(dataURL) {var $firstProductImage = $productWrapper.find('.images');var image = new Image();image.onload = function() {$firstProductImage.find('a img').attr('data-large_image_width', this.width).attr('data-large_image_height', this.height);};image.src = dataURL;$firstProductImage.find('img').attr('src', dataURL).attr('srcset', dataURL) //all images (display and zoom).parent('a').attr('href', dataURL).children('img').attr('data-large_image', dataURL); //photoswipe image}, 'transparent', {format: 'png'});}};});">
  • Address: 7563 St. Vicent Place, Glasgow
  • Phone: +777 2345 7885: +777 2345 7886
  • Hours: 7 Days a week from 10-00 am to 6-00 pm

Motorola Nexus 6

۲۴,۰۰۰ تومان