$product = {"id":7951294038115,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 田中 Shen In Love","handle":"iphone-14-plus-mod-nx-magsafe-tan02","description":null,"published_at":"2026-01-13T10:16:21+08:00","created_at":"2026-01-12T17:11:49+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":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":43946274881635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093997092963,"product_id":7951294038115,"position":9,"created_at":"2026-01-12T17:11:58+08:00","updated_at":"2026-01-12T17:12:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9826904dcd74e72c493b26ced422ad3080bd99b.webp?v=1768209120","variant_ids":[43946274881635]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 田中 Shen In Love - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-TAN02","featured_media":{"alt":null,"id":26650652901475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9826904dcd74e72c493b26ced422ad3080bd99b.webp?v=1768209120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cee29a9372928902cfc2aa44825fe79745d83f7.webp?v=1768209115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/089614b80adc6a86de4afc9cd143ea02bdb11f3d.webp?v=1768209116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e98684ca8f339a6273514659e9ae17993c024733.webp?v=1768209116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff8938bf4b5c6493b4bc1be018b28f1714c2726.webp?v=1768209116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4832925839acc5624f918c5fc5643180eb646761.webp?v=1768209117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d3a89a5d5654f94112dc4f88ea0befa8500cb1.webp?v=1768209117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54e616f31c44d039c4bcd04790443e990f1ecace.webp?v=1768209119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d67841269f3ace293d2dc6bfe50a26b5f781f1fe.webp?v=1768209119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9826904dcd74e72c493b26ced422ad3080bd99b.webp?v=1768209120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec0cb9933534dfe070677f73c1d63a8c4825db32.webp?v=1768209120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae4ca392eb3110756a926f4ab0a19ddf216efc2.webp?v=1768209121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7113e0163e594ebc574e6408431d880e62da9676.webp?v=1768209121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7990b7fed5397d4dda814f371d46053c39da8e7c.webp?v=1768209122"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cee29a9372928902cfc2aa44825fe79745d83f7.webp?v=1768209115","options":["color"],"media":[{"alt":null,"id":26650651230307,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cee29a9372928902cfc2aa44825fe79745d83f7.webp?v=1768209115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cee29a9372928902cfc2aa44825fe79745d83f7.webp?v=1768209115","width":2000},{"alt":null,"id":26650651459683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/089614b80adc6a86de4afc9cd143ea02bdb11f3d.webp?v=1768209116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/089614b80adc6a86de4afc9cd143ea02bdb11f3d.webp?v=1768209116","width":2000},{"alt":null,"id":26650651623523,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e98684ca8f339a6273514659e9ae17993c024733.webp?v=1768209116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e98684ca8f339a6273514659e9ae17993c024733.webp?v=1768209116","width":2000},{"alt":null,"id":26650651787363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff8938bf4b5c6493b4bc1be018b28f1714c2726.webp?v=1768209116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff8938bf4b5c6493b4bc1be018b28f1714c2726.webp?v=1768209116","width":2000},{"alt":null,"id":26650651983971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4832925839acc5624f918c5fc5643180eb646761.webp?v=1768209117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4832925839acc5624f918c5fc5643180eb646761.webp?v=1768209117","width":2000},{"alt":null,"id":26650652213347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d3a89a5d5654f94112dc4f88ea0befa8500cb1.webp?v=1768209117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d3a89a5d5654f94112dc4f88ea0befa8500cb1.webp?v=1768209117","width":2000},{"alt":null,"id":26650652442723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54e616f31c44d039c4bcd04790443e990f1ecace.webp?v=1768209119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54e616f31c44d039c4bcd04790443e990f1ecace.webp?v=1768209119","width":2000},{"alt":null,"id":26650652737635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d67841269f3ace293d2dc6bfe50a26b5f781f1fe.webp?v=1768209119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d67841269f3ace293d2dc6bfe50a26b5f781f1fe.webp?v=1768209119","width":2000},{"alt":null,"id":26650652901475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9826904dcd74e72c493b26ced422ad3080bd99b.webp?v=1768209120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9826904dcd74e72c493b26ced422ad3080bd99b.webp?v=1768209120","width":2000},{"alt":null,"id":26650653032547,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec0cb9933534dfe070677f73c1d63a8c4825db32.webp?v=1768209120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec0cb9933534dfe070677f73c1d63a8c4825db32.webp?v=1768209120","width":2000},{"alt":null,"id":26650653229155,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae4ca392eb3110756a926f4ab0a19ddf216efc2.webp?v=1768209121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae4ca392eb3110756a926f4ab0a19ddf216efc2.webp?v=1768209121","width":2000},{"alt":null,"id":26650653425763,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7113e0163e594ebc574e6408431d880e62da9676.webp?v=1768209121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7113e0163e594ebc574e6408431d880e62da9676.webp?v=1768209121","width":2000},{"alt":null,"id":26650653556835,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7990b7fed5397d4dda814f371d46053c39da8e7c.webp?v=1768209122"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7990b7fed5397d4dda814f371d46053c39da8e7c.webp?v=1768209122","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43946274881635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093997092963,"product_id":7951294038115,"position":9,"created_at":"2026-01-12T17:11:58+08:00","updated_at":"2026-01-12T17:12:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9826904dcd74e72c493b26ced422ad3080bd99b.webp?v=1768209120","variant_ids":[43946274881635]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 田中 Shen In Love - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-TAN02","featured_media":{"alt":null,"id":26650652901475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9826904dcd74e72c493b26ced422ad3080bd99b.webp?v=1768209120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43946274881635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093997092963,"product_id":7951294038115,"position":9,"created_at":"2026-01-12T17:11:58+08:00","updated_at":"2026-01-12T17:12:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9826904dcd74e72c493b26ced422ad3080bd99b.webp?v=1768209120","variant_ids":[43946274881635]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 田中 Shen In Love - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-TAN02","featured_media":{"alt":null,"id":26650652901475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9826904dcd74e72c493b26ced422ad3080bd99b.webp?v=1768209120"}},"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: "停產" }