$product = {"id":7931637858403,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 腐鏽的我們","handle":"iphone-14-pro-mod-nx-magsafe-bir07","description":null,"published_at":"2026-01-27T14:20:51+08:00","created_at":"2025-11-28T11:21:21+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 14 Pro","merge","reseller-everydayishappybirthday"],"price":110000,"price_min":110000,"price_max":110000,"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":43861387051107,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36348361834595,"product_id":7931637858403,"position":13,"created_at":"2026-07-22T18:43:13+08:00","updated_at":"2026-07-22T18:43:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40_36219b03-1d65-4d8a-899c-dcb5c37de533.webp?v=1784716995","variant_ids":[43861387051107]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 腐鏽的我們 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-BIR07","featured_media":{"alt":null,"id":27852217516131,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40_36219b03-1d65-4d8a-899c-dcb5c37de533.webp?v=1784716995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861387116643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36348362358883,"product_id":7931637858403,"position":14,"created_at":"2026-07-22T18:43:14+08:00","updated_at":"2026-07-22T18:43:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee_d628eb64-b255-48d9-b91d-76dd85008d50.webp?v=1784716996","variant_ids":[43861387116643]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 腐鏽的我們 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-BIR07","featured_media":{"alt":null,"id":27852218040419,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee_d628eb64-b255-48d9-b91d-76dd85008d50.webp?v=1784716996"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861387346019,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36348361408611,"product_id":7931637858403,"position":12,"created_at":"2026-07-22T18:43:13+08:00","updated_at":"2026-07-22T18:43:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8_b37d9546-7b1e-4748-ad54-55a4008dafd9.webp?v=1784716995","variant_ids":[43861387346019]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 腐鏽的我們 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-BIR07","featured_media":{"alt":null,"id":27852217090147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8_b37d9546-7b1e-4748-ad54-55a4008dafd9.webp?v=1784716995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cfb8a89c2a469cce9e0a09c07486380c2b908cb.webp?v=1764300088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee.webp?v=1764300089","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40.webp?v=1764300089","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c99bebed975de9d1486c9f342e776af3cad4d089.webp?v=1764300090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/570815152cd964e6bd8cabcbb3bad41c744b737a.webp?v=1764300090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/043d2910c756e68171dcb5b68c1d5c52556bae93.webp?v=1764300091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b0766d04f69a0bb7b7ff81a63b0b07b43851ad5.webp?v=1764300091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739e81f267052d07a3a091968d060f35c61c3cc8.webp?v=1764300091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8.webp?v=1764300092","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c55a1a7d6cc316ad7c0e5f134cd57f92e064f2a9.webp?v=1764300092","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7047a4cc0de45251d6ae5e105c177fb17b1afad0.webp?v=1764300093","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8_b37d9546-7b1e-4748-ad54-55a4008dafd9.webp?v=1784716995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40_36219b03-1d65-4d8a-899c-dcb5c37de533.webp?v=1784716995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee_d628eb64-b255-48d9-b91d-76dd85008d50.webp?v=1784716996"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cfb8a89c2a469cce9e0a09c07486380c2b908cb.webp?v=1764300088","options":["color"],"media":[{"alt":null,"id":26428141011043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cfb8a89c2a469cce9e0a09c07486380c2b908cb.webp?v=1764300088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cfb8a89c2a469cce9e0a09c07486380c2b908cb.webp?v=1764300088","width":2000},{"alt":null,"id":26428141273187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee.webp?v=1764300089"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee.webp?v=1764300089","width":2000},{"alt":null,"id":26428141469795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40.webp?v=1764300089"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40.webp?v=1764300089","width":2000},{"alt":null,"id":26428141600867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c99bebed975de9d1486c9f342e776af3cad4d089.webp?v=1764300090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c99bebed975de9d1486c9f342e776af3cad4d089.webp?v=1764300090","width":2000},{"alt":null,"id":26428141764707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/570815152cd964e6bd8cabcbb3bad41c744b737a.webp?v=1764300090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/570815152cd964e6bd8cabcbb3bad41c744b737a.webp?v=1764300090","width":2000},{"alt":null,"id":26428141863011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/043d2910c756e68171dcb5b68c1d5c52556bae93.webp?v=1764300091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/043d2910c756e68171dcb5b68c1d5c52556bae93.webp?v=1764300091","width":2000},{"alt":null,"id":26428141961315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b0766d04f69a0bb7b7ff81a63b0b07b43851ad5.webp?v=1764300091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b0766d04f69a0bb7b7ff81a63b0b07b43851ad5.webp?v=1764300091","width":2000},{"alt":null,"id":26428141994083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739e81f267052d07a3a091968d060f35c61c3cc8.webp?v=1764300091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739e81f267052d07a3a091968d060f35c61c3cc8.webp?v=1764300091","width":2000},{"alt":null,"id":26428142125155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8.webp?v=1764300092"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8.webp?v=1764300092","width":2000},{"alt":null,"id":26428142223459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c55a1a7d6cc316ad7c0e5f134cd57f92e064f2a9.webp?v=1764300092"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c55a1a7d6cc316ad7c0e5f134cd57f92e064f2a9.webp?v=1764300092","width":2000},{"alt":null,"id":26428142321763,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7047a4cc0de45251d6ae5e105c177fb17b1afad0.webp?v=1764300093"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7047a4cc0de45251d6ae5e105c177fb17b1afad0.webp?v=1764300093","width":2000},{"alt":null,"id":27852217090147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8_b37d9546-7b1e-4748-ad54-55a4008dafd9.webp?v=1784716995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8_b37d9546-7b1e-4748-ad54-55a4008dafd9.webp?v=1784716995","width":2000},{"alt":null,"id":27852217516131,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40_36219b03-1d65-4d8a-899c-dcb5c37de533.webp?v=1784716995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40_36219b03-1d65-4d8a-899c-dcb5c37de533.webp?v=1784716995","width":2000},{"alt":null,"id":27852218040419,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee_d628eb64-b255-48d9-b91d-76dd85008d50.webp?v=1784716996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee_d628eb64-b255-48d9-b91d-76dd85008d50.webp?v=1784716996","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43861387051107,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36348361834595,"product_id":7931637858403,"position":13,"created_at":"2026-07-22T18:43:13+08:00","updated_at":"2026-07-22T18:43:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40_36219b03-1d65-4d8a-899c-dcb5c37de533.webp?v=1784716995","variant_ids":[43861387051107]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 腐鏽的我們 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-BIR07","featured_media":{"alt":null,"id":27852217516131,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40_36219b03-1d65-4d8a-899c-dcb5c37de533.webp?v=1784716995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861387116643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36348362358883,"product_id":7931637858403,"position":14,"created_at":"2026-07-22T18:43:14+08:00","updated_at":"2026-07-22T18:43:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee_d628eb64-b255-48d9-b91d-76dd85008d50.webp?v=1784716996","variant_ids":[43861387116643]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 腐鏽的我們 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-BIR07","featured_media":{"alt":null,"id":27852218040419,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85f8d8c0ef9d483ad7561cddd6591adb9dbfd4ee_d628eb64-b255-48d9-b91d-76dd85008d50.webp?v=1784716996"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861387346019,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36348361408611,"product_id":7931637858403,"position":12,"created_at":"2026-07-22T18:43:13+08:00","updated_at":"2026-07-22T18:43:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8_b37d9546-7b1e-4748-ad54-55a4008dafd9.webp?v=1784716995","variant_ids":[43861387346019]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 腐鏽的我們 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-BIR07","featured_media":{"alt":null,"id":27852217090147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e264cf3a362980fa929f6c728bb4e36cc6e961d8_b37d9546-7b1e-4748-ad54-55a4008dafd9.webp?v=1784716995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861387051107,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36348361834595,"product_id":7931637858403,"position":13,"created_at":"2026-07-22T18:43:13+08:00","updated_at":"2026-07-22T18:43:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40_36219b03-1d65-4d8a-899c-dcb5c37de533.webp?v=1784716995","variant_ids":[43861387051107]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 腐鏽的我們 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-BIR07","featured_media":{"alt":null,"id":27852217516131,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3ac13a490dfb096516916d6f362d6a156b0b40_36219b03-1d65-4d8a-899c-dcb5c37de533.webp?v=1784716995"}},"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: "停產" }