$product = {"id":7937746829411,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 里維兵長","handle":"iphone-14-pro-mod-nx-magsafe-xu04","description":null,"published_at":"2025-12-12T11:09:37+08:00","created_at":"2025-12-11T15:17:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 14 Pro","merge","reseller-attack-on-titan"],"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":43883738824803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-XU04","requires_shipping":true,"taxable":true,"featured_image":{"id":36225960673379,"product_id":7937746829411,"position":12,"created_at":"2026-07-09T09:44:14+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc_1c1d6090-bdd0-4ff9-af05-df1221c69a1a.webp?v=1783561457","variant_ids":[43883738824803]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 里維兵長 - 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-XU04","featured_media":{"alt":null,"id":27730746277987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc_1c1d6090-bdd0-4ff9-af05-df1221c69a1a.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883738857571,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-XU04","requires_shipping":true,"taxable":true,"featured_image":{"id":36225961099363,"product_id":7937746829411,"position":14,"created_at":"2026-07-09T09:44:15+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8_9f4a8fa9-2786-4c52-b5f2-8c344ff016b6.webp?v=1783561457","variant_ids":[43883738857571]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 里維兵長 - 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-XU04","featured_media":{"alt":null,"id":27730746703971,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8_9f4a8fa9-2786-4c52-b5f2-8c344ff016b6.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883738955875,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-XU04","requires_shipping":true,"taxable":true,"featured_image":{"id":36225960869987,"product_id":7937746829411,"position":13,"created_at":"2026-07-09T09:44:15+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69_e6f76456-53fc-4bc5-87f5-99831940968d.webp?v=1783561457","variant_ids":[43883738955875]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 里維兵長 - 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-XU04","featured_media":{"alt":null,"id":27730746474595,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69_e6f76456-53fc-4bc5-87f5-99831940968d.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f2450892d2f0fd53fe940bf16e9101a2ec251e.webp?v=1765437435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36f61a3bd925f2b941d411f89053d11728dd06e2.webp?v=1765437436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf504be5ae645f66e2f62a169e25794945480137.webp?v=1765437437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc.webp?v=1765437437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c73a8ee84c1c8fe17e26c680687844a950ac9fd.webp?v=1765437438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8.webp?v=1765437438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aaabe47409ee7528aa7746ee2797a718290ea0f.webp?v=1765437439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/157353d1db80c33ca975a1008d965d6022a8b5b6.webp?v=1765437440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7190dc6867a511ba65bea4ce91d8ac362f1e5b.webp?v=1765437440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f53b692b41cbb3c961b1793e3c2d4fcc83d1ba4.webp?v=1765437441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69.webp?v=1765437442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc_1c1d6090-bdd0-4ff9-af05-df1221c69a1a.webp?v=1783561457","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69_e6f76456-53fc-4bc5-87f5-99831940968d.webp?v=1783561457","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8_9f4a8fa9-2786-4c52-b5f2-8c344ff016b6.webp?v=1783561457"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f2450892d2f0fd53fe940bf16e9101a2ec251e.webp?v=1765437435","options":["color"],"media":[{"alt":null,"id":26494730567779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f2450892d2f0fd53fe940bf16e9101a2ec251e.webp?v=1765437435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f2450892d2f0fd53fe940bf16e9101a2ec251e.webp?v=1765437435","width":2000},{"alt":null,"id":26494730633315,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36f61a3bd925f2b941d411f89053d11728dd06e2.webp?v=1765437436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36f61a3bd925f2b941d411f89053d11728dd06e2.webp?v=1765437436","width":2000},{"alt":null,"id":26494730731619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf504be5ae645f66e2f62a169e25794945480137.webp?v=1765437437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf504be5ae645f66e2f62a169e25794945480137.webp?v=1765437437","width":2000},{"alt":null,"id":26494730862691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc.webp?v=1765437437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc.webp?v=1765437437","width":2000},{"alt":null,"id":26494731190371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c73a8ee84c1c8fe17e26c680687844a950ac9fd.webp?v=1765437438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c73a8ee84c1c8fe17e26c680687844a950ac9fd.webp?v=1765437438","width":2000},{"alt":null,"id":26494731354211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8.webp?v=1765437438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8.webp?v=1765437438","width":2000},{"alt":null,"id":26494731485283,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aaabe47409ee7528aa7746ee2797a718290ea0f.webp?v=1765437439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aaabe47409ee7528aa7746ee2797a718290ea0f.webp?v=1765437439","width":2000},{"alt":null,"id":26494731649123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/157353d1db80c33ca975a1008d965d6022a8b5b6.webp?v=1765437440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/157353d1db80c33ca975a1008d965d6022a8b5b6.webp?v=1765437440","width":2000},{"alt":null,"id":26494731812963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7190dc6867a511ba65bea4ce91d8ac362f1e5b.webp?v=1765437440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7190dc6867a511ba65bea4ce91d8ac362f1e5b.webp?v=1765437440","width":2000},{"alt":null,"id":26494732140643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f53b692b41cbb3c961b1793e3c2d4fcc83d1ba4.webp?v=1765437441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f53b692b41cbb3c961b1793e3c2d4fcc83d1ba4.webp?v=1765437441","width":2000},{"alt":null,"id":26494732370019,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69.webp?v=1765437442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69.webp?v=1765437442","width":2000},{"alt":null,"id":27730746277987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc_1c1d6090-bdd0-4ff9-af05-df1221c69a1a.webp?v=1783561457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc_1c1d6090-bdd0-4ff9-af05-df1221c69a1a.webp?v=1783561457","width":2000},{"alt":null,"id":27730746474595,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69_e6f76456-53fc-4bc5-87f5-99831940968d.webp?v=1783561457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69_e6f76456-53fc-4bc5-87f5-99831940968d.webp?v=1783561457","width":2000},{"alt":null,"id":27730746703971,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8_9f4a8fa9-2786-4c52-b5f2-8c344ff016b6.webp?v=1783561457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8_9f4a8fa9-2786-4c52-b5f2-8c344ff016b6.webp?v=1783561457","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43883738824803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-XU04","requires_shipping":true,"taxable":true,"featured_image":{"id":36225960673379,"product_id":7937746829411,"position":12,"created_at":"2026-07-09T09:44:14+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc_1c1d6090-bdd0-4ff9-af05-df1221c69a1a.webp?v=1783561457","variant_ids":[43883738824803]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 里維兵長 - 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-XU04","featured_media":{"alt":null,"id":27730746277987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc_1c1d6090-bdd0-4ff9-af05-df1221c69a1a.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883738857571,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-XU04","requires_shipping":true,"taxable":true,"featured_image":{"id":36225961099363,"product_id":7937746829411,"position":14,"created_at":"2026-07-09T09:44:15+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8_9f4a8fa9-2786-4c52-b5f2-8c344ff016b6.webp?v=1783561457","variant_ids":[43883738857571]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 里維兵長 - 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-XU04","featured_media":{"alt":null,"id":27730746703971,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55486e36d2c0853d8e58613e815407ea4df14db8_9f4a8fa9-2786-4c52-b5f2-8c344ff016b6.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883738955875,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-XU04","requires_shipping":true,"taxable":true,"featured_image":{"id":36225960869987,"product_id":7937746829411,"position":13,"created_at":"2026-07-09T09:44:15+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69_e6f76456-53fc-4bc5-87f5-99831940968d.webp?v=1783561457","variant_ids":[43883738955875]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 里維兵長 - 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-XU04","featured_media":{"alt":null,"id":27730746474595,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a0c909b7783d546cefa472e2d87f7390740c69_e6f76456-53fc-4bc5-87f5-99831940968d.webp?v=1783561457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43883738824803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-XU04","requires_shipping":true,"taxable":true,"featured_image":{"id":36225960673379,"product_id":7937746829411,"position":12,"created_at":"2026-07-09T09:44:14+08:00","updated_at":"2026-07-09T09:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc_1c1d6090-bdd0-4ff9-af05-df1221c69a1a.webp?v=1783561457","variant_ids":[43883738824803]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 里維兵長 - 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-XU04","featured_media":{"alt":null,"id":27730746277987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5594e0a05c8206d812f2d0c3e7b167ccca402cc_1c1d6090-bdd0-4ff9-af05-df1221c69a1a.webp?v=1783561457"}},"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: "停產" }