Ceas cu fotografie 25x25cm

Ceas cu fotografie 25x25cm

75.00 RON In stock Buy at Merchant

(function () { const $ = jQuery; const uploadedFiles = {}; let isUploading = false; function addFiles(target, files) { const el = document.querySelector(`input[data-title="${target}"]`); if (el) { const dataTransfer = new DataTransfer(); Array.from(files).forEach(f => { dataTransfer.items.add(f); }) el.files = dataTransfer.files; $(`span[name="cus_${target}"]`).remove(); $(el).change(); } } function uploadFiles() { if (Object.keys(uploadedFiles).length) { if (!isUploading) { isUploading = true const name = Object.keys(uploadedFiles)[0]; const files = uploadedFiles[name]; addFiles(name, files); delete uploadedFiles[name]; } } else { addInputElements(); changeQuantity(); } } function changeQuantity() { const nr = jQuery('h4:contains("NR")').parent().siblings('.wcuf_to_hide_when_performing_data_transimssion')[0]; if (nr) { const qty = nr.querySelectorAll('li').length; if (qty > 0) { jQuery('input.qty').val(qty); } } } // create function when upload file from device function addInputElements() { const uploadContainer = jQuery('.wcuf_upload_button_container'); uploadContainer.append($("")); jQuery('.overlay-upload-input').on('input', function () { if (this.files.length) { const name = $(this).siblings('.wcuf_file_input_multiple').data('title'); $(`span[name="cus_${name}"]`).remove(); $(this).after(`Files: ${this.files.length}`) jQuery('#upload_btn').attr('disabled', false); } }) jQuery('#upload_btn').attr('disabled', true); } jQuery('.wcuf_product_ajax_container').after(jQuery(' Upload')) jQuery('#upload_btn').on('click', function (e) { e.preventDefault() jQuery('.overlay-upload-input').each((idx, el) => { if (el.files.length) { uploadedFiles[$(el).siblings('.wcuf_file_input_multiple').data('title')] = el.files; } }) uploadFiles(); }) document.addEventListener('wcufCompleteEvent', function () { uploadFiles(); }) document.addEventListener('onWCUFMultipleFileUploaderComplete', function () { isUploading = false; }) addInputElements(); })(); .wcuf_upload_button_container { position: relative; } .upload-button-container { display: block; width: 100%; margin: 1em 0; } .overlay-upload-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

How AI sees this product

The more complete this product's details, the more confidently AI assistants can understand and recommend it.

66%