$product = {"id":7951304786019,"title":"iPhone 14 Plus Mod NX 田中 Shen Think Clouds","handle":"iphone-14-plus-mod-nx-tan05","description":null,"published_at":"2026-01-13T10:13:36+08:00","created_at":"2026-01-12T17:14:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tanakashen","device-iPhone 14 Plus","merge","reseller-tanakashen"],"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":43946313941091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-TAN05","requires_shipping":true,"taxable":true,"featured_image":{"id":35094035890275,"product_id":7951304786019,"position":5,"created_at":"2026-01-12T17:14:15+08:00","updated_at":"2026-01-12T17:14:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82fa92106bfdd0fd88197ec2259faf065f24fe2.webp?v=1768209257","variant_ids":[43946313941091]},"available":true,"name":"iPhone 14 Plus Mod NX 田中 Shen Think Clouds - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-TAN05","featured_media":{"alt":null,"id":26650691698787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82fa92106bfdd0fd88197ec2259faf065f24fe2.webp?v=1768209257"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8134b29cd9e2b1cfcb9a9c0d94a348c58f7b846.webp?v=1768209255","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4add0164e252d17cc0c707343da7803d5a9176a6.webp?v=1768209256","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25d10ff4f9fe96d07cce3126abb538c93837aaba.webp?v=1768209256","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d593189b544809f51c59808b946f14a6601ffa.webp?v=1768209257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82fa92106bfdd0fd88197ec2259faf065f24fe2.webp?v=1768209257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32ef73a2546a9dcd5091b21acbc89254a284e12a.webp?v=1768209258","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c8196b5c9285444ff8ec1178bc66f4f800e6866.webp?v=1768209258","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e851e501e87492c29ccaf84575b555461dbc59e0.webp?v=1768209261","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fa8b29bee6d1b923c3f9b186d8c2e0336e3bdd5.webp?v=1768209262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abf9c1ea33706f7fd3f9a498499ac172eb1eb382.webp?v=1768209262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a28421bea783236678f99dbc24dacbedd7ee8213.webp?v=1768209263","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c3ae4364690e705de5c1d64f42ee7a8497bc65.webp?v=1768209263","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd6abfc7b02b395a3eab896250f00f0aacd8e46.webp?v=1768209264"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8134b29cd9e2b1cfcb9a9c0d94a348c58f7b846.webp?v=1768209255","options":["color"],"media":[{"alt":null,"id":26650690814051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8134b29cd9e2b1cfcb9a9c0d94a348c58f7b846.webp?v=1768209255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8134b29cd9e2b1cfcb9a9c0d94a348c58f7b846.webp?v=1768209255","width":2000},{"alt":null,"id":26650691043427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4add0164e252d17cc0c707343da7803d5a9176a6.webp?v=1768209256"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4add0164e252d17cc0c707343da7803d5a9176a6.webp?v=1768209256","width":2000},{"alt":null,"id":26650691338339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25d10ff4f9fe96d07cce3126abb538c93837aaba.webp?v=1768209256"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25d10ff4f9fe96d07cce3126abb538c93837aaba.webp?v=1768209256","width":2000},{"alt":null,"id":26650691502179,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d593189b544809f51c59808b946f14a6601ffa.webp?v=1768209257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d593189b544809f51c59808b946f14a6601ffa.webp?v=1768209257","width":2000},{"alt":null,"id":26650691698787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82fa92106bfdd0fd88197ec2259faf065f24fe2.webp?v=1768209257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82fa92106bfdd0fd88197ec2259faf065f24fe2.webp?v=1768209257","width":2000},{"alt":null,"id":26650691829859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32ef73a2546a9dcd5091b21acbc89254a284e12a.webp?v=1768209258"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32ef73a2546a9dcd5091b21acbc89254a284e12a.webp?v=1768209258","width":2000},{"alt":null,"id":26650691960931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c8196b5c9285444ff8ec1178bc66f4f800e6866.webp?v=1768209258"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c8196b5c9285444ff8ec1178bc66f4f800e6866.webp?v=1768209258","width":2000},{"alt":null,"id":26650692124771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e851e501e87492c29ccaf84575b555461dbc59e0.webp?v=1768209261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e851e501e87492c29ccaf84575b555461dbc59e0.webp?v=1768209261","width":2000},{"alt":null,"id":26650692452451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fa8b29bee6d1b923c3f9b186d8c2e0336e3bdd5.webp?v=1768209262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fa8b29bee6d1b923c3f9b186d8c2e0336e3bdd5.webp?v=1768209262","width":2000},{"alt":null,"id":26650692747363,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abf9c1ea33706f7fd3f9a498499ac172eb1eb382.webp?v=1768209262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abf9c1ea33706f7fd3f9a498499ac172eb1eb382.webp?v=1768209262","width":2000},{"alt":null,"id":26650693009507,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a28421bea783236678f99dbc24dacbedd7ee8213.webp?v=1768209263"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a28421bea783236678f99dbc24dacbedd7ee8213.webp?v=1768209263","width":2000},{"alt":null,"id":26650693140579,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c3ae4364690e705de5c1d64f42ee7a8497bc65.webp?v=1768209263"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c3ae4364690e705de5c1d64f42ee7a8497bc65.webp?v=1768209263","width":2000},{"alt":null,"id":26650693271651,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd6abfc7b02b395a3eab896250f00f0aacd8e46.webp?v=1768209264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd6abfc7b02b395a3eab896250f00f0aacd8e46.webp?v=1768209264","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43946313941091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-TAN05","requires_shipping":true,"taxable":true,"featured_image":{"id":35094035890275,"product_id":7951304786019,"position":5,"created_at":"2026-01-12T17:14:15+08:00","updated_at":"2026-01-12T17:14:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82fa92106bfdd0fd88197ec2259faf065f24fe2.webp?v=1768209257","variant_ids":[43946313941091]},"available":true,"name":"iPhone 14 Plus Mod NX 田中 Shen Think Clouds - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-TAN05","featured_media":{"alt":null,"id":26650691698787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82fa92106bfdd0fd88197ec2259faf065f24fe2.webp?v=1768209257"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43946313941091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-TAN05","requires_shipping":true,"taxable":true,"featured_image":{"id":35094035890275,"product_id":7951304786019,"position":5,"created_at":"2026-01-12T17:14:15+08:00","updated_at":"2026-01-12T17:14:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82fa92106bfdd0fd88197ec2259faf065f24fe2.webp?v=1768209257","variant_ids":[43946313941091]},"available":true,"name":"iPhone 14 Plus Mod NX 田中 Shen Think Clouds - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-TAN05","featured_media":{"alt":null,"id":26650691698787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82fa92106bfdd0fd88197ec2259faf065f24fe2.webp?v=1768209257"}},"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: "停產" }