$product = {"id":7951272149091,"title":"iPhone 14 Plus Mod NX 田中 Shen In Love","handle":"iphone-14-plus-mod-nx-tan02","description":null,"published_at":"2026-01-13T10:21:54+08:00","created_at":"2026-01-12T17:07:03+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":43946185162851,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093902950499,"product_id":7951272149091,"position":8,"created_at":"2026-01-12T17:07:11+08:00","updated_at":"2026-01-12T17:07:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe96b631339088011671e23561ac5733abffe321.webp?v=1768208833","variant_ids":[43946185162851]},"available":true,"name":"iPhone 14 Plus Mod NX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650558759011,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe96b631339088011671e23561ac5733abffe321.webp?v=1768208833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ed76a916c3bd0d25ac285cb59ecf22515916b7.webp?v=1768208830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd5243ed45ed33ecc07bc7f0b650b807de66eee.webp?v=1768208830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c80725605a0f6f2821655adc1e3d68f53fc37765.webp?v=1768208831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49597149216859c67f8ee048f8fe646823c49b23.webp?v=1768208831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5915c87797e0e58933e03e8f38a1fe5018241a7.webp?v=1768208831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008f6d74dc94423eb9e5113cf9e9bcd01fb9da35.webp?v=1768208832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60e52c3bf51cdf56286f432fc894d642b56f3455.webp?v=1768208832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe96b631339088011671e23561ac5733abffe321.webp?v=1768208833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fb5af4a1a8795ec5a9fcc675ff45593e8e9cd19.webp?v=1768208833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2574883bda39d2bc13557a6cab3cd58890c4abc3.webp?v=1768208834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec0eef86cca9b409ff17e41a5e1bd9de41b6193.webp?v=1768208834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66c2f44307f6406acdac2e9ffe9aa0df67d3dcac.webp?v=1768208835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09348694e93e97f99b8f9dbb3c87c1554af4b9a3.webp?v=1768208835"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ed76a916c3bd0d25ac285cb59ecf22515916b7.webp?v=1768208830","options":["color"],"media":[{"alt":null,"id":26650557546595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ed76a916c3bd0d25ac285cb59ecf22515916b7.webp?v=1768208830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ed76a916c3bd0d25ac285cb59ecf22515916b7.webp?v=1768208830","width":2000},{"alt":null,"id":26650557644899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd5243ed45ed33ecc07bc7f0b650b807de66eee.webp?v=1768208830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd5243ed45ed33ecc07bc7f0b650b807de66eee.webp?v=1768208830","width":2000},{"alt":null,"id":26650557841507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c80725605a0f6f2821655adc1e3d68f53fc37765.webp?v=1768208831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c80725605a0f6f2821655adc1e3d68f53fc37765.webp?v=1768208831","width":2000},{"alt":null,"id":26650557972579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49597149216859c67f8ee048f8fe646823c49b23.webp?v=1768208831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49597149216859c67f8ee048f8fe646823c49b23.webp?v=1768208831","width":2000},{"alt":null,"id":26650558070883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5915c87797e0e58933e03e8f38a1fe5018241a7.webp?v=1768208831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5915c87797e0e58933e03e8f38a1fe5018241a7.webp?v=1768208831","width":2000},{"alt":null,"id":26650558234723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008f6d74dc94423eb9e5113cf9e9bcd01fb9da35.webp?v=1768208832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008f6d74dc94423eb9e5113cf9e9bcd01fb9da35.webp?v=1768208832","width":2000},{"alt":null,"id":26650558627939,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60e52c3bf51cdf56286f432fc894d642b56f3455.webp?v=1768208832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60e52c3bf51cdf56286f432fc894d642b56f3455.webp?v=1768208832","width":2000},{"alt":null,"id":26650558759011,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe96b631339088011671e23561ac5733abffe321.webp?v=1768208833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe96b631339088011671e23561ac5733abffe321.webp?v=1768208833","width":2000},{"alt":null,"id":26650558890083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fb5af4a1a8795ec5a9fcc675ff45593e8e9cd19.webp?v=1768208833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fb5af4a1a8795ec5a9fcc675ff45593e8e9cd19.webp?v=1768208833","width":2000},{"alt":null,"id":26650559053923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2574883bda39d2bc13557a6cab3cd58890c4abc3.webp?v=1768208834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2574883bda39d2bc13557a6cab3cd58890c4abc3.webp?v=1768208834","width":2000},{"alt":null,"id":26650559217763,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec0eef86cca9b409ff17e41a5e1bd9de41b6193.webp?v=1768208834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec0eef86cca9b409ff17e41a5e1bd9de41b6193.webp?v=1768208834","width":2000},{"alt":null,"id":26650559447139,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66c2f44307f6406acdac2e9ffe9aa0df67d3dcac.webp?v=1768208835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66c2f44307f6406acdac2e9ffe9aa0df67d3dcac.webp?v=1768208835","width":2000},{"alt":null,"id":26650559643747,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09348694e93e97f99b8f9dbb3c87c1554af4b9a3.webp?v=1768208835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09348694e93e97f99b8f9dbb3c87c1554af4b9a3.webp?v=1768208835","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43946185162851,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093902950499,"product_id":7951272149091,"position":8,"created_at":"2026-01-12T17:07:11+08:00","updated_at":"2026-01-12T17:07:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe96b631339088011671e23561ac5733abffe321.webp?v=1768208833","variant_ids":[43946185162851]},"available":true,"name":"iPhone 14 Plus Mod NX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650558759011,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe96b631339088011671e23561ac5733abffe321.webp?v=1768208833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43946185162851,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093902950499,"product_id":7951272149091,"position":8,"created_at":"2026-01-12T17:07:11+08:00","updated_at":"2026-01-12T17:07:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe96b631339088011671e23561ac5733abffe321.webp?v=1768208833","variant_ids":[43946185162851]},"available":true,"name":"iPhone 14 Plus Mod NX 田中 Shen In Love - 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-TAN02","featured_media":{"alt":null,"id":26650558759011,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe96b631339088011671e23561ac5733abffe321.webp?v=1768208833"}},"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: "停產" }