$product = {"id":7895828660323,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) 海綿寶寶 藝術家系列-OHAMKING","handle":"iphone-13-mini-solidsuit-classic-magsafe-yq11","description":null,"published_at":"2026-01-28T12:21:32+08:00","created_at":"2025-10-09T14:20:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-spongebob","device-iPhone 13 Mini","merge","reseller-spongebob"],"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":43767818289251,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-YQ11","requires_shipping":true,"taxable":true,"featured_image":{"id":34559063982179,"product_id":7895828660323,"position":5,"created_at":"2025-10-09T14:20:51+08:00","updated_at":"2025-10-09T14:20:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ee90426e92d9b0e48145c44178abff61211bc.webp?v=1759990853","variant_ids":[43767818289251]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 海綿寶寶 藝術家系列-OHAMKING - 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-YQ11","featured_media":{"alt":null,"id":26128675143779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ee90426e92d9b0e48145c44178abff61211bc.webp?v=1759990853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43767818354787,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YQ11","requires_shipping":true,"taxable":true,"featured_image":{"id":34559064375395,"product_id":7895828660323,"position":9,"created_at":"2025-10-09T14:20:54+08:00","updated_at":"2025-10-09T14:20:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7034372a66b70c755e9cb437fef85f04f79cfbdf.webp?v=1759990856","variant_ids":[43767818354787]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 海綿寶寶 藝術家系列-OHAMKING - 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-YQ11","featured_media":{"alt":null,"id":26128675504227,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7034372a66b70c755e9cb437fef85f04f79cfbdf.webp?v=1759990856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43767818387555,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-YQ11","requires_shipping":true,"taxable":true,"featured_image":{"id":34559064178787,"product_id":7895828660323,"position":7,"created_at":"2025-10-09T14:20:53+08:00","updated_at":"2025-10-09T14:20:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7690562296b4cb2514435b3615c68e8c0bc6f59.webp?v=1759990855","variant_ids":[43767818387555]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 海綿寶寶 藝術家系列-OHAMKING - 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-YQ11","featured_media":{"alt":null,"id":26128675307619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7690562296b4cb2514435b3615c68e8c0bc6f59.webp?v=1759990855"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de87a496c5dc6e0ef6eb2743b06d3c1bb7fac067.webp?v=1759990850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/109e0fec72fb249a9de5ed6e60390b4b16af149c.webp?v=1759990851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4e77c05851f344445c6e5375572cfa385a66de.webp?v=1759990852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ecaf89cc1ad7325ca4a7e322138cdce0ab05e94.webp?v=1759990852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ee90426e92d9b0e48145c44178abff61211bc.webp?v=1759990853","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/727ec2751cb0c0ebc121389844cf09230da75b57.webp?v=1759990854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7690562296b4cb2514435b3615c68e8c0bc6f59.webp?v=1759990855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52884fc16db778e1bb099ee0e5f0c3783c887481.webp?v=1759990855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7034372a66b70c755e9cb437fef85f04f79cfbdf.webp?v=1759990856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0f1028c2fd1b1a7842f1d63e6d48a5efe36dea.webp?v=1759990857"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de87a496c5dc6e0ef6eb2743b06d3c1bb7fac067.webp?v=1759990850","options":["color"],"media":[{"alt":null,"id":26128674685027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de87a496c5dc6e0ef6eb2743b06d3c1bb7fac067.webp?v=1759990850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de87a496c5dc6e0ef6eb2743b06d3c1bb7fac067.webp?v=1759990850","width":2000},{"alt":null,"id":26128674816099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/109e0fec72fb249a9de5ed6e60390b4b16af149c.webp?v=1759990851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/109e0fec72fb249a9de5ed6e60390b4b16af149c.webp?v=1759990851","width":2000},{"alt":null,"id":26128674979939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4e77c05851f344445c6e5375572cfa385a66de.webp?v=1759990852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4e77c05851f344445c6e5375572cfa385a66de.webp?v=1759990852","width":2000},{"alt":null,"id":26128675078243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ecaf89cc1ad7325ca4a7e322138cdce0ab05e94.webp?v=1759990852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ecaf89cc1ad7325ca4a7e322138cdce0ab05e94.webp?v=1759990852","width":2000},{"alt":null,"id":26128675143779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ee90426e92d9b0e48145c44178abff61211bc.webp?v=1759990853"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ee90426e92d9b0e48145c44178abff61211bc.webp?v=1759990853","width":2000},{"alt":null,"id":26128675209315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/727ec2751cb0c0ebc121389844cf09230da75b57.webp?v=1759990854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/727ec2751cb0c0ebc121389844cf09230da75b57.webp?v=1759990854","width":2000},{"alt":null,"id":26128675307619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7690562296b4cb2514435b3615c68e8c0bc6f59.webp?v=1759990855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7690562296b4cb2514435b3615c68e8c0bc6f59.webp?v=1759990855","width":2000},{"alt":null,"id":26128675405923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52884fc16db778e1bb099ee0e5f0c3783c887481.webp?v=1759990855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52884fc16db778e1bb099ee0e5f0c3783c887481.webp?v=1759990855","width":2000},{"alt":null,"id":26128675504227,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7034372a66b70c755e9cb437fef85f04f79cfbdf.webp?v=1759990856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7034372a66b70c755e9cb437fef85f04f79cfbdf.webp?v=1759990856","width":2000},{"alt":null,"id":26128675668067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0f1028c2fd1b1a7842f1d63e6d48a5efe36dea.webp?v=1759990857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0f1028c2fd1b1a7842f1d63e6d48a5efe36dea.webp?v=1759990857","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43767818289251,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-YQ11","requires_shipping":true,"taxable":true,"featured_image":{"id":34559063982179,"product_id":7895828660323,"position":5,"created_at":"2025-10-09T14:20:51+08:00","updated_at":"2025-10-09T14:20:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ee90426e92d9b0e48145c44178abff61211bc.webp?v=1759990853","variant_ids":[43767818289251]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 海綿寶寶 藝術家系列-OHAMKING - 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-YQ11","featured_media":{"alt":null,"id":26128675143779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ee90426e92d9b0e48145c44178abff61211bc.webp?v=1759990853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43767818354787,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YQ11","requires_shipping":true,"taxable":true,"featured_image":{"id":34559064375395,"product_id":7895828660323,"position":9,"created_at":"2025-10-09T14:20:54+08:00","updated_at":"2025-10-09T14:20:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7034372a66b70c755e9cb437fef85f04f79cfbdf.webp?v=1759990856","variant_ids":[43767818354787]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 海綿寶寶 藝術家系列-OHAMKING - 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-YQ11","featured_media":{"alt":null,"id":26128675504227,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7034372a66b70c755e9cb437fef85f04f79cfbdf.webp?v=1759990856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43767818387555,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-YQ11","requires_shipping":true,"taxable":true,"featured_image":{"id":34559064178787,"product_id":7895828660323,"position":7,"created_at":"2025-10-09T14:20:53+08:00","updated_at":"2025-10-09T14:20:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7690562296b4cb2514435b3615c68e8c0bc6f59.webp?v=1759990855","variant_ids":[43767818387555]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 海綿寶寶 藝術家系列-OHAMKING - 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-YQ11","featured_media":{"alt":null,"id":26128675307619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7690562296b4cb2514435b3615c68e8c0bc6f59.webp?v=1759990855"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43767818289251,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-YQ11","requires_shipping":true,"taxable":true,"featured_image":{"id":34559063982179,"product_id":7895828660323,"position":5,"created_at":"2025-10-09T14:20:51+08:00","updated_at":"2025-10-09T14:20:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ee90426e92d9b0e48145c44178abff61211bc.webp?v=1759990853","variant_ids":[43767818289251]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 海綿寶寶 藝術家系列-OHAMKING - 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-YQ11","featured_media":{"alt":null,"id":26128675143779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ee90426e92d9b0e48145c44178abff61211bc.webp?v=1759990853"}},"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: "停產" }