$product = {"id":7916584403043,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) 火影忍者疾風傳 宇智波鼬-宇智波一族家紋","handle":"iphone-13-mini-solidsuit-classic-magsafe-pk107","description":null,"published_at":"2025-11-06T11:36:10+08:00","created_at":"2025-11-06T11:29:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-naruto-shippuden","device-iPhone 13 Mini","merge","reseller-naruto-shippuden"],"price":125000,"price_min":125000,"price_max":125000,"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":43820446711907,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-PK107","requires_shipping":true,"taxable":true,"featured_image":{"id":34756326457443,"product_id":7916584403043,"position":7,"created_at":"2025-11-06T11:29:24+08:00","updated_at":"2025-11-06T11:29:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddcc052d5676b0ddf377dcaa3f4ca04b94a33470.webp?v=1762399766","variant_ids":[43820446711907]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 火影忍者疾風傳 宇智波鼬-宇智波一族家紋 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-PK107","featured_media":{"alt":null,"id":26322710593635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddcc052d5676b0ddf377dcaa3f4ca04b94a33470.webp?v=1762399766"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43820446744675,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-PK107","requires_shipping":true,"taxable":true,"featured_image":{"id":34756326588515,"product_id":7916584403043,"position":8,"created_at":"2025-11-06T11:29:25+08:00","updated_at":"2025-11-06T11:29:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34548b39b78b3f40161e59f42ce032d1e2f551e.webp?v=1762399767","variant_ids":[43820446744675]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 火影忍者疾風傳 宇智波鼬-宇智波一族家紋 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-PK107","featured_media":{"alt":null,"id":26322710724707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34548b39b78b3f40161e59f42ce032d1e2f551e.webp?v=1762399767"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43820446842979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-PK107","requires_shipping":true,"taxable":true,"featured_image":{"id":34756325081187,"product_id":7916584403043,"position":1,"created_at":"2025-11-06T11:29:21+08:00","updated_at":"2025-11-06T11:29:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716e4dc28cb0eb76a45cd1f2a8c63e3c1b9e7c11.webp?v=1762399762","variant_ids":[43820446842979]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 火影忍者疾風傳 宇智波鼬-宇智波一族家紋 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-PK107","featured_media":{"alt":null,"id":26322709086307,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716e4dc28cb0eb76a45cd1f2a8c63e3c1b9e7c11.webp?v=1762399762"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716e4dc28cb0eb76a45cd1f2a8c63e3c1b9e7c11.webp?v=1762399762","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98c2f56c9f73d1cee9d5cd7aff386a14811e6f85.webp?v=1762399763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89b883eedd4274575ef8a85582909c357f70cc.webp?v=1762399764","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225072d3cd36e4026bf43ae238fb3be057aa1231.webp?v=1762399764","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be6ed47f2dfb648380798806454d02d6f19ee4.webp?v=1762399765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11dd24686bc8360d66f4371ac516e299c5815360.webp?v=1762399766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddcc052d5676b0ddf377dcaa3f4ca04b94a33470.webp?v=1762399766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34548b39b78b3f40161e59f42ce032d1e2f551e.webp?v=1762399767","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa67a7824aa62833d9e6ad3397f69d838da5955f.webp?v=1762399768","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a95136a2ee9891dbd592d3288be0d6aee62c68.webp?v=1762399768"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716e4dc28cb0eb76a45cd1f2a8c63e3c1b9e7c11.webp?v=1762399762","options":["color"],"media":[{"alt":null,"id":26322709086307,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716e4dc28cb0eb76a45cd1f2a8c63e3c1b9e7c11.webp?v=1762399762"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716e4dc28cb0eb76a45cd1f2a8c63e3c1b9e7c11.webp?v=1762399762","width":2000},{"alt":null,"id":26322709348451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98c2f56c9f73d1cee9d5cd7aff386a14811e6f85.webp?v=1762399763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98c2f56c9f73d1cee9d5cd7aff386a14811e6f85.webp?v=1762399763","width":2000},{"alt":null,"id":26322709577827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89b883eedd4274575ef8a85582909c357f70cc.webp?v=1762399764"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89b883eedd4274575ef8a85582909c357f70cc.webp?v=1762399764","width":2000},{"alt":null,"id":26322709839971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225072d3cd36e4026bf43ae238fb3be057aa1231.webp?v=1762399764"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225072d3cd36e4026bf43ae238fb3be057aa1231.webp?v=1762399764","width":2000},{"alt":null,"id":26322710102115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be6ed47f2dfb648380798806454d02d6f19ee4.webp?v=1762399765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be6ed47f2dfb648380798806454d02d6f19ee4.webp?v=1762399765","width":2000},{"alt":null,"id":26322710298723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11dd24686bc8360d66f4371ac516e299c5815360.webp?v=1762399766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11dd24686bc8360d66f4371ac516e299c5815360.webp?v=1762399766","width":2000},{"alt":null,"id":26322710593635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddcc052d5676b0ddf377dcaa3f4ca04b94a33470.webp?v=1762399766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddcc052d5676b0ddf377dcaa3f4ca04b94a33470.webp?v=1762399766","width":2000},{"alt":null,"id":26322710724707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34548b39b78b3f40161e59f42ce032d1e2f551e.webp?v=1762399767"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34548b39b78b3f40161e59f42ce032d1e2f551e.webp?v=1762399767","width":2000},{"alt":null,"id":26322710823011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa67a7824aa62833d9e6ad3397f69d838da5955f.webp?v=1762399768"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa67a7824aa62833d9e6ad3397f69d838da5955f.webp?v=1762399768","width":2000},{"alt":null,"id":26322710888547,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a95136a2ee9891dbd592d3288be0d6aee62c68.webp?v=1762399768"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a95136a2ee9891dbd592d3288be0d6aee62c68.webp?v=1762399768","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43820446711907,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-PK107","requires_shipping":true,"taxable":true,"featured_image":{"id":34756326457443,"product_id":7916584403043,"position":7,"created_at":"2025-11-06T11:29:24+08:00","updated_at":"2025-11-06T11:29:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddcc052d5676b0ddf377dcaa3f4ca04b94a33470.webp?v=1762399766","variant_ids":[43820446711907]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 火影忍者疾風傳 宇智波鼬-宇智波一族家紋 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-PK107","featured_media":{"alt":null,"id":26322710593635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddcc052d5676b0ddf377dcaa3f4ca04b94a33470.webp?v=1762399766"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43820446744675,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-PK107","requires_shipping":true,"taxable":true,"featured_image":{"id":34756326588515,"product_id":7916584403043,"position":8,"created_at":"2025-11-06T11:29:25+08:00","updated_at":"2025-11-06T11:29:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34548b39b78b3f40161e59f42ce032d1e2f551e.webp?v=1762399767","variant_ids":[43820446744675]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 火影忍者疾風傳 宇智波鼬-宇智波一族家紋 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-PK107","featured_media":{"alt":null,"id":26322710724707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b34548b39b78b3f40161e59f42ce032d1e2f551e.webp?v=1762399767"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43820446842979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-PK107","requires_shipping":true,"taxable":true,"featured_image":{"id":34756325081187,"product_id":7916584403043,"position":1,"created_at":"2025-11-06T11:29:21+08:00","updated_at":"2025-11-06T11:29:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716e4dc28cb0eb76a45cd1f2a8c63e3c1b9e7c11.webp?v=1762399762","variant_ids":[43820446842979]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 火影忍者疾風傳 宇智波鼬-宇智波一族家紋 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-PK107","featured_media":{"alt":null,"id":26322709086307,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716e4dc28cb0eb76a45cd1f2a8c63e3c1b9e7c11.webp?v=1762399762"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43820446711907,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-PK107","requires_shipping":true,"taxable":true,"featured_image":{"id":34756326457443,"product_id":7916584403043,"position":7,"created_at":"2025-11-06T11:29:24+08:00","updated_at":"2025-11-06T11:29:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddcc052d5676b0ddf377dcaa3f4ca04b94a33470.webp?v=1762399766","variant_ids":[43820446711907]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 火影忍者疾風傳 宇智波鼬-宇智波一族家紋 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-PK107","featured_media":{"alt":null,"id":26322710593635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddcc052d5676b0ddf377dcaa3f4ca04b94a33470.webp?v=1762399766"}},"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: "停產" }