var nl = new Array(e.rl.length),
ix = 0,
sl;
e.tabw = e.tabhide>=pw ? 0 : e.tabw;
e.thumbw = e.thumbhide>=pw ? 0 : e.thumbw;
e.tabh = e.tabhide>=pw ? 0 : e.tabh;
e.thumbh = e.thumbhide>=pw ? 0 : e.thumbh;
for (var i in e.rl) nl[i] = e.rl[i]
PROSPECTUS
login_status: ‘logged out’,
};
window.Shopify.SignInWithShop?.initShopCartSync?.({“fedCMEnabled”:true,”windoidEnabled”:true});
Loading store
if (summary.nextElementSibling.getAttribute('id')) { summary.setAttribute('aria-controls', summary.nextElementSibling.id); }
summary.addEventListener('click', (event) => { event.currentTarget.setAttribute('aria-expanded', !event.currentTarget.closest('details').hasAttribute('open')); });
if (summary.closest('header-drawer, menu-drawer')) return; summary.parentElement.addEventListener('keyup', onKeyUpEscape); }); };
SDG.Data.mapPage = false;
SDG.Data.storeServiceTrigger = 'View store services';
SDG.Data.storeHours = 'Hours';
SDG.Data.storeAddress = 'Address';
SDG.Data.storeEmail = 'Email';
SDG.Data.storePhone = 'Telephone';
SDG.Data.myStore = 'My store';
SDG.Data.makeThisMyStore = 'Make this my store';
SDG.Data.shopCountry = 'Singapore';
if (window?.google) {
google.maps.importLibrary('geocoding');
google.maps.importLibrary('places');
}
});
NEW
LAETOTO ~ Link Bandar Togel Online Resmi & Situs Toto Togel 4D Terpercaya
SKU: MDYT7ZP/A
LAETOTO ~ Link Bandar Togel Online Resmi & Situs Toto Togel 4D Terpercaya
LAETOTO merupakan platform bandar togel terbesar dan terpercaya di indonesia. LAETOTO hadir untuk memberikan pengalaman bermain togel 4d yang nyaman dan aman, dan menguntungkan bagi seluruh penggemar togel 4d di indonesia. Dengan berbagai pilihan permainan dan bonus menarik tentu menjadikan situs toto ini menjadi tempat terbaik bermain togel 4d. Jadi, kalau masih bingung mencari situs toto yang memberikann banyak keuntungan maka tempat terbaik bagi anda adalah LAETOTO.
Bandar togel LAETOTO menawarkan pasaran togel online terkenal seperti togel hongkong, togel singapura, dan togel sydney, tidak hanya tida pasaran saja tetapi LAETOTO juga akan memberikan puluhan pasaran togel terbaik lainnya. Seluruh pasaran togel yang diberikan oleh LAETOTO menawarkan hadiah yang sangat besar. Tentu hadiah yang besar menjadi daya tarik tersendiri untuk para penggemar togel online. Hanya BATMAMTOTO bandar togel yang menawarkan hadiah tertinggi dan pasaran terlengkap, bagi anda yang ingin bermain di bandar togel yang menawarkan hadiah terbesar dan pasaran tertinggi maka LAETOTO tempat yang tepat untuk anda.
Selain itu, Situs toto ini juga menawarkan bonus menarik yang pastinya sangat menguntungkan untuk anda. Dengan bonus yang menarik tidak heran jika situs toto ini menjadi tempat terbaik dalam melakukan permaian togel 4d. Ketika anda bargabung dengan LAETOTO anda akan mendapat bonus new member, bonus deposit, bonus refferal, masih banyak lagi bonus yang lainnya. Bergabunglah dengan LAETOTO dan nikmati bonus manarik yang diwarkan oleh LAETOTO.
Eksklusif FAQ LAETOTO
Mengenal Struktur, Ritme, dan Gagasan Kreatif dalam Permainan
Ya, tersedia berbagai kategori permainan dengan tema dan fitur berbeda agar pengguna dapat memilih sesuai minat.
Buka halaman utama atau kategori game populer untuk melihat permainan yang banyak diminati pengguna.
Tampilan menu dibuat sederhana dan mudah dipahami, sehingga pengguna baru dapat menjelajahi fitur dengan lebih nyaman.
Pastikan alamat situs yang dibuka adalah kanal resmi, koneksi internet stabil, dan data login dimasukkan dengan benar.
Catat kendalanya dan hubungi layanan bantuan resmi LAETOTO agar dapat memperoleh arahan yang sesuai.
BEST SELLER
LAETOTO ~ Link Bandar Togel Online Resmi & Situs Toto Togel 4D Terpercaya
SKU:
MDYT7ZP/A
Barcode:
$5.000 SGD
Unit price
per
Shipping calculated at checkout.
or
$249.99/mo. for 12 mo.
Learn more about financing
// Close dialog when clicking overlay
dialogOverlay.addEventListener('click', (e) => {
const dialogGuideline = document.querySelector('.tradein-guideline-container');
if (e.target === dialogOverlay && !!dialogGuideline) {
closeDialog();
}
});
// Close dialog with Escape key
document.addEventListener('keydown', (e) => {
const dialogGuideline = document.querySelector('.tradein-guideline-container');
if (e.key === 'Escape' && dialogOverlay?.classList.contains('active') && !!dialogGuideline) {
closeDialog();
}
});
function closeDialog() {
const tradeinChoice = document.querySelector('input[name="tradein"][value="yes"]');
const htmlElement = document.querySelector('html');
dialogOverlay.classList.remove('active');
htmlElement.classList.remove('dialog-open');
document.documentElement.style.removeProperty('--scrollbar-width');
if(!!tradeinChoice) tradeinChoice.checked = false;
dialogCloseButton.classList.remove('disable');
}
Get it fast
Pickup
Loading store
Error loading
Shipping
Typically ships in 1-3 days.
Pre-orders will be processed on launch day
Limited Time Promotion
Limited Time Promotion
Discover exclusive deals on devices and accessories at iStudio!
Apakah itu LAETOTO?
Apakah itu LAETOTO?
LAETOTO link bandar togel online resmi yang sudah mendapatkan izin dari WLA dan situs toto yang menyediakan pasaran togel 4d terpercaya.
Ada banyak ya dan terdiri dari 72 pasaran resmi yang bisa kamu mainkan setiap harinya!
Share
Ada banyak ya dan terdiri dari 72 pasaran resmi yang bisa kamu mainkan setiap harinya!
Share








Limited Time Promotion
Financing
Trade in popup

Trade-In
Explore the devices to learn more.
Trade-in your device in 3 easy steps!
Please contact us at [email protected] if you have other enquiries. Trade-in program is provided by "Carousell".
Frequently Asked Questions
What do I need to bring along?
You will be required to bring your charger and cable for laptops.
What if I do not like the value after assessment?
You can choose to not accept the trade-in value, but the value shown is final.
Can multiple devices be traded in during the same transaction?
Unfortunately, only one device can be traded in per transaction.
Do I get to keep the memory card from the trade-in devices?
We recommend that you remove and keep all your memory cards before you trade-in a device
Would I be able to get back my old device back after the trade-in?
You would not be able to retrieve your old device as all trade-ins are final. Prior to trading in your device, we recommend backing up all your important content such as contacts, photos, videos, etc.
Can I trade-in my device if it does not work?
We would not be able to assess your device if we are unable to power on your device.
What if my device is not found in the trade-in device list?
You can head down to our stores to get your device assessed by our iStudio Experts to check if it is accepted.
Collapsible content
Terms and Conditions
- Customer affirms that s/he is at least legally 18 years of age.
- "Customer" means the undersigned that is the owner of the Product or has been authorised by the owner of the Product to make decisions on the Product.
- The Trade-in programme is provided to iStudio customers by Laku6 as a third party company. Apple is not a party in the transaction.
- Laku6 and iStudio reserve the right to refuse, cancel, or limit the programme for any reason and may change these terms and conditions at any time without prior notice.
- The Programme is provided for lawful purposes only, to the extent permitted by law, Customer agrees to indemnify iStudio, Laku6, its affiliate and any of its directors, officers, employees, affiliates, subsidiaries or agents from and against claims brought against any of them arising from Customer's breach of terms and conditions of the Programme.
- iStudio trade-in programme is only available at all iStudio stores (excluding Airport Terminal Stores)
- Total trade-in value is not transferable.
- iStudio reserves the right to refuse any customer's eligibility at any time in its discretion in the even of such customer's breach or suspected breach of any of the terms and conditions herein without prior notification or any liability to such customer whatsoever.
- iStudio reserves the right to vary any term or condition. iStudio will, where it is practicable to do so, give customers advance notice (which may be through written notice, electronic mail letters, iStudio website, or such other forms as iStudio deems appropriate) of such changes.
- This iStudio Trade-in programme is limited to one (1) device per eligible trade-in.
Why Shop Online
return msie > 0 || trident > 0;
}
if (!isIE()) return;
const hiddenInput = document.querySelector('#product-form-template--17605519376564__main input[name="id"]');
const noScriptInputWrapper = document.createElement('div');
const variantSwitcher =
document.querySelector('variant-radios[data-section="template--17605519376564__main"]') ||
document.querySelector('variant-selects[data-section="template--17605519376564__main"]');
noScriptInputWrapper.innerHTML = document.querySelector(
'.product-form__noscript-wrapper-template--17605519376564__main'
).textContent;
variantSwitcher.outerHTML = noScriptInputWrapper.outerHTML;
document.querySelector('#Variants-template--17605519376564__main').addEventListener('change', function (event) {
hiddenInput.value = event.currentTarget.value;
});
});
var unavailable_msg = "
";
var varselect='selected';
var varunselect='unselected';
function getMeta(url, elem) {
var img = new Image();
img.src = url;
img.onload = function() {
//var apr = this.width/this.height;
var apr = this.width/this.height;
var calc_padd = (1 / apr) * 100;
calc_padd = calc_padd + '%';
var calc_height = Math.ceil(973 / apr);
elem.attr('height',calc_height);
elem.parent().css('padding-top', calc_padd);
}
}
$( document ).ready(function() {
//quantity input textbox-server error issue - fix
$("#prodQuantity").keyup("input", function(event) {
if (event.keyCode === 13) {
event.preventDefault();
event.target.blur();
}
});
$("#prodQuantity").on("change", function(event) {
resetErrors();
});
var prodList=localStorage.getItem("product-click");
// localStorage.removeItem("product-click");
var prevPage= document.referrer;
if(prevPage.includes("collections")){
prevPage="PLP :: "+formatString(prevPage.split("/")[prevPage.split("/").length-1]);
}else if(prevPage.includes("pages")){
prevPage=prevPage.split("/")[prevPage.split("/").length-1]+"_page";
}else if(prevPage.includes("search")){
prevPage="Search Results"
}else if(prevPage.includes("products")){
var arr=prevPage.split("/");
prevPage=arr[arr.length-1].split("?")[0]+"_pdp";
}else if(prevPage.includes("cart")){
var pageName=window.location.href;
var arr=prevPage.split("/");
prevPage="Cart Page";
}else{
prevPage="home_page"
}
if(prodList){
document.getElementById("product_list").setAttribute('value', prodList);
}else{
localStorage.setItem("product-click", prevPage);
document.getElementById("product_list").setAttribute('value', prevPage);
}
$(".product__info-container .product__accordion").each(function(index,item){
if(index==0){
$(item).find("details").attr("open","open");
}
});
var product_price = $("#price-element").find(".actual_price_bold").text();
document.getElementById("product_price").setAttribute('value', product_price);
var prod_option = [];
var checked_value1 = [];
var prod_option1 = [];
var prod_option2 = [];
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"256GB" : "256GB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"256GB"+"Storage" : "256GB"+"Storage";
prod_option2.push("256GB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "true";
prod_option.push({
variant_id:"44064217465012",
option:product_opt1,
option_new:product_opt2,
product_opt1:"true",
available: "true",
url:"13-inch-ipad-pro-m5-mdyj4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyj4zp-a",
id:"44064217465012",
product_id : "7997228220596",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 256GB Standard Glass - Space Black (M5)",
product_type : "iPad",
product_price : "1,999.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"256GB" : "256GB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"256GB"+"Storage" : "256GB"+"Storage";
prod_option2.push("256GB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "true";
prod_option.push({
variant_id:"44064215007412",
option:product_opt1,
option_new:product_opt2,
product_opt1:"true",
available: "true",
url:"13-inch-ipad-pro-m5-mdyk4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyk4zp-a",
id:"44064215007412",
product_id : "7997227008180",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 256GB Standard Glass - Silver (M5)",
product_type : "iPad",
product_price : "1,999.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"512GB" : "512GB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"512GB"+"Storage" : "512GB"+"Storage";
prod_option2.push("512GB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064215302324",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-mdyl4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyl4zp-a",
id:"44064215302324",
product_id : "7997227172020",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 512GB Standard Glass - Space Black (M5)",
product_type : "iPad",
product_price : "2,299.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"1TB" : "1TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"1TB"+"Storage" : "1TB"+"Storage";
prod_option2.push("1TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064216842420",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-mdyn4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyn4zp-a",
id:"44064216842420",
product_id : "7997227958452",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 1TB Standard Glass - Space Black (M5)",
product_type : "iPad",
product_price : "2,899.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"512GB" : "512GB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"512GB"+"Storage" : "512GB"+"Storage";
prod_option2.push("512GB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064215728308",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-mdym4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdym4zp-a",
id:"44064215728308",
product_id : "7997227401396",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 512GB Standard Glass - Silver (M5)",
product_type : "iPad",
product_price : "2,299.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"2TB" : "2TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"2TB"+"Storage" : "2TB"+"Storage";
prod_option2.push("2TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064218054836",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me8k4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me8k4zp-a",
id:"44064218054836",
product_id : "7997228548276",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 2TB Standard Glass - Silver (M5)",
product_type : "iPad",
product_price : "3,799.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"2TB" : "2TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"2TB"+"Storage" : "2TB"+"Storage";
prod_option2.push("2TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Nano-texture glass" : "Nano-texture glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Nano-texture glass"+"Glass Type" : "Nano-texture glass"+"Glass Type";
prod_option2.push("Nano-texture glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064217694388",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me8n4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me8n4zp-a",
id:"44064217694388",
product_id : "7997228351668",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 2TB Nano-texture glass - Silver (M5)",
product_type : "iPad",
product_price : "3,949.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"1TB" : "1TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"1TB"+"Storage" : "1TB"+"Storage";
prod_option2.push("1TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064217432244",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me8f4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me8f4zp-a",
id:"44064217432244",
product_id : "7997228253364",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 1TB Standard Glass - Silver (M5)",
product_type : "iPad",
product_price : "3,199.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"1TB" : "1TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"1TB"+"Storage" : "1TB"+"Storage";
prod_option2.push("1TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Nano-texture glass" : "Nano-texture glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Nano-texture glass"+"Glass Type" : "Nano-texture glass"+"Glass Type";
prod_option2.push("Nano-texture glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064217268404",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me8g4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me8g4zp-a",
id:"44064217268404",
product_id : "7997228155060",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 1TB Nano-texture glass - Space Black (M5)",
product_type : "iPad",
product_price : "3,349.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"2TB" : "2TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"2TB"+"Storage" : "2TB"+"Storage";
prod_option2.push("2TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Nano-texture glass" : "Nano-texture glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Nano-texture glass"+"Glass Type" : "Nano-texture glass"+"Glass Type";
prod_option2.push("Nano-texture glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064217170100",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-mdyw4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyw4zp-a",
id:"44064217170100",
product_id : "7997228122292",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 2TB Nano-texture glass - Silver (M5)",
product_type : "iPad",
product_price : "3,649.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"2TB" : "2TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"2TB"+"Storage" : "2TB"+"Storage";
prod_option2.push("2TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064217137332",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-mdyu4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyu4zp-a",
id:"44064217137332",
product_id : "7997228089524",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 2TB Standard Glass - Silver (M5)",
product_type : "iPad",
product_price : "100,100,100",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"512GB" : "512GB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"512GB"+"Storage" : "512GB"+"Storage";
prod_option2.push("512GB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064216973492",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me8c4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me8c4zp-a",
id:"44064216973492",
product_id : "7997227991220",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 512GB Standard Glass - Silver (M5)",
product_type : "iPad",
product_price : "2,599.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"2TB" : "2TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"2TB"+"Storage" : "2TB"+"Storage";
prod_option2.push("2TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Nano-texture glass" : "Nano-texture glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Nano-texture glass"+"Glass Type" : "Nano-texture glass"+"Glass Type";
prod_option2.push("Nano-texture glass"+"option4");
prod_option1[product_opt1] = "true";
prod_option.push({
variant_id:"44064216711348",
option:product_opt1,
option_new:product_opt2,
product_opt1:"true",
available: "true",
url:"13-inch-ipad-pro-m5-mdyv4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyv4zp-a",
id:"44064216711348",
product_id : "7997227892916",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 2TB Nano-texture glass - Space Black (M5)",
product_type : "iPad",
product_price : "3,649.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"1TB" : "1TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"1TB"+"Storage" : "1TB"+"Storage";
prod_option2.push("1TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064216023220",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-mdyp4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyp4zp-a",
id:"44064216023220",
product_id : "7997227532468",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 1TB Standard Glass - Silver (M5)",
product_type : "iPad",
product_price : "2,899.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"1TB" : "1TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"1TB"+"Storage" : "1TB"+"Storage";
prod_option2.push("1TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Nano-texture glass" : "Nano-texture glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Nano-texture glass"+"Glass Type" : "Nano-texture glass"+"Glass Type";
prod_option2.push("Nano-texture glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064215531700",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me8h4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me8h4zp-a",
id:"44064215531700",
product_id : "7997227303092",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 1TB Nano-texture glass - Silver (M5)",
product_type : "iPad",
product_price : "3,349.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"1TB" : "1TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"1TB"+"Storage" : "1TB"+"Storage";
prod_option2.push("1TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064215367860",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me8d4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me8d4zp-a",
id:"44064215367860",
product_id : "7997227204788",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 1TB Standard Glass - Space Black (M5)",
product_type : "iPad",
product_price : "3,199.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"2TB" : "2TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"2TB"+"Storage" : "2TB"+"Storage";
prod_option2.push("2TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064215236788",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me8j4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me8j4zp-a",
id:"44064215236788",
product_id : "7997227139252",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 2TB Standard Glass - Space Black (M5)",
product_type : "iPad",
product_price : "3,799.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"1TB" : "1TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"1TB"+"Storage" : "1TB"+"Storage";
prod_option2.push("1TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Nano-texture glass" : "Nano-texture glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Nano-texture glass"+"Glass Type" : "Nano-texture glass"+"Glass Type";
prod_option2.push("Nano-texture glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064215040180",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-mdyr4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyr4zp-a",
id:"44064215040180",
product_id : "7997227040948",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 1TB Nano-texture glass - Silver (M5)",
product_type : "iPad",
product_price : "3,049.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"256GB" : "256GB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"256GB"+"Storage" : "256GB"+"Storage";
prod_option2.push("256GB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064214778036",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me7w4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me7w4zp-a",
id:"44064214778036",
product_id : "7997226909876",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 256GB Standard Glass - Space Black (M5)",
product_type : "iPad",
product_price : "2,299.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"2TB" : "2TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"2TB"+"Storage" : "2TB"+"Storage";
prod_option2.push("2TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "true";
prod_option.push({
variant_id:"44064214581428",
option:product_opt1,
option_new:product_opt2,
product_opt1:"true",
available: "true",
url:"13-inch-ipad-pro-m5-mdyt4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyt4zp-a",
id:"44064214581428",
product_id : "7997226811572",
product_sku : "MDYT7ZP/A",
product_title : "LAETOTO ~ Link Bandar Togel Online Resmi & Situs Toto Togel 4D Terpercaya",
product_type : "iPad",
product_price : "100,100,100",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"512GB" : "512GB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"512GB"+"Storage" : "512GB"+"Storage";
prod_option2.push("512GB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064214417588",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me7y4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me7y4zp-a",
id:"44064214417588",
product_id : "7997226713268",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 512GB Standard Glass - Space Black (M5)",
product_type : "iPad",
product_price : "2,599.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"2TB" : "2TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"2TB"+"Storage" : "2TB"+"Storage";
prod_option2.push("2TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Nano-texture glass" : "Nano-texture glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Nano-texture glass"+"Glass Type" : "Nano-texture glass"+"Glass Type";
prod_option2.push("Nano-texture glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064213991604",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me8m4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me8m4zp-a",
id:"44064213991604",
product_id : "7997226516660",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 2TB Nano-texture glass - Space Black (M5)",
product_type : "iPad",
product_price : "3,949.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Space Black" : "Space Black";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Space Black"+"Color" : "Space Black"+"Color";
prod_option2.push("Space Black"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"1TB" : "1TB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"1TB"+"Storage" : "1TB"+"Storage";
prod_option2.push("1TB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi" : "Wi-Fi";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi"+"Connectivity" : "Wi-Fi"+"Connectivity";
prod_option2.push("Wi-Fi"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Nano-texture glass" : "Nano-texture glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Nano-texture glass"+"Glass Type" : "Nano-texture glass"+"Glass Type";
prod_option2.push("Nano-texture glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064213827764",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-mdyq4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-mdyq4zp-a",
id:"44064213827764",
product_id : "7997226451124",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi 1TB Nano-texture glass - Space Black (M5)",
product_type : "iPad",
product_price : "3,049.00",
productcomPrice : ""
});
var product_opt1 = "";
var product_opt2 = "";
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Silver" : "Silver";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Silver"+"Color" : "Silver"+"Color";
prod_option2.push("Silver"+"option1");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"256GB" : "256GB";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"256GB"+"Storage" : "256GB"+"Storage";
prod_option2.push("256GB"+"option2");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Wi-Fi + Cellular" : "Wi-Fi + Cellular";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Wi-Fi + Cellular"+"Connectivity" : "Wi-Fi + Cellular"+"Connectivity";
prod_option2.push("Wi-Fi + Cellular"+"option3");
product_opt1 = product_opt1 != '' ? product_opt1+"|!"+"Standard Glass" : "Standard Glass";
product_opt2 = product_opt2 != '' ? product_opt2+"|!"+"Standard Glass"+"Glass Type" : "Standard Glass"+"Glass Type";
prod_option2.push("Standard Glass"+"option4");
prod_option1[product_opt1] = "false";
prod_option.push({
variant_id:"44064213860532",
option:product_opt1,
option_new:product_opt2,
product_opt1:"false",
available: "false",
url:"13-inch-ipad-pro-m5-me7x4zp-a",
full_url:"/products/13-inch-ipad-pro-m5-me7x4zp-a",
id:"44064213860532",
product_id : "7997226418356",
product_sku : "MDYT7ZP/A",
product_title : "13-inch iPad Pro Wi-Fi + Cellular 256GB Standard Glass - Silver (M5)",
product_type : "iPad",
product_price : "2,299.00",
productcomPrice : ""
});
var option_values = $('input[type=radio].smart_radio');
var compareArray = [];
$(option_values).each(function(i){
compareArray.push($(this).val()+$(this).data('label_name'))
});
var compareIndex = {};
compareArray.forEach(function(item, index) {
compareIndex[item] = index;
});
prod_option.sort(function(a, b) {
var a_parts = a.option_new.split('|!');
var b_parts = b.option_new.split('|!');
for (var i = 0; i < Math.min(a_parts.length, b_parts.length); i++) {
var a_item = a_parts[i];
var b_item = b_parts[i];
var a_index = compareIndex[a_item];
var b_index = compareIndex[b_item];
if (a_index !== undefined && b_index !== undefined) {
if (a_index < b_index) {
return -1;
} else if (a_index > b_index) {
return 1;
}
} else if (a_index !== undefined) {
return -1;
} else if (b_index !== undefined) {
return 1;
}
}
return a_parts.length - b_parts.length;
});
var color_trans = "Color";
var case_color_trans = "Case Finish";
var band_color_trans = "Band Color";
var $featuresValue = document.querySelector('.js-features-value') || null;
if ($featuresValue) {
updateFeaturesMarkup($featuresValue);
}
$(document).on('change', '.product-form__input:not(.product-form__input--trade-in) input[type=radio]', function() {
var this_clicked = $(this);
var option = this_clicked.siblings("label:first").attr("data-option");
var selectedColor=$(this).closest("fieldset").attr("data-selectedColor");
var curr_color=$('input[type=radio][name="'+color_trans+'"].smart_radio:checked').val();
var band_curr_color=$('input[type=radio][name="'+band_color_trans+'"].smart_radio:checked').val();
$(this).closest("fieldset").attr("data-selectedColor",curr_color);
//option == color_trans
var check_value = [];
$('input[type=radio].smart_radio').removeClass('disabled');
$('input[type=radio].smart_radio').removeAttr('disabled');
$('input[type=radio].smart_radio').removeClass('disabled-strike');
$('input[type=radio].smart_radio').removeClass('disabled-cursor');
$('input[type=radio].smart_radio').removeClass('disabled-cursor-checked');
var v= $('input[type=radio].smart_radio:checked');
let stitched_data = "";
$(v).each(function(i){
check_value.push($(this).val());
if(check_value[i]){
stitched_data = stitched_data !='' ? stitched_data+"|!"+check_value[i] : check_value[i];
}
});
// console.log(stitched_data);
let entry = prod_option.find(e => e.option === stitched_data);
$(".product-custom-media").css("opacity","0.3");
$(".product__media-list").css("opacity","0.3");
if (entry) {
var prod_hadle = entry.url;
var variant_id = entry.variant_id;
var prod_available = entry.available;
var product_id= entry.product_id;
var product_sku = entry.product_sku;
var product_title = entry.product_title;
var product_type = entry.product_type;
var product_price = entry.product_price;
var productcomPrice = entry.productcomPrice;
var viewurl = entry.full_url;
var unavailableOptionTxt = $('.unavailableOptionTxt');
if (unavailableOptionTxt) unavailableOptionTxt.remove();
if(prod_available == 'true'){
changeVariantAjax(viewurl, product_id, product_sku, product_title, product_type, product_price, productcomPrice,this_clicked);
showCart();
}else{
changeVariantAjax(viewurl, product_id, product_sku, product_title, product_type, product_price, productcomPrice, this_clicked);
hideCart();
}
}else{
unavailable(this_clicked);
// checkAvailability();
}
});
function unavailable(this_clicked){
var label_name = this_clicked.data('label_name');
var option_name = this_clicked.data('option_name');
var inputString = this_clicked.val()+label_name;
var totalvarients = $('fieldset.product-form__input').length;
var isFirstTrue = false;
var true_prod = "true";
var v= $('input[type=radio].smart_radio:checked');
if(prod_option.filter(option_new => option_new.option_new.includes(inputString))){
var filteredProducts = prod_option.filter(option_new => option_new.option_new.includes(inputString));
}
if(filteredProducts.some(product_opt1 => product_opt1.product_opt1.includes(true_prod))){
filteredProducts = filteredProducts.filter(product_opt1 => product_opt1.product_opt1.includes(true_prod));
}
var filteredResults = filteredProducts;
$('input[type=radio].smart_radio:checked').each(function(i) {
var value = $(this).val() + $(this).data('label_name');
if (filteredResults.some(option_new => option_new.option_new.includes(value))) {
filteredResults = filteredResults.filter(option_new => option_new.option_new.includes(value));
}
if (filteredResults.some(product_opt1 => product_opt1.product_opt1.includes(true_prod))) {
filteredResults = filteredResults.filter(product_opt1 => product_opt1.product_opt1.includes(true_prod));
}
});
if (filteredResults.length > 0) {
filteredProducts = filteredResults;
}
var optionNewValue = filteredProducts[0].option_new;
$('.product-form__input input[type=radio]').each(function() {
var labelName = $(this).val()+$(this).data('label_name');
if (optionNewValue.includes(labelName)) {
if(!$(this).prop('checked')){
$(this).prop('checked', true);
}
}
});
//$(this).parent().append(unavailable_msg);
var parentElement = $(this_clicked).parent('.js-product-option-form');
const unavailableMessaging = document.querySelectorAll('.unavailableOptionTxt') || [];
if (parentElement) {
if (unavailableMessaging?.length > 0) {
[...unavailableMessaging].forEach((item) => {
item.remove();
});
}
// append unavailable message if not already appended
if (parentElement.find('.unavailableOptionTxt').length == 0) {
parentElement.append(unavailable_msg);
}
}
var prod_hadle = filteredProducts[0].url;
var variant_id = filteredProducts[0].variant_id;
var prod_available = filteredProducts[0].available;
var product_id= filteredProducts[0].product_id;
var product_sku = filteredProducts[0].product_sku;
var product_title = filteredProducts[0].product_title;
var product_type = filteredProducts[0].product_type;
var product_price = filteredProducts[0].product_price;
var productcomPrice = filteredProducts[0].productcomPrice;
var viewurl = filteredProducts[0].full_url;
changeVariantAjax(viewurl, product_id, product_sku, product_title, product_type, product_price, productcomPrice,this_clicked);
if(filteredProducts[0].available == 'true'){
showCart();
}else{
hideCart();
}
}
function showCart(){
$(".show_atc a").show();
$(".show_buy a").show();
$(".hide---atc a").hide();
$(".hide---atc span").hide();
$(".free_shipping_msg").show();
$(".free_shipping_msg_2").show();
$("pickup-availability").css("display", "block");
$(".four-buynow").addClass("four-atc");
$(".applyforFinancing").show();
$(".sticky-container").removeClass("outofstock_sc");
}
function hideCart(){
$(".hide---atc a").show();
$(".hide---atc span").show();
$(".show_atc a").hide();
$(".show_buy a").hide();
$(".free_shipping_msg").hide();
$(".free_shipping_msg_2").hide();
$("pickup-availability").css("display", "none");
$(".four-buynow").removeClass("four-atc");
$(".applyforFinancing").hide();
$(".sticky-container").addClass("outofstock_sc");
}
var shop_url = "https://www.istudiosg.com";
function changeVariantAjax(viewurl, product_id, product_sku, product_title, product_type, product_price, productcomPrice,this_clicked){
var option1=this_clicked.siblings("label:first").attr("data-option");
var option_color = this_clicked.attr("data-color_present");
var productRecommendationsCurrentId = '#frequent-list_current-product';
var productRecommendationsCurrentEl = $(productRecommendationsCurrentId);
var productRecommendationsView = 'product-recommendations-view';
resetErrors();
var sectionIds = ['template--17605519376564__main', 'product-ajax-data'];
$('.js-collapsecon').each(function() {
var sectionId = $(this).attr('id')?.split('shopify-section-')[1] || null;
if (sectionId) {
sectionIds.push(sectionId);
}
});
$.ajax({
type: 'GET',
url: viewurl + `?sections=${sectionIds.join(',')}`,
beforeSend: function() {
$('variant-radios1').addClass('var_radio_point_none');
// $('.loader_pdp_variant_switch').addClass('active');
$("pickup-availability").each(function(index,item){
item.renderLoading();
});
},
success: function(resp) {
var itemData = Object.values(resp).join('');
// remove the store locator from the response so it doesn't fetch the API each time jQuery is called
var itemDataNode = new DOMParser().parseFromString(itemData, 'text/html');
var newStoreLocator = itemDataNode.querySelector('my-store-locator');
if (newStoreLocator) {
newStoreLocator.remove();
}
itemData = itemDataNode;
var newPickupAvailability = $(itemData).find('pickup-availability').first();
var productId = newPickupAvailability.attr("data-product-id");
var selectedOptions = newPickupAvailability.attr("data-selected-options");
var nmpTest = document.querySelector('.js-nmp-test-mode') || null;
var nmpTrigger = itemData?.querySelector('.js-net-monthly-pricing-pdp-trigger') || null;
$("pickup-availability").attr("data-product-id",productId);
$("pickup-availability").attr("data-selected-options",selectedOptions);
$(".js-store-locator-product-info").html($(itemData).find('.js-store-locator-product-info').html());
// init store locator again with new variant details
var storeLocator = document.querySelector('my-store-locator');
if (storeLocator) {
storeLocator.init();
}
if (nmpTrigger && nmpTest) {
var { product: productHandle } = nmpTrigger.dataset || {};
if (productHandle) {
// init nmp test mode with new variant details
nmpTest.getNMPTerms(productHandle);
}
}
// update old product tag html to new product tag html
var newProductTag = $(itemData).find('.product_tag_display_container').first();
$('.product_tag_display_container').each(function(index, item){
if (newProductTag) {
$(item).html(newProductTag.html().trim());
} else {
$(item).html('');
}
});
$(document).attr('title', $(itemData).find('#page_title').val());
window.history.replaceState("", "", viewurl);
//var product_list = $("#product_list").val();
$(".product__title").html($(itemData).find('.product__title').html());
$(".color-name").html($(itemData).find('.color-name').html());
$(".band-color-name").html($(itemData).find('.band-color-name').html());
$(".skuAndBarcode").html($(itemData).find('.skuAndBarcode').html());
$(".product__preorder-message").html($(itemData).find('.product__preorder-message').html());
$(".pricestyle").html($(itemData).find('.pricestyle').html());
$(itemData).find(".product__info-container .product__accordion").each(function(index,item){
// var isOpen=$(".product__info-container").find(".product__accordion").eq(index).find("details").attr("open");
if(index==0){
$(item).find("details").attr("open","open");
}
$(".product__info-container").find(".product__accordion").eq(index).html($(item).html());
});
$(".product-custom-media").html($(itemData).find('.product-custom-media').html());
$(".product-media-modal__content").html($(itemData).find('.product-media-modal__content').html());
$('.product__media-gallery').prepend('
');
$('.slider_media').html('');
// $("#product_list").val(product_list);
$(".common_medias").each(function(){
var data = $(this).find('.product__media').html()
$('.slider_media').append('
');
});
$('.slider_media').slick({
prevArrow: `
`,
nextArrow: `
`
});
$('.slider_media').on('beforeChange', function(event, slick, currentSlide, nextSlide){
$('video').each(function() {
$(this).get(0).pause();
});
});
$('.slider_media').on('afterChange', function(event, slick, currentSlide, nextSlide){
if( $('.slick-current').find('video').length !== 0) {
$(".slider_media .slick-current video")[0].play();
}
});
// Remove aria-describedby from slick slides for desktop
setTimeout(() => {
const slickSlides = $('.slider_media').find('.slick-list .slick-slide');
adaFormatSlickSlides(slickSlides);
}, 250);
$(".main-accordions").html($(itemData).find('.main-accordions').html());
$(".product-form").html($(itemData).find('.product-form').html());
$(".one-pickup").html($(itemData).find('.one-pickup').html());
$(".two-price").html($(itemData).find('.two-price').html());
$('#pdp_monthly_price_taxfree_true').html($(itemData).find('#pdp_monthly_price_taxfree_true').html());
$('#pdp_monthly_price_taxfree_false').html($(itemData).find('#pdp_monthly_price_taxfree_false').html());
$('#pdp_monthly_price_taxfree_true_2').html($(itemData).find('#pdp_monthly_price_taxfree_true_2').html());
$(".applecare-replace").html($(itemData).find('.applecare-replace').html());
$(".secWarranty-replace").html($(itemData).find('.secWarranty-replace').html());
$(".js-gwp-replace").html($(itemData).find('.js-gwp-replace').html());
$(".learn_more_sw").html($(itemData).find('.learn_more_sw').html());
$(".learn_more_apple").html($(itemData).find('.learn_more_apple').html());
$(".js-sticky-atc").html($(itemData).find('.js-sticky-atc').html());
$('#stickybar_monthlyprice_1').html($(itemData).find('#stickybar_monthlyprice_1').html());
$('#stickybar_monthlyprice_2').html($(itemData).find('#stickybar_monthlyprice_2').html());
$('#stickybar_monthlyprice_3').html($(itemData).find('#stickybar_monthlyprice_3').html());
$('#url').val($(itemData).find('#url').val());
setTimeout(function () {
$('variant-radios1').removeClass('var_radio_point_none');
//$('.loader_pdp_variant_switch').removeClass('active');
Shopify?.PaymentButton?.init()
} , 1000);
// $('.share-button').html($(itemData).find('.share-button').html());
callOptGa(product_id, product_sku, product_title, product_type, product_price, productcomPrice);
checkAvailability();
$(".product-custom-media").css("opacity", "1");
$(".product__media-list").css("opacity","1");
function isEmpty(el) {
return !$.trim(el.html());
}
let all_are_hidden1 = true;
let all_are_hidden2 = true;
$('#tblNodes').each(function() {
if (($(this).css('display') !== 'none') || ($('#tblNodes').html() != "")) {
all_are_hidden1 = false;
return false;
}
});
if (all_are_hidden1 == true) {
$(".overviewAccordion").css("display", "none");
} else {
$(".overviewAccordion").css("display", "block");
}
$('#tblNodes2').each(function() {
if (($(this).css('display') !== 'none') || ($('#tblNodes2').html() != "")) {
all_are_hidden2 = false;
return false;
}
});
if (all_are_hidden2 == true) {
$(".specificationAccordion").css("display", "none");
} else {
$(".specificationAccordion").css("display", "block");
}
if (isEmpty($('#tblNodes'))) {
$(".overviewAccordion").css("display", "none");
}
if (isEmpty($('#tblNodes2'))) {
$(".specificationAccordion").css("display", "none");
}
if (all_are_hidden1 == true && all_are_hidden2 == true || $('.specificationAccordion').css('display') == "none" && $('.overviewAccordion').css('display') == "none") {
$(".container_X").css("display", "none");
} else {
$(".container_X").css("display", "block");
}
$(".overviewAccordion").trigger("click");
$("#tradeIn").html($(itemData).find('#tradeIn').html());
$('.js-net-monthly-pricing-pdp-trigger').on('click', function() {
if ($('.js-net-monthly-pricing-modal-trigger').length) {
$('.js-net-monthly-pricing-modal-trigger')[0].click();
}
});
$('#adobeAnalyticsProductData').html($(itemData).find('#adobeAnalyticsProductData').html());
window.refreshModals();
if (window.refreshTradeInModal) window.refreshTradeInModal();
if (window.initTradeInModals) window.initTradeInModals();
var $featuresValue = document.querySelector('.js-features-value') || null;
if ($featuresValue) {
updateFeaturesMarkup($featuresValue);
}
}
});
// Set first product in 'Product recommendations' section to current product
if (productRecommendationsCurrentEl) {
var viewTemplate = $(productRecommendationsCurrentId)?.data(productRecommendationsView);
var productRecommendationsUrl = `${viewurl}?view=${viewTemplate}`;
$.ajax({
type: 'GET',
url: productRecommendationsUrl,
success: function(itemData) {
setCurrentProduct(productRecommendationsCurrentEl, itemData);
}
});
}
}
$(document).on("click",".accordion1",function(){
this.classList.toggle("active_1");
this.classList.toggle("headerBlu");
var panel1 = this.nextElementSibling;
$(panel1.style.maxHeight);
if (panel1.style.maxHeight) {
panel1.style.maxHeight = null;
$(this).find('span').removeClass("svgrotate_2");
} else {
panel1.style.maxHeight = panel1.scrollHeight + "px";
$(this).find('span').addClass("svgrotate_2");
}
});
checkAvailability();
var color_sw_array = [];
$('.smart_radio').each(function(){
color_sw_array.push($(this).val()+$(this).data('option_count'));
});
var diff = $(color_sw_array).not(prod_option2).get();
for(var i=0;i < diff.length;i++) {
var smartColor = diff[i];
var convertedText = handleize(smartColor);
$('label.title-tip-color-swatch.color-swatch.radio-label.'+convertedText).css("display", "none");
$('label.title-tip.'+convertedText).css("display", "none");
// Hide inputs for ADA compliance
const titleTipColorSwatchInput = $('label.title-tip-color-swatch.color-swatch.radio-label.'+convertedText).prev().is('input');
const titleTipInput = $('label.title-tip-color-swatch.color-swatch.radio-label.'+convertedText).prev().is('input');
if (titleTipColorSwatchInput) {
$('label.title-tip-color-swatch.color-swatch.radio-label.'+convertedText).prev().css("display", "none");
}
if (titleTipInput) {
$('label.title-tip-color-swatch.color-swatch.radio-label.'+convertedText).prev().css("display", "none");
}
}
function handleize(str) {
const normalizedStr = str.normalize('NFD'); // Normalize
return normalizedStr
.replace(/\p{Diacritic}/gu, '') // Remove diacritics
.replace(/[()]/g, '') // Remove parentheses to match Shopify handleize filter functionality
.replace(/^([^a-zA-Z0-9])*(.*?)/, '$2') // Remove non alphanumeric characters from start and end
.replace(/([^a-zA-Z0-9])/g, '-') // Replace non alphanumeric characters with hyphen
.replace(/-+/g, '-') // Replace duplicate hyphens with single hyphen
.toLowerCase();
}
function checkAvailability(){
var out_of_stock = "Out of Stock";
var not_present = "Combination does not exist";
var totalvarients = $('fieldset.product-form__input:not(.product-form__input--trade-in)').length;
for(var i=0;i
.replace(/^[^ ]/g, match => (match.toUpperCase()));
}
var productPrice = Number(product_price.replace(/[^0-9.-]+/g,""));
var value_price = productPrice * parseInt(prodQuant);
var value_price1 = parseFloat(value_price);
var productPrice1 = parseFloat(productPrice);
document.getElementById("product_list")?.setAttribute('value', item_list_name);
if((prevPage.includes("search")) && (item_list_name == "Search Results")){
dataLayer.push({ 'ecommerce': null });
dataLayer.push({
'event': 'select_item',
'search_term':search_value,
'ecommerce': {
'items': [{
'item_id': product_sku,
'item_name': product_title,
'item_category': product_type,
'item_list_name' :item_list_name,
'price': productPrice,
'quantity':1
}]
}
});
}
dataLayer.push({ 'ecommerce': null });
dataLayer.push({
'event': 'view_item',
'search_term':search_value,
'currency': productCurrency,
'value': value_price1,
'ecommerce': {
'items': [{
'item_id': product_sku,
'item_name': product_title,
'item_category': product_type,
'item_list_name' :item_list_name,
'price': productPrice,
'quantity':1
}]
}
});
}
$(".infocircle").click(function(){
$(".infocircle").removeClass("tooltip-active");
$(this).addClass("tooltip-active");
$(".infocircle .inf1").addClass("inf3");
$(".infocircle .inf2").addClass("inf3");
});
// Set the current product as the first item in the 'Product recommendations' section
function setCurrentProduct($el, data) {
$el.html(data);
}
function mediaSize_1(className) {
if (window.matchMedia('(max-width: 1024px)').matches) {
$(className).css("display", "block");
} else {
$(className).css("display", "flex");
}
}
function mediaSize_2(className) {
if (window.matchMedia('(max-width: 1024px)').matches) {
$(className).css("display", "block");
} else {
$(className).css("display", "inline-flex");
}
}
$('.product__media-gallery').prepend('
');
// Remove aria-describedby from slick slides for mobile
setTimeout(() => {
const slickSlides = $('.mobile_media_slider .slider_media').find('.slick-list .slick-slide');
adaFormatSlickSlides(slickSlides);
}, 250);
$('.variant-meta-image').each( function() {
var elem = $(this).find('img');
var img_src = $(this).find('img').attr('data-src');
if(elem.length) {
getMeta(img_src, elem);
}
});
$('.video').parent().click(function () {
if($(this).children(".video").get(0).paused){
$(this).children(".video").get(0).play();
}else{
$(this).children(".video").get(0).pause();
}
});
var videos = document.querySelectorAll('video');
for(var i=0; i
videos[i].pause();
}
}
}
$('.variant-all-image').each( function() {
$(this).css("display","none");
});
$('.variant-meta-image').each( function() {
$(this).css("display","none");
});
$('.is-active').css("display","block");
$('.product-media-modal__content img').each( function() {
$(this).hide();
});
$('.product-media-modal__content video').each( function() {
$(this).hide();
});
$('.product-media-modal__content deferred-media').each( function() {
$(this).hide();
});
$('.product-media-modal__content deferred-media video').each( function() {
$(this).hide();
});
var c1 = parseInt($(".variant-listed-image-44064214581428").length);
var c2 = 0;
var c3 = c1 + c2;
var c3 = 0;
if(c3 == 0) {
$(".common_medias").each( function() {
$(this).css("display","block");
});
$(".variant-meta-image").each( function() {
$(this).css("display","none");
});
//$('.slider_media').slick('unslick');
$('.slider_media').html('');
$(".common_medias").each(function(){
var data = $(this).find('.product__media').html()
$('.slider_media').append('
');
})
$('.slider_media').slick({
prevArrow: `
`,
nextArrow: `
`
});
$('.slider_media').on('beforeChange', function(event, slick, currentSlide, nextSlide){
$('video').each(function() {
$(this).get(0).pause();
});
});
$('.slider_media').on('afterChange', function(event, slick, currentSlide, nextSlide){
if( $('.slick-current').find('video').length !== 0) {
$(".slider_media .slick-current video")[0].play();
}
});
$('.product-media-modal__content img').not('.custom_media_images').each( function() {
$(this).show();
});
$('.product-media-modal__content deferred-media').each( function() {
$(this).show();
});
$('.product-media-modal__content deferred-media video').each( function() {
$(this).show();
});
return;
}
$('body').on('click','.frequent-products-checkbox',function() {
if ($(this).is(':checked')) {
$(this).siblings('label').html(varselect);
} else {
$(this).siblings('label').html(varunselect);
}
});
function resetErrors() {
var errorMessage = document?.querySelector('.js-qty-error') || null;
var qtyInput = document?.querySelector('.js-qty-input') || null;
// reset error messaging
if (errorMessage) {
errorMessage.classList.add('hidden');
}
if (qtyInput) {
qtyInput.classList.remove('quantity--error');
}
}
function updateFeaturesMarkup(val) {
var $container = document.querySelector('.overviewPanel');
var $list = document.createElement('ul');
var $content = val.innerHTML;
if ($content && $content?.length > 0) {
// Split the content by
tag
var $items = $content.split(/
/i);
if ($items?.length > 0) {
$items = $items.map((item) => {
var $listItem = document.createElement('li');
$listItem.innerHTML = item;
// add li to $list
$list.appendChild($listItem);
});
// Clear the existing content
val.innerHTML = '';
val.appendChild($list);
if ($container && $container?.style?.maxHeight) {
// update the max height of the container to account for the new content
$container.style.maxHeight = $container.scrollHeight + 'px';
}
}
}
}
});
// Reset trade-in values to 0
$(document).on('click', '#no-trade-in', () => {
const $tradeInValueAmounts = document.querySelectorAll('.js-trade-in-value-amount');
const $startTradeInBtn = document.querySelector('.js-product-option-form .js-trade-in-modal-trigger-input');
const $startTradeInBtnLabel = document.querySelector('.js-product-option-form .js-trade-in-modal-trigger-input + label');
const $hiddenSelectedTradeIn = document.querySelector('#selected-trade-in-value');
const $productPrices = document.querySelectorAll('.js-product-price-with-care-warranty');
$tradeInValueAmounts.forEach(($tradeInValueAmount) => {
if ($tradeInValueAmount.classList?.contains('pdp-value-amount')) {
$tradeInValueAmount.innerText = '$0';
$tradeInValueAmount.setAttribute('data-trade-in-value', 0);
$tradeInValueAmount.parentElement?.classList?.add('hidden');
}
});
$startTradeInBtnLabel.innerText = 'Start trade-in';
$hiddenSelectedTradeIn.value = 0;
updatePriceAfterRemovingTradeIn();
});
function updatePriceAfterRemovingTradeIn() {
const isAppleCareAdded = $('#add-apple-care').is(':checked');
const isWarrantyAdded = $('#add-secWarranty').is(':checked');
const isTradeInAdded = document.querySelector('#selected-trade-in-value')?.value;
const $productPrices = document.querySelectorAll('.js-product-price-with-care-warranty');
$('.js-product-price-with-care-warranty').each((i, $productPrice) => {
const price = $($productPrice).data('price');
let updatedPrice;
/* TO BE ADDED */
if (isTradeInAdded && isAppleCareAdded && isWarrantyAdded) {
updatedPrice = $($productPrice).attr('data-price-with-care-and-secWarranty');
} else if (isTradeInAdded && isAppleCareAdded) {
updatedPrice = $($productPrice).attr('data-price-with-care');
} else if (isTradeInAdded && isWarrantyAdded) {
updatedPrice = $($productPrice).attr('data-price-with-secWarranty');
} else if (isTradeInAdded) {
updatedPrice = price;
} else {
updatedPrice = price;
}
$($productPrice).html(updatedPrice);
});
}
function updatePriceAfterAddingCareOrWarranty() {
const isAppleCareAdded = $('#add-apple-care').is(':checked');
const isWarrantyAdded = $('#add-secWarranty').is(':checked');
const hasTradeIn = $('#selected-trade-in-value').val() && $('#selected-trade-in-value').val() !== '0' && $("#selected-trade-in-device").val() !== '';
const hiddenSelectedTradeInValue = $('#selected-trade-in-value').val();
const tradeInPrice = hiddenSelectedTradeInValue
? formatMoney(hiddenSelectedTradeInValue)
: 0;
$('.js-product-price-with-care-warranty').each(function(i, $productPrice) {
let price = $(this).attr('data-price');
const nmpPriceCalculation = $(this).data('priceCalculation');
if (isAppleCareAdded && isWarrantyAdded && hasTradeIn) {
price = setPriceWithTradeIn('data-price-with-care-and-secWarranty', $productPrice);
} else if (isAppleCareAdded && isWarrantyAdded) {
price = $(this).attr('data-price-with-care-and-secWarranty');
} else if (isAppleCareAdded && hasTradeIn) {
price = setPriceWithTradeIn('data-price-with-care', $productPrice);
} else if (isWarrantyAdded && hasTradeIn) {
price = setPriceWithTradeIn('data-price-with-secWarranty', $productPrice);
} else if (isAppleCareAdded) {
price = $(this).attr('data-price-with-care');
} else if (isWarrantyAdded) {
price = $(this).attr('data-price-with-secWarranty');
} else if (hasTradeIn) {
price = setPriceWithTradeIn('data-price', $productPrice);
}
$(this).html(price);
});
}
function setCookie(name, value, days) {
var expires = "";
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
}
function getCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
}
function eraseCookie(name) {
document.cookie = name + '=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';
}
//added by anusha - 4th variant option cookie approach - start
//check if the main product is inside 4th option product list. if its present, set cookie array
var pid = "7997226811572";
var pid1 = "";
var pid1 = pid1.replace(/\s/g, "");
var pid2 = pid1.split('-');
var count = 0;
for (var j = 0; j < pid2.length; j++) {
var a = pid2[j];
var b = pid;
if (a.trim() == b.trim()) {
count++;
}
}
if (count > 0) {
setCookie('optionPIDlist', pid2.join('|'), {
path: '/'
});
}
// if the main product has 'empty 4th product list', then delete all the cookies
if (!pid1.length > 0) {
eraseCookie('option1select');
eraseCookie('option2select');
eraseCookie('option3select');
eraseCookie('optionPIDlist');
}
// cookie values - 3 options
let op1 = getCookie('option1select');
let op2 = getCookie('option2select');
let op3 = getCookie('option3select');
// when customer change the 4th option selection - trigger click event (inorder to set cookie values for 3 options)
if (op1 && $('fieldset.product-form__input[data-opcount="1"]').length > 0) {
setTimeout(function() {
$('fieldset.product-form__input[data-opcount="1"]').find('label[data-title="' + op1 + '"]').trigger('click');
}, 1000);
};
if (op2 && $('fieldset.product-form__input[data-opcount="2"]').length > 0) {
setTimeout(function() {
$('fieldset.product-form__input[data-opcount="2"]').find('label[data-title="' + op2 + '"]').trigger('click');
}, 1000);
};
if (op3 && $('fieldset.product-form__input[data-opcount="3"]').length > 0) {
setTimeout(function() {
$('fieldset.product-form__input[data-opcount="3"]').find('label[data-title="' + op3 + '"]').trigger('click');
}, 1000);
};
let op11 = $("input[type='radio'][name='Title']:checked").val();
let op22 = $("input[type='radio'][name='']:checked").val();
let op33 = $("input[type='radio'][name='']:checked").val();
// when customer dont click on any of the variant buttons - set cookie values for 3 options from current mainprod variant selection
if (op1 == null && op2 == null && op3 == null) {
if (op11 && $('fieldset.product-form__input[data-opcount="1"]').length > 0) {
setTimeout(function() {
$('fieldset.product-form__input[data-opcount="1"]').find('label[data-title="' + op11 + '"]').trigger('click');
}, 1000);
};
if (op22 && $('fieldset.product-form__input[data-opcount="2"]').length > 0) {
setTimeout(function() {
$('fieldset.product-form__input[data-opcount="2"]').find('label[data-title="' + op22 + '"]').trigger('click');
}, 1000);
};
if (op33 && $('fieldset.product-form__input[data-opcount="3"]').length > 0) {
setTimeout(function() {
$('fieldset.product-form__input[data-opcount="3"]').find('label[data-title="' + op33 + '"]').trigger('click');
}, 1000);
};
if (getCookie('optionPIDlist')) {
setCookie('option1select', op11, 7);
setCookie('option2select', op22, 7);
setCookie('option3select', op33, 7);
}
}
// added by anusha - 4th variant option cookie approach - end
if (vat_free_day == true) {
var vat_price_footer = $(".pricestyle").find(".vat_price_bold").text();
if (vat_price_footer != "") {
$("#price-element").find(".footerOr2").css("display", "none");
}
}
});
this.addEvent();
call_gafunction();
})
.catch((e) => {
console.error(e);
});
};
new IntersectionObserver(handleIntersection.bind(this), { rootMargin: '0px 0px 200px 0px' }).observe(this);
}
hideButton(el) {
if (!el) return;
el.classList.add(this.config.cls.hide);
}
showButton(el) {
if (!el) return;
el.classList.remove(this.config.cls.hide);
}
updateButtonState(show = true) {
const $button = this.querySelector(this.config.dom.button) || null;
if (!$button) return;
if (show) {
this.showButton($button);
} else {
this.hideButton($button);
}
}
addEvent() {
const $inputs = this.querySelectorAll(this.config.dom.input) || [];
if (!$inputs?.length > 0) return;
[...$inputs].forEach(($input) => {
$input.addEventListener('change', () => {
const $selected = this.querySelector(this.config.dom.selected) || null;
if ($selected) {
this.updateButtonState();
} else {
this.updateButtonState(false);
}
});
});
}
}
customElements.define('product-recommendations', ProductRecommendations);
function call_gafunction() {
var mpn_handle = $('#mpn_handle').val();
var frequentProducts_ga = [];
var productList = 'Shopify Rec :: ' + mpn_handle;
$.each($("input[name='frequent-products-pdp']"), function () {
var prodtitle = $('#title_' + $(this).val()).val();
var prodMPN = $('#product_mpn_handle_' + $(this).val()).val();
var prodType = $('.card_product_category_' + $(this).val()).val();
var prodCurrency = $('.card_product_currency_' + $(this).val()).attr('value');
var prodPrice = $('.card_product_price_' + $(this).val()).attr('value');
var prodSku = $('.card_product_sku_' + $(this).val()).attr('value');
var compareprice = $('.card_product_compare_' + $(this).val()).attr('value');
prodPrice = Number(prodPrice.replace(/[^0-9.-]+/g, ''));
var discount = 0;
if (compareprice != '') {
compareprice = Number(compareprice.replace(/[^0-9.-]+/g, ''));
discount = parseFloat(compareprice) - parseFloat(prodPrice);
discount = parseFloat(discount);
// prodPrice = compareprice;
}
var productPrice1 = parseFloat(prodPrice);
item_ga = {};
item_ga['item_id'] = prodSku;
item_ga['item_name'] = prodtitle;
item_ga['item_category'] = prodType;
item_ga['item_list_name'] = productList;
item_ga['price'] = prodPrice;
item_ga['quantity'] = 1;
frequentProducts_ga.push(item_ga);
});
if (frequentProducts_ga.length != 0) {
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: 'view_item_list',
ecommerce: {
item_list_name: productList,
items: frequentProducts_ga,
},
});
}
}
$('#checked-products').text(checkLength);
}, 4000);
setTimeout(function () {
var height;
var maxheight = 0;
var minheight = 0;
$('.price_container_cal').each(function () {
height = parseInt($(this).height());
if (height > maxheight) {
maxheight = height;
} else {
minheight = height;
}
});
let isMobile = window.matchMedia('only screen and (max-width: 1023px)').matches;
if (!isMobile) {
if (maxheight >= minheight) {
$('.price_container_cal').attr(
'style',
'display: flex; flex-flow: column; justify-content: flex-end; height:' + maxheight + 'px;'
);
}
}
}, 500);
}
});
});
- Choosing a selection results in a full page refresh.
- Opens in a new window.
window.cartStrings = {
error: `There was an error while updating your cart. Please try again.`,
quantityError: `You can only add [quantity] of this item to your cart.`,
storeConfirmationMessage: 'Confirm store at checkout',
};
window.variantStrings = {
addToCart: `Add to cart`,
soldOut: `Out of Stock`,
unavailable: `Unavailable`,
unavailable_with_option: `[value] - Unavailable`,
};
window.quickOrderListStrings = {
itemsAdded: `[quantity] items added`,
itemAdded: `[quantity] item added`,
itemsRemoved: `[quantity] items removed`,
itemRemoved: `[quantity] item removed`,
viewCart: `View cart`,
each: `[money]/ea`,
};
window.accessibilityStrings = {
imageAvailable: `Image [index] is now available in gallery view`,
shareSuccess: `Link copied to clipboard`,
pauseSlideshow: `Pause slideshow`,
playSlideshow: `Play slideshow`,
recipientFormExpanded: `Gift card recipient form expanded`,
recipientFormCollapsed: `Gift card recipient form collapsed`,
};
window.deliveryOptionsStrings = {"en":{"Usually ready in 1 hour":"Usually ready in 1 hour","Usually ready in 2 hours":"Usually ready in 2 hours","Usually ready in 4 hours":"Usually ready in 4 hours","Usually ready in 24 hours":"Usually ready in 24 hours","Usually ready in 2-4 days":"Usually ready in 2-4 days","Temporarily Unavailable for Pickup":"Temporarily Unavailable for Pickup"}};
MARKET LAETOTO
LAETOTO GAME
Space Black
2TB
Wi-Fi
Standard Glass
How does Financing work?
Get what you want now, pay for it later!
Shopping online made so much more accessible now with PayLater by Grab.
Explore options
if (document.querySelector("#collapseconID .overviewPanel #tblNodes") != null) {
document.querySelector("#collapseconID .overviewPanel #tblNodes").append(flixinpage);
}
if (document.querySelector(".transparent_2.description .collapseTheTd2") != null) {
document.querySelector(".transparent_2.description .collapseTheTd2").append(flixminisite);
}
var product_mpn = "";
var product_ean = "";
if (document.querySelector(".skuAndBarcode .sku-pdp") != null) {
product_ean = document.querySelector(".skuAndBarcode .sku-pdp").textContent.trim().slice(5).replace(/\s+/g, '');
} else if (meta?.product?.variants?.[0]?.sku) {
product_ean = meta?.product?.variants?.[0]?.sku;
}
var product_brand = "";
if (meta?.product?.vendor) {
product_brand = meta?.product?.vendor?.replace(/\s+/g, '');
}
var distributor = "17748";
var language = "b7";
var headID = document.getElementsByTagName("head")[0];
var flixScript = document.createElement('script');
flixScript.type = 'text/javascript';
flixScript.async = true;
flixScript.setAttribute('data-flix-distributor', distributor);
flixScript.setAttribute('data-flix-language', language);
flixScript.setAttribute('data-flix-brand', product_brand);
flixScript.setAttribute('data-flix-ean', product_ean);
flixScript.setAttribute('data-flix-mpn', product_mpn);
flixScript.setAttribute('data-flix-inpage', 'flix-inpage');
flixScript.setAttribute('data-flix-button', 'flix-minisite');
flixScript.setAttribute('data-flix-price', '');
flixScript.setAttribute('data-flix-button-image', 'https://cdn.shopify.com/s/files/1/0637/3864/2612/files/Logitech_Watch_Product_tour_button_120x49_3e574d4c-baa8-4dd7-b370-2b3aa0faf936.png?v=1769406380'); // Please add the Minisite button image URL
headID.appendChild(flixScript);
flixScript.src = '//media.flixfacts.com/js/loader.js';
});
} })
function sfsi_processfurther(ref) { var feed_id = 'NUdmSzhaazdrbGczOGdKMVlQb3VQbElVZld2THREMkpLU1d5bDF6MTg3TWNxN0I0UkF6cEFueURuWEU1QklldVE3WENrTEF6cmw5SEErRDkzMzE5QTJBOWJKWXA3YWRQZXZvMytCQ2VHQXpKNXkxbmhLbWw5Q3cvWU04SDZveHh8cU03VmtxNmM0ZmFUWlFudEVVQlFmS001WmtpYkQydElLVGliSzFKWTRpWT0='; var feedtype = 8; var email = jQuery(ref).find('input[name="email"]').val(); var filter = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; if ((email != "Enter your email") && (filter.test(email))) { if (feedtype == "8") { var url = "https://api.follow.it/subscription-form/" + feed_id + "/" + feedtype; window.open(url, "popupwindow", "scrollbars=yes,width=1080,height=760"); return true; } } else { alert("Please enter email address"); jQuery(ref).find('input[name="email"]').focus(); return false; } }
const API_BASE = "https://api.asterixhr.com"; const APPLY_BASE = "https://careers.grkarelaw.edu.in/join-us?companyName=Kare&jobId=";
const listContainer = document.getElementById("job-list");
const modal = document.getElementById("job-modal"); const modalTitle = document.getElementById("modal-title"); const modalBody = document.getElementById("modal-body"); const modalApply = document.getElementById("modal-apply-link");
function escapeHtml(str){ return String(str ?? "") .replace(/&/g,"&") .replace(//g,">"); }
/*============================== LOAD JOBS ==============================*/
fetch(`${API_BASE}/api/listing-all-job-kare`, { headers: { "X-Tenant": "ddbf9c81-de59-44d4-8616-b6f35c689a02" } }) .then(r=>r.json()) .then(async(result)=>{
const jobs=result?.data?.data||[];
listContainer.innerHTML="";
if(!jobs.length){
listContainer.innerHTML=`
No Open Positions
Please check back later.
`;
return;
}
for(const item of jobs){
const applyUrl=APPLY_BASE+encodeURIComponent(item.jobId);
let location="Goa"; let type="Full Time"; let experience="Experience"; let description="Join our team and contribute to academic excellence in a collaborative environment.";
try{
const detail=await fetch(`${API_BASE}/api/listing-all-job-details-kare?jobId=${id}`, { headers: { "X-Tenant": "ddbf9c81-de59-44d4-8616-b6f35c689a02" } }); const data=await detail.json();
const job=data?.data?.data?.[0];
if(job){
location=job.location||location;
type=job.jobType||type;
experience=job.experience||experience;
description= job.shortDescription|| job.description|| job.summary|| description;
}
}catch(e){}
listContainer.innerHTML+=`
