$product = {"id":7823749709923,"title":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對","handle":"iphone-15-pro-max-solidx-en43","description":null,"published_at":"2025-07-01T19:22:09+08:00","created_at":"2025-06-20T10:21:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-knockknockatoz","device-iPhone 15 Pro Max","merge","reseller-knockknockatoz"],"price":125000,"price_min":125000,"price_max":125000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43472653058147,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200757756003,"product_id":7823749709923,"position":9,"created_at":"2026-07-07T18:32:01+08:00","updated_at":"2026-07-07T18:32:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38385a5c15ee3904659f75b198aebc90929b1225.webp?v=1783420323","variant_ids":[43472653058147]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-EN43","featured_media":{"alt":null,"id":27705562660963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38385a5c15ee3904659f75b198aebc90929b1225.webp?v=1783420323"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472656695395,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200756609123,"product_id":7823749709923,"position":6,"created_at":"2026-07-07T18:31:59+08:00","updated_at":"2026-07-07T18:32:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19d2e50f18f814f691b1ddc00b448b9a4bdfbf7.webp?v=1783420321","variant_ids":[43472656695395]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-EN43","featured_media":{"alt":null,"id":27705561481315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19d2e50f18f814f691b1ddc00b448b9a4bdfbf7.webp?v=1783420321"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472656793699,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200757035107,"product_id":7823749709923,"position":7,"created_at":"2026-07-07T18:31:59+08:00","updated_at":"2026-07-07T18:32:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc5313e076b79a04880bcc3752c2958c79fd.webp?v=1783420321","variant_ids":[43472656793699]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-EN43","featured_media":{"alt":null,"id":27705561940067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc5313e076b79a04880bcc3752c2958c79fd.webp?v=1783420321"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472656826467,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200755265635,"product_id":7823749709923,"position":3,"created_at":"2026-07-07T18:31:57+08:00","updated_at":"2026-07-07T18:31:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a22ab4fb05f15e3452c1919218e3eb56450522e4.webp?v=1783420319","variant_ids":[43472656826467]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-EN43","featured_media":{"alt":null,"id":27705560203363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a22ab4fb05f15e3452c1919218e3eb56450522e4.webp?v=1783420319"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43494462718051,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"NST0129857-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200757297251,"product_id":7823749709923,"position":8,"created_at":"2026-07-07T18:32:00+08:00","updated_at":"2026-07-07T18:32:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/185f602ec0d3fee40fc03102ec04b492df5676b0.webp?v=1783420322","variant_ids":[43494462718051]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129857-EN43","featured_media":{"alt":null,"id":27705562169443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/185f602ec0d3fee40fc03102ec04b492df5676b0.webp?v=1783420322"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-EN43.png?v=1750386081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-EN43_812e182f-9637-4e85-b0bf-bee5f6ab8208.png?v=1750832303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a22ab4fb05f15e3452c1919218e3eb56450522e4.webp?v=1783420319","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438422ba7ff874f697e02d2c94dd4a9affdfda6b.webp?v=1783420320","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9608efafa67d233512742931aa40eab73a8ea57.webp?v=1783420320","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19d2e50f18f814f691b1ddc00b448b9a4bdfbf7.webp?v=1783420321","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc5313e076b79a04880bcc3752c2958c79fd.webp?v=1783420321","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/185f602ec0d3fee40fc03102ec04b492df5676b0.webp?v=1783420322","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38385a5c15ee3904659f75b198aebc90929b1225.webp?v=1783420323"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-EN43.png?v=1750386081","options":["color"],"media":[{"alt":null,"id":25720302960739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-EN43.png?v=1750386081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-EN43.png?v=1750386081","width":2000},{"alt":null,"id":25736377565283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-EN43_812e182f-9637-4e85-b0bf-bee5f6ab8208.png?v=1750832303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-EN43_812e182f-9637-4e85-b0bf-bee5f6ab8208.png?v=1750832303","width":2000},{"alt":null,"id":27705560203363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a22ab4fb05f15e3452c1919218e3eb56450522e4.webp?v=1783420319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a22ab4fb05f15e3452c1919218e3eb56450522e4.webp?v=1783420319","width":2000},{"alt":null,"id":27705560858723,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438422ba7ff874f697e02d2c94dd4a9affdfda6b.webp?v=1783420320"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438422ba7ff874f697e02d2c94dd4a9affdfda6b.webp?v=1783420320","width":2000},{"alt":null,"id":27705561284707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9608efafa67d233512742931aa40eab73a8ea57.webp?v=1783420320"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9608efafa67d233512742931aa40eab73a8ea57.webp?v=1783420320","width":2000},{"alt":null,"id":27705561481315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19d2e50f18f814f691b1ddc00b448b9a4bdfbf7.webp?v=1783420321"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19d2e50f18f814f691b1ddc00b448b9a4bdfbf7.webp?v=1783420321","width":2000},{"alt":null,"id":27705561940067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc5313e076b79a04880bcc3752c2958c79fd.webp?v=1783420321"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc5313e076b79a04880bcc3752c2958c79fd.webp?v=1783420321","width":2000},{"alt":null,"id":27705562169443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/185f602ec0d3fee40fc03102ec04b492df5676b0.webp?v=1783420322"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/185f602ec0d3fee40fc03102ec04b492df5676b0.webp?v=1783420322","width":2000},{"alt":null,"id":27705562660963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38385a5c15ee3904659f75b198aebc90929b1225.webp?v=1783420323"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38385a5c15ee3904659f75b198aebc90929b1225.webp?v=1783420323","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43472653058147,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200757756003,"product_id":7823749709923,"position":9,"created_at":"2026-07-07T18:32:01+08:00","updated_at":"2026-07-07T18:32:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38385a5c15ee3904659f75b198aebc90929b1225.webp?v=1783420323","variant_ids":[43472653058147]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-EN43","featured_media":{"alt":null,"id":27705562660963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38385a5c15ee3904659f75b198aebc90929b1225.webp?v=1783420323"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472656695395,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200756609123,"product_id":7823749709923,"position":6,"created_at":"2026-07-07T18:31:59+08:00","updated_at":"2026-07-07T18:32:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19d2e50f18f814f691b1ddc00b448b9a4bdfbf7.webp?v=1783420321","variant_ids":[43472656695395]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-EN43","featured_media":{"alt":null,"id":27705561481315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19d2e50f18f814f691b1ddc00b448b9a4bdfbf7.webp?v=1783420321"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472656793699,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200757035107,"product_id":7823749709923,"position":7,"created_at":"2026-07-07T18:31:59+08:00","updated_at":"2026-07-07T18:32:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc5313e076b79a04880bcc3752c2958c79fd.webp?v=1783420321","variant_ids":[43472656793699]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-EN43","featured_media":{"alt":null,"id":27705561940067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc5313e076b79a04880bcc3752c2958c79fd.webp?v=1783420321"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472656826467,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200755265635,"product_id":7823749709923,"position":3,"created_at":"2026-07-07T18:31:57+08:00","updated_at":"2026-07-07T18:31:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a22ab4fb05f15e3452c1919218e3eb56450522e4.webp?v=1783420319","variant_ids":[43472656826467]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-EN43","featured_media":{"alt":null,"id":27705560203363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a22ab4fb05f15e3452c1919218e3eb56450522e4.webp?v=1783420319"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43494462718051,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"NST0129857-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200757297251,"product_id":7823749709923,"position":8,"created_at":"2026-07-07T18:32:00+08:00","updated_at":"2026-07-07T18:32:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/185f602ec0d3fee40fc03102ec04b492df5676b0.webp?v=1783420322","variant_ids":[43494462718051]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129857-EN43","featured_media":{"alt":null,"id":27705562169443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/185f602ec0d3fee40fc03102ec04b492df5676b0.webp?v=1783420322"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43472653058147,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-EN43","requires_shipping":true,"taxable":true,"featured_image":{"id":36200757756003,"product_id":7823749709923,"position":9,"created_at":"2026-07-07T18:32:01+08:00","updated_at":"2026-07-07T18:32:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38385a5c15ee3904659f75b198aebc90929b1225.webp?v=1783420323","variant_ids":[43472653058147]},"available":true,"name":"iPhone 15 Pro Max SolidX Knock Knock A2Z 彩虹派對 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-EN43","featured_media":{"alt":null,"id":27705562660963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38385a5c15ee3904659f75b198aebc90929b1225.webp?v=1783420323"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }