$product = {"id":7931648278627,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡","handle":"iphone-14-pro-mod-nx-magsafe-bir03","description":null,"published_at":"2026-01-27T14:18:45+08:00","created_at":"2025-11-28T11:25:40+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":43861422211171,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36348362260579,"product_id":7931648278627,"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\/316c2bff562e6932bdae4afcd41c4852528818e7_ba39828d-881e-4498-bc44-f62f28448a89.webp?v=1784716996","variant_ids":[43861422211171]},"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-BIR03","featured_media":{"alt":null,"id":27852217942115,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316c2bff562e6932bdae4afcd41c4852528818e7_ba39828d-881e-4498-bc44-f62f28448a89.webp?v=1784716996"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861422276707,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36348361277539,"product_id":7931648278627,"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\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036_b6e60f0a-7413-4cf6-8582-fca1de1ddebf.webp?v=1784716995","variant_ids":[43861422276707]},"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-BIR03","featured_media":{"alt":null,"id":27852216959075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036_b6e60f0a-7413-4cf6-8582-fca1de1ddebf.webp?v=1784716995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861422506083,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36348361736291,"product_id":7931648278627,"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\/3f09a12dba7b18e97c66a9035c90420bdb42b32b_919ecafe-e14a-434f-8df7-cc8112e563a2.webp?v=1784716995","variant_ids":[43861422506083]},"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-BIR03","featured_media":{"alt":null,"id":27852217417827,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09a12dba7b18e97c66a9035c90420bdb42b32b_919ecafe-e14a-434f-8df7-cc8112e563a2.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\/aef79713ad58ec43023d073499c743511f9cbaa2.webp?v=1764300346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b0450a8b68ddf6cbdb396bfc4504d7af83fb1c7.webp?v=1764300347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c062c770fb1faaed22e3a59c00399f31846c4f1.webp?v=1764300347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2dd0ba3497fcd5629fdb84a3dd31d020d384d02.webp?v=1764300348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58765ba39ae8e43354223444448f1c5cb5046748.webp?v=1764300348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d783f96f02d81f7dfe1d709641df7c829cbf608f.webp?v=1764300348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316c2bff562e6932bdae4afcd41c4852528818e7.webp?v=1764300349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9689111c11c9944dc3164bbbe99ba94066bbb64.webp?v=1764300349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09a12dba7b18e97c66a9035c90420bdb42b32b.webp?v=1764300350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85ba4b74f9808d832bf243abae405b343f632c2.webp?v=1764300350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036.webp?v=1764300351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036_b6e60f0a-7413-4cf6-8582-fca1de1ddebf.webp?v=1784716995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09a12dba7b18e97c66a9035c90420bdb42b32b_919ecafe-e14a-434f-8df7-cc8112e563a2.webp?v=1784716995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316c2bff562e6932bdae4afcd41c4852528818e7_ba39828d-881e-4498-bc44-f62f28448a89.webp?v=1784716996"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aef79713ad58ec43023d073499c743511f9cbaa2.webp?v=1764300346","options":["color"],"media":[{"alt":null,"id":26428180463715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aef79713ad58ec43023d073499c743511f9cbaa2.webp?v=1764300346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aef79713ad58ec43023d073499c743511f9cbaa2.webp?v=1764300346","width":2000},{"alt":null,"id":26428180693091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b0450a8b68ddf6cbdb396bfc4504d7af83fb1c7.webp?v=1764300347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b0450a8b68ddf6cbdb396bfc4504d7af83fb1c7.webp?v=1764300347","width":2000},{"alt":null,"id":26428180889699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c062c770fb1faaed22e3a59c00399f31846c4f1.webp?v=1764300347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c062c770fb1faaed22e3a59c00399f31846c4f1.webp?v=1764300347","width":2000},{"alt":null,"id":26428181086307,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2dd0ba3497fcd5629fdb84a3dd31d020d384d02.webp?v=1764300348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2dd0ba3497fcd5629fdb84a3dd31d020d384d02.webp?v=1764300348","width":2000},{"alt":null,"id":26428181545059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58765ba39ae8e43354223444448f1c5cb5046748.webp?v=1764300348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58765ba39ae8e43354223444448f1c5cb5046748.webp?v=1764300348","width":2000},{"alt":null,"id":26428181708899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d783f96f02d81f7dfe1d709641df7c829cbf608f.webp?v=1764300348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d783f96f02d81f7dfe1d709641df7c829cbf608f.webp?v=1764300348","width":2000},{"alt":null,"id":26428181839971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316c2bff562e6932bdae4afcd41c4852528818e7.webp?v=1764300349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316c2bff562e6932bdae4afcd41c4852528818e7.webp?v=1764300349","width":2000},{"alt":null,"id":26428182003811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9689111c11c9944dc3164bbbe99ba94066bbb64.webp?v=1764300349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9689111c11c9944dc3164bbbe99ba94066bbb64.webp?v=1764300349","width":2000},{"alt":null,"id":26428182167651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09a12dba7b18e97c66a9035c90420bdb42b32b.webp?v=1764300350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09a12dba7b18e97c66a9035c90420bdb42b32b.webp?v=1764300350","width":2000},{"alt":null,"id":26428182397027,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85ba4b74f9808d832bf243abae405b343f632c2.webp?v=1764300350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85ba4b74f9808d832bf243abae405b343f632c2.webp?v=1764300350","width":2000},{"alt":null,"id":26428182593635,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036.webp?v=1764300351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036.webp?v=1764300351","width":2000},{"alt":null,"id":27852216959075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036_b6e60f0a-7413-4cf6-8582-fca1de1ddebf.webp?v=1784716995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036_b6e60f0a-7413-4cf6-8582-fca1de1ddebf.webp?v=1784716995","width":2000},{"alt":null,"id":27852217417827,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09a12dba7b18e97c66a9035c90420bdb42b32b_919ecafe-e14a-434f-8df7-cc8112e563a2.webp?v=1784716995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09a12dba7b18e97c66a9035c90420bdb42b32b_919ecafe-e14a-434f-8df7-cc8112e563a2.webp?v=1784716995","width":2000},{"alt":null,"id":27852217942115,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316c2bff562e6932bdae4afcd41c4852528818e7_ba39828d-881e-4498-bc44-f62f28448a89.webp?v=1784716996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316c2bff562e6932bdae4afcd41c4852528818e7_ba39828d-881e-4498-bc44-f62f28448a89.webp?v=1784716996","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43861422211171,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36348362260579,"product_id":7931648278627,"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\/316c2bff562e6932bdae4afcd41c4852528818e7_ba39828d-881e-4498-bc44-f62f28448a89.webp?v=1784716996","variant_ids":[43861422211171]},"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-BIR03","featured_media":{"alt":null,"id":27852217942115,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316c2bff562e6932bdae4afcd41c4852528818e7_ba39828d-881e-4498-bc44-f62f28448a89.webp?v=1784716996"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861422276707,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36348361277539,"product_id":7931648278627,"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\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036_b6e60f0a-7413-4cf6-8582-fca1de1ddebf.webp?v=1784716995","variant_ids":[43861422276707]},"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-BIR03","featured_media":{"alt":null,"id":27852216959075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c765fe3575ec8c0aa0d0e0eec47f311d06cd036_b6e60f0a-7413-4cf6-8582-fca1de1ddebf.webp?v=1784716995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861422506083,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36348361736291,"product_id":7931648278627,"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\/3f09a12dba7b18e97c66a9035c90420bdb42b32b_919ecafe-e14a-434f-8df7-cc8112e563a2.webp?v=1784716995","variant_ids":[43861422506083]},"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-BIR03","featured_media":{"alt":null,"id":27852217417827,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09a12dba7b18e97c66a9035c90420bdb42b32b_919ecafe-e14a-434f-8df7-cc8112e563a2.webp?v=1784716995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861422211171,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36348362260579,"product_id":7931648278627,"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\/316c2bff562e6932bdae4afcd41c4852528818e7_ba39828d-881e-4498-bc44-f62f28448a89.webp?v=1784716996","variant_ids":[43861422211171]},"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-BIR03","featured_media":{"alt":null,"id":27852217942115,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/316c2bff562e6932bdae4afcd41c4852528818e7_ba39828d-881e-4498-bc44-f62f28448a89.webp?v=1784716996"}},"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: "停產" }