$product = {"id":7937626996835,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓","handle":"iphone-14-pro-mod-nx-magsafe-cjy06","description":null,"published_at":"2025-12-12T09:37:40+08:00","created_at":"2025-12-11T10:05:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 14 Pro","merge","reseller-jychoioioi"],"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":43883237671011,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700050019,"product_id":7937626996835,"position":14,"created_at":"2026-07-15T14:42:12+08:00","updated_at":"2026-07-15T14:42:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e_1e5b169a-d825-48a4-9f74-cce6a447179d.webp?v=1784097734","variant_ids":[43883237671011]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - 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-CJY06","featured_media":{"alt":null,"id":27775755255907,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e_1e5b169a-d825-48a4-9f74-cce6a447179d.webp?v=1784097734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883237703779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271699394659,"product_id":7937626996835,"position":12,"created_at":"2026-07-15T14:42:10+08:00","updated_at":"2026-07-15T14:42:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae_17cecce7-e363-4816-bc30-48c825ddddc7.webp?v=1784097732","variant_ids":[43883237703779]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - 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-CJY06","featured_media":{"alt":null,"id":27775754698851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae_17cecce7-e363-4816-bc30-48c825ddddc7.webp?v=1784097732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883237867619,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271699624035,"product_id":7937626996835,"position":13,"created_at":"2026-07-15T14:42:11+08:00","updated_at":"2026-07-15T14:42:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f_aa56aa18-f4bc-457d-9f7a-de8fd7291752.webp?v=1784097733","variant_ids":[43883237867619]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - 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-CJY06","featured_media":{"alt":null,"id":27775754928227,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f_aa56aa18-f4bc-457d-9f7a-de8fd7291752.webp?v=1784097733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f1d70cd65935f339c2bb3960ade134c8f43ab04.webp?v=1765418708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e644e8bbd22e6c3f755f6a7bc0372a7b3eb9d1d2.webp?v=1765418709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5963e144acca2b61f556062dbbf5656aefad587.webp?v=1765418709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae.webp?v=1765418710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f121a9ffc122a483acaa0d9fb6b4d7ed6163886.webp?v=1765418710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefcfff0528748e375feb4df4a4a32b7eaf718da.webp?v=1765418710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d023a2ee02a7c672a1ea5dbc90447bf686c5876.webp?v=1765418711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830265e91b5baa67e38b92c26a3f208b64123846.webp?v=1765418712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de185a11bc71f5856175fb24bb5326f2fc67eac2.webp?v=1765418712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f.webp?v=1765418713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e.webp?v=1765418713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae_17cecce7-e363-4816-bc30-48c825ddddc7.webp?v=1784097732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f_aa56aa18-f4bc-457d-9f7a-de8fd7291752.webp?v=1784097733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e_1e5b169a-d825-48a4-9f74-cce6a447179d.webp?v=1784097734"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f1d70cd65935f339c2bb3960ade134c8f43ab04.webp?v=1765418708","options":["color"],"media":[{"alt":null,"id":26493546561635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f1d70cd65935f339c2bb3960ade134c8f43ab04.webp?v=1765418708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f1d70cd65935f339c2bb3960ade134c8f43ab04.webp?v=1765418708","width":2000},{"alt":null,"id":26493546791011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e644e8bbd22e6c3f755f6a7bc0372a7b3eb9d1d2.webp?v=1765418709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e644e8bbd22e6c3f755f6a7bc0372a7b3eb9d1d2.webp?v=1765418709","width":2000},{"alt":null,"id":26493546987619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5963e144acca2b61f556062dbbf5656aefad587.webp?v=1765418709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5963e144acca2b61f556062dbbf5656aefad587.webp?v=1765418709","width":2000},{"alt":null,"id":26493547184227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae.webp?v=1765418710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae.webp?v=1765418710","width":2000},{"alt":null,"id":26493547610211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f121a9ffc122a483acaa0d9fb6b4d7ed6163886.webp?v=1765418710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f121a9ffc122a483acaa0d9fb6b4d7ed6163886.webp?v=1765418710","width":2000},{"alt":null,"id":26493547806819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefcfff0528748e375feb4df4a4a32b7eaf718da.webp?v=1765418710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefcfff0528748e375feb4df4a4a32b7eaf718da.webp?v=1765418710","width":2000},{"alt":null,"id":26493547970659,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d023a2ee02a7c672a1ea5dbc90447bf686c5876.webp?v=1765418711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d023a2ee02a7c672a1ea5dbc90447bf686c5876.webp?v=1765418711","width":2000},{"alt":null,"id":26493548167267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830265e91b5baa67e38b92c26a3f208b64123846.webp?v=1765418712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830265e91b5baa67e38b92c26a3f208b64123846.webp?v=1765418712","width":2000},{"alt":null,"id":26493548363875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de185a11bc71f5856175fb24bb5326f2fc67eac2.webp?v=1765418712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de185a11bc71f5856175fb24bb5326f2fc67eac2.webp?v=1765418712","width":2000},{"alt":null,"id":26493548560483,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f.webp?v=1765418713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f.webp?v=1765418713","width":2000},{"alt":null,"id":26493548724323,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e.webp?v=1765418713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e.webp?v=1765418713","width":2000},{"alt":null,"id":27775754698851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae_17cecce7-e363-4816-bc30-48c825ddddc7.webp?v=1784097732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae_17cecce7-e363-4816-bc30-48c825ddddc7.webp?v=1784097732","width":2000},{"alt":null,"id":27775754928227,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f_aa56aa18-f4bc-457d-9f7a-de8fd7291752.webp?v=1784097733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f_aa56aa18-f4bc-457d-9f7a-de8fd7291752.webp?v=1784097733","width":2000},{"alt":null,"id":27775755255907,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e_1e5b169a-d825-48a4-9f74-cce6a447179d.webp?v=1784097734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e_1e5b169a-d825-48a4-9f74-cce6a447179d.webp?v=1784097734","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43883237671011,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700050019,"product_id":7937626996835,"position":14,"created_at":"2026-07-15T14:42:12+08:00","updated_at":"2026-07-15T14:42:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e_1e5b169a-d825-48a4-9f74-cce6a447179d.webp?v=1784097734","variant_ids":[43883237671011]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - 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-CJY06","featured_media":{"alt":null,"id":27775755255907,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e_1e5b169a-d825-48a4-9f74-cce6a447179d.webp?v=1784097734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883237703779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271699394659,"product_id":7937626996835,"position":12,"created_at":"2026-07-15T14:42:10+08:00","updated_at":"2026-07-15T14:42:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae_17cecce7-e363-4816-bc30-48c825ddddc7.webp?v=1784097732","variant_ids":[43883237703779]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - 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-CJY06","featured_media":{"alt":null,"id":27775754698851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249e5b4b5e3f97d8ebfc0ef93776f8fbf38b42ae_17cecce7-e363-4816-bc30-48c825ddddc7.webp?v=1784097732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883237867619,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271699624035,"product_id":7937626996835,"position":13,"created_at":"2026-07-15T14:42:11+08:00","updated_at":"2026-07-15T14:42:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f_aa56aa18-f4bc-457d-9f7a-de8fd7291752.webp?v=1784097733","variant_ids":[43883237867619]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - 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-CJY06","featured_media":{"alt":null,"id":27775754928227,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bd058743f528707b49ad9b01fcab0ba19a2784f_aa56aa18-f4bc-457d-9f7a-de8fd7291752.webp?v=1784097733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43883237671011,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700050019,"product_id":7937626996835,"position":14,"created_at":"2026-07-15T14:42:12+08:00","updated_at":"2026-07-15T14:42:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e_1e5b169a-d825-48a4-9f74-cce6a447179d.webp?v=1784097734","variant_ids":[43883237671011]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - 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-CJY06","featured_media":{"alt":null,"id":27775755255907,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70255c1e25778326b77dbb1f347991f48451dc3e_1e5b169a-d825-48a4-9f74-cce6a447179d.webp?v=1784097734"}},"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: "停產" }