$product = {"id":7937709408355,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 番茄兄弟","handle":"iphone-14-pro-mod-nx-magsafe-cjy14","description":null,"published_at":"2025-12-12T09:22:44+08:00","created_at":"2025-12-11T10:27:36+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":43883550539875,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700738147,"product_id":7937709408355,"position":14,"created_at":"2026-07-15T14:42:14+08:00","updated_at":"2026-07-15T14:42:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928_30e0f98c-47d7-471b-95b0-337d7602fd8a.webp?v=1784097736","variant_ids":[43883550539875]},"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-CJY14","featured_media":{"alt":null,"id":27775756009571,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928_30e0f98c-47d7-471b-95b0-337d7602fd8a.webp?v=1784097736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883550572643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700344931,"product_id":7937709408355,"position":12,"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\/963afd872767d07d3a04e7831cf5f586b0e6ea9c_2ed423e5-6bdb-4241-9ad3-e5d437be0133.webp?v=1784097734","variant_ids":[43883550572643]},"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-CJY14","featured_media":{"alt":null,"id":27775755583587,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963afd872767d07d3a04e7831cf5f586b0e6ea9c_2ed423e5-6bdb-4241-9ad3-e5d437be0133.webp?v=1784097734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883550736483,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700607075,"product_id":7937709408355,"position":13,"created_at":"2026-07-15T14:42:13+08:00","updated_at":"2026-07-15T14:42:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9_4ac9c739-a98f-4dad-9bad-155fa86719bc.webp?v=1784097735","variant_ids":[43883550736483]},"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-CJY14","featured_media":{"alt":null,"id":27775755845731,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9_4ac9c739-a98f-4dad-9bad-155fa86719bc.webp?v=1784097735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/641614225986877a0386fa262b4409e5c67c558b.webp?v=1765420062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb41e0e20bf5542fe668b32e1f7fe3991a227a12.webp?v=1765420063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928.webp?v=1765420063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6143cb6a0d9ef7400de21c33522a0732c1ffdc2c.webp?v=1765420064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe5435f5c451a6134cd35670dccf50231926dc9.webp?v=1765420064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a385bbc18abce187773cb5dd3bd862faad7f8be.webp?v=1765420065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963afd872767d07d3a04e7831cf5f586b0e6ea9c.webp?v=1765420065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/169debf7eee51d9e6b12e902aad3f2465870c76c.webp?v=1765420066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ad73764c4f7499bc337ddba7950f06d5e6404.webp?v=1765420067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f8c30c80755cace51bde87b87f70db66df6088.webp?v=1765420067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9.webp?v=1765420068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963afd872767d07d3a04e7831cf5f586b0e6ea9c_2ed423e5-6bdb-4241-9ad3-e5d437be0133.webp?v=1784097734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9_4ac9c739-a98f-4dad-9bad-155fa86719bc.webp?v=1784097735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928_30e0f98c-47d7-471b-95b0-337d7602fd8a.webp?v=1784097736"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/641614225986877a0386fa262b4409e5c67c558b.webp?v=1765420062","options":["color"],"media":[{"alt":null,"id":26494195826787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/641614225986877a0386fa262b4409e5c67c558b.webp?v=1765420062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/641614225986877a0386fa262b4409e5c67c558b.webp?v=1765420062","width":2000},{"alt":null,"id":26494196056163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb41e0e20bf5542fe668b32e1f7fe3991a227a12.webp?v=1765420063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb41e0e20bf5542fe668b32e1f7fe3991a227a12.webp?v=1765420063","width":2000},{"alt":null,"id":26494196121699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928.webp?v=1765420063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928.webp?v=1765420063","width":2000},{"alt":null,"id":26494196285539,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6143cb6a0d9ef7400de21c33522a0732c1ffdc2c.webp?v=1765420064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6143cb6a0d9ef7400de21c33522a0732c1ffdc2c.webp?v=1765420064","width":2000},{"alt":null,"id":26494196383843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe5435f5c451a6134cd35670dccf50231926dc9.webp?v=1765420064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe5435f5c451a6134cd35670dccf50231926dc9.webp?v=1765420064","width":2000},{"alt":null,"id":26494196449379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a385bbc18abce187773cb5dd3bd862faad7f8be.webp?v=1765420065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a385bbc18abce187773cb5dd3bd862faad7f8be.webp?v=1765420065","width":2000},{"alt":null,"id":26494196514915,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963afd872767d07d3a04e7831cf5f586b0e6ea9c.webp?v=1765420065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963afd872767d07d3a04e7831cf5f586b0e6ea9c.webp?v=1765420065","width":2000},{"alt":null,"id":26494196711523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/169debf7eee51d9e6b12e902aad3f2465870c76c.webp?v=1765420066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/169debf7eee51d9e6b12e902aad3f2465870c76c.webp?v=1765420066","width":2000},{"alt":null,"id":26494196842595,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ad73764c4f7499bc337ddba7950f06d5e6404.webp?v=1765420067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ad73764c4f7499bc337ddba7950f06d5e6404.webp?v=1765420067","width":2000},{"alt":null,"id":26494197039203,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f8c30c80755cace51bde87b87f70db66df6088.webp?v=1765420067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f8c30c80755cace51bde87b87f70db66df6088.webp?v=1765420067","width":2000},{"alt":null,"id":26494197203043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9.webp?v=1765420068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9.webp?v=1765420068","width":2000},{"alt":null,"id":27775755583587,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963afd872767d07d3a04e7831cf5f586b0e6ea9c_2ed423e5-6bdb-4241-9ad3-e5d437be0133.webp?v=1784097734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963afd872767d07d3a04e7831cf5f586b0e6ea9c_2ed423e5-6bdb-4241-9ad3-e5d437be0133.webp?v=1784097734","width":2000},{"alt":null,"id":27775755845731,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9_4ac9c739-a98f-4dad-9bad-155fa86719bc.webp?v=1784097735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9_4ac9c739-a98f-4dad-9bad-155fa86719bc.webp?v=1784097735","width":2000},{"alt":null,"id":27775756009571,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928_30e0f98c-47d7-471b-95b0-337d7602fd8a.webp?v=1784097736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928_30e0f98c-47d7-471b-95b0-337d7602fd8a.webp?v=1784097736","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43883550539875,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700738147,"product_id":7937709408355,"position":14,"created_at":"2026-07-15T14:42:14+08:00","updated_at":"2026-07-15T14:42:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928_30e0f98c-47d7-471b-95b0-337d7602fd8a.webp?v=1784097736","variant_ids":[43883550539875]},"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-CJY14","featured_media":{"alt":null,"id":27775756009571,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928_30e0f98c-47d7-471b-95b0-337d7602fd8a.webp?v=1784097736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883550572643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700344931,"product_id":7937709408355,"position":12,"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\/963afd872767d07d3a04e7831cf5f586b0e6ea9c_2ed423e5-6bdb-4241-9ad3-e5d437be0133.webp?v=1784097734","variant_ids":[43883550572643]},"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-CJY14","featured_media":{"alt":null,"id":27775755583587,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963afd872767d07d3a04e7831cf5f586b0e6ea9c_2ed423e5-6bdb-4241-9ad3-e5d437be0133.webp?v=1784097734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883550736483,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700607075,"product_id":7937709408355,"position":13,"created_at":"2026-07-15T14:42:13+08:00","updated_at":"2026-07-15T14:42:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9_4ac9c739-a98f-4dad-9bad-155fa86719bc.webp?v=1784097735","variant_ids":[43883550736483]},"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-CJY14","featured_media":{"alt":null,"id":27775755845731,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e2cc4b25c628cb5448d3185fbdcd3e52ce0fc9_4ac9c739-a98f-4dad-9bad-155fa86719bc.webp?v=1784097735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43883550539875,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700738147,"product_id":7937709408355,"position":14,"created_at":"2026-07-15T14:42:14+08:00","updated_at":"2026-07-15T14:42:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928_30e0f98c-47d7-471b-95b0-337d7602fd8a.webp?v=1784097736","variant_ids":[43883550539875]},"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-CJY14","featured_media":{"alt":null,"id":27775756009571,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aff17e1ce7b5136f5d711b43a1ed23afd57a8928_30e0f98c-47d7-471b-95b0-337d7602fd8a.webp?v=1784097736"}},"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: "停產" }