$product = {"id":7931664433251,"title":"iPhone 17 Pro Mod NX -邊框背蓋組合 (相機按鈕) 產房 • 廢料棲息地 腐鏽的我們","handle":"iphone-17-pro-mod-nx-with-capture-button-bir07","description":null,"published_at":"2026-01-27T14:15:22+08:00","created_at":"2025-11-28T11:32:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 17 Pro","merge","reseller-everydayishappybirthday"],"price":90000,"price_min":90000,"price_max":90000,"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":43861479260259,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NXB01352J5-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36351912444003,"product_id":7931664433251,"position":13,"created_at":"2026-07-22T21:29:34+08:00","updated_at":"2026-07-22T21:29:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_5cb4ff57-ae58-412a-ada2-b55d62e009a8.webp?v=1784726976","variant_ids":[43861479260259]},"available":true,"name":"iPhone 17 Pro Mod NX -邊框背蓋組合 (相機按鈕) 產房 • 廢料棲息地 腐鏽的我們 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NXB01352J5-BIR07","featured_media":{"alt":null,"id":27855717728355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_5cb4ff57-ae58-412a-ada2-b55d62e009a8.webp?v=1784726976"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861480570979,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NXB0135269-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36351914344547,"product_id":7931664433251,"position":14,"created_at":"2026-07-22T21:29:35+08:00","updated_at":"2026-07-22T21:29:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_af35c235-81c9-416e-b189-8b0149e5b5a0.webp?v=1784726977","variant_ids":[43861480570979]},"available":true,"name":"iPhone 17 Pro Mod NX -邊框背蓋組合 (相機按鈕) 產房 • 廢料棲息地 腐鏽的我們 - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NXB0135269-BIR07","featured_media":{"alt":null,"id":27855719596131,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_af35c235-81c9-416e-b189-8b0149e5b5a0.webp?v=1784726977"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f.webp?v=1764300742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3.webp?v=1764300743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9.webp?v=1764300743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67.webp?v=1764300744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_8fe88cdf-cb9c-4fb2-b986-df7a91984207.webp?v=1784721804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_7b1e0f07-ed52-41a1-8878-0fed20447f90.webp?v=1784721805","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3_21f28f98-a117-47c1-9aaa-10b8bf18fd35.webp?v=1784721806","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67_64ef7fdb-e90d-410b-b492-374b1e631cfa.webp?v=1784721809","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_e1bd8d14-4158-46fe-bed6-39e21e88510b.webp?v=1784725914","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_ab32affb-7257-408c-a83b-4c5d843e20cf.webp?v=1784725915","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3_59497567-8ac3-4828-a385-880fbe6d579b.webp?v=1784725917","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67_c338b309-b5e9-4d2b-98b4-b566ecb90206.webp?v=1784725920","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_5cb4ff57-ae58-412a-ada2-b55d62e009a8.webp?v=1784726976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_af35c235-81c9-416e-b189-8b0149e5b5a0.webp?v=1784726977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3_b55873fb-e642-4eb5-9b97-886e2fb0d95e.webp?v=1784726979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67_53ec6d00-3945-4f8d-bfdb-fd781787f200.webp?v=1784726981"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f.webp?v=1764300742","options":["color"],"media":[{"alt":null,"id":26428247933027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f.webp?v=1764300742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f.webp?v=1764300742","width":2000},{"alt":null,"id":26428248064099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3.webp?v=1764300743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3.webp?v=1764300743","width":2000},{"alt":null,"id":26428248195171,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9.webp?v=1764300743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9.webp?v=1764300743","width":2000},{"alt":null,"id":26428248391779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67.webp?v=1764300744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67.webp?v=1764300744","width":2000},{"alt":null,"id":27853899432035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_8fe88cdf-cb9c-4fb2-b986-df7a91984207.webp?v=1784721804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_8fe88cdf-cb9c-4fb2-b986-df7a91984207.webp?v=1784721804","width":2000},{"alt":null,"id":27853900284003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_7b1e0f07-ed52-41a1-8878-0fed20447f90.webp?v=1784721805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_7b1e0f07-ed52-41a1-8878-0fed20447f90.webp?v=1784721805","width":2000},{"alt":null,"id":27853902250083,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3_21f28f98-a117-47c1-9aaa-10b8bf18fd35.webp?v=1784721806"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3_21f28f98-a117-47c1-9aaa-10b8bf18fd35.webp?v=1784721806","width":2000},{"alt":null,"id":27853903069283,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67_64ef7fdb-e90d-410b-b492-374b1e631cfa.webp?v=1784721809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67_64ef7fdb-e90d-410b-b492-374b1e631cfa.webp?v=1784721809","width":2000},{"alt":null,"id":27855160770659,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_e1bd8d14-4158-46fe-bed6-39e21e88510b.webp?v=1784725914"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_e1bd8d14-4158-46fe-bed6-39e21e88510b.webp?v=1784725914","width":2000},{"alt":null,"id":27855161655395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_ab32affb-7257-408c-a83b-4c5d843e20cf.webp?v=1784725915"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_ab32affb-7257-408c-a83b-4c5d843e20cf.webp?v=1784725915","width":2000},{"alt":null,"id":27855164047459,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3_59497567-8ac3-4828-a385-880fbe6d579b.webp?v=1784725917"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3_59497567-8ac3-4828-a385-880fbe6d579b.webp?v=1784725917","width":2000},{"alt":null,"id":27855165587555,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67_c338b309-b5e9-4d2b-98b4-b566ecb90206.webp?v=1784725920"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67_c338b309-b5e9-4d2b-98b4-b566ecb90206.webp?v=1784725920","width":2000},{"alt":null,"id":27855717728355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_5cb4ff57-ae58-412a-ada2-b55d62e009a8.webp?v=1784726976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_5cb4ff57-ae58-412a-ada2-b55d62e009a8.webp?v=1784726976","width":2000},{"alt":null,"id":27855719596131,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_af35c235-81c9-416e-b189-8b0149e5b5a0.webp?v=1784726977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_af35c235-81c9-416e-b189-8b0149e5b5a0.webp?v=1784726977","width":2000},{"alt":null,"id":27855721791587,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3_b55873fb-e642-4eb5-9b97-886e2fb0d95e.webp?v=1784726979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b83e1ecd726df79ba3bad999b3ef68664c783a3_b55873fb-e642-4eb5-9b97-886e2fb0d95e.webp?v=1784726979","width":2000},{"alt":null,"id":27855725330531,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67_53ec6d00-3945-4f8d-bfdb-fd781787f200.webp?v=1784726981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18ef4fb1d393141586ccf5bd1acc22f20008bd67_53ec6d00-3945-4f8d-bfdb-fd781787f200.webp?v=1784726981","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43861479260259,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NXB01352J5-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36351912444003,"product_id":7931664433251,"position":13,"created_at":"2026-07-22T21:29:34+08:00","updated_at":"2026-07-22T21:29:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_5cb4ff57-ae58-412a-ada2-b55d62e009a8.webp?v=1784726976","variant_ids":[43861479260259]},"available":true,"name":"iPhone 17 Pro Mod NX -邊框背蓋組合 (相機按鈕) 產房 • 廢料棲息地 腐鏽的我們 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NXB01352J5-BIR07","featured_media":{"alt":null,"id":27855717728355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_5cb4ff57-ae58-412a-ada2-b55d62e009a8.webp?v=1784726976"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861480570979,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NXB0135269-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36351914344547,"product_id":7931664433251,"position":14,"created_at":"2026-07-22T21:29:35+08:00","updated_at":"2026-07-22T21:29:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_af35c235-81c9-416e-b189-8b0149e5b5a0.webp?v=1784726977","variant_ids":[43861480570979]},"available":true,"name":"iPhone 17 Pro Mod NX -邊框背蓋組合 (相機按鈕) 產房 • 廢料棲息地 腐鏽的我們 - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NXB0135269-BIR07","featured_media":{"alt":null,"id":27855719596131,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16c29424d42d7d19d281426e8a808540038411a9_af35c235-81c9-416e-b189-8b0149e5b5a0.webp?v=1784726977"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861479260259,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NXB01352J5-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":36351912444003,"product_id":7931664433251,"position":13,"created_at":"2026-07-22T21:29:34+08:00","updated_at":"2026-07-22T21:29:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_5cb4ff57-ae58-412a-ada2-b55d62e009a8.webp?v=1784726976","variant_ids":[43861479260259]},"available":true,"name":"iPhone 17 Pro Mod NX -邊框背蓋組合 (相機按鈕) 產房 • 廢料棲息地 腐鏽的我們 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NXB01352J5-BIR07","featured_media":{"alt":null,"id":27855717728355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525ad31e412ea1726b95ae868a625f979b01283f_5cb4ff57-ae58-412a-ada2-b55d62e009a8.webp?v=1784726976"}},"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: "停產" }