$product = {"id":7987488751715,"title":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman YA!自拍一張","handle":"iphone-15-jellytint-magsafe-anp10","description":null,"published_at":"2026-03-31T11:24:38+08:00","created_at":"2026-03-30T10:54:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-anpanman","device-iPhone 15","merge","reseller-anpanman"],"price":148000,"price_min":148000,"price_max":148000,"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":44088194793571,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-ANP10","requires_shipping":true,"taxable":true,"featured_image":{"id":35561644818531,"product_id":7987488751715,"position":7,"created_at":"2026-03-30T12:05:33+08:00","updated_at":"2026-03-30T12:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03_7bfe9760-9266-42c7-b06a-b1ad2decdc2c.webp?v=1774843535","variant_ids":[44088194793571]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman YA!自拍一張 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-ANP10","featured_media":{"alt":null,"id":27095209115747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03_7bfe9760-9266-42c7-b06a-b1ad2decdc2c.webp?v=1774843535"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088195874915,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-ANP10","requires_shipping":true,"taxable":true,"featured_image":{"id":35561644720227,"product_id":7987488751715,"position":6,"created_at":"2026-03-30T12:05:32+08:00","updated_at":"2026-03-30T12:05:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403_a92658c5-11d9-4338-acf7-2aaadc5b3ffe.webp?v=1774843534","variant_ids":[44088195874915]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman YA!自拍一張 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-ANP10","featured_media":{"alt":null,"id":27095209017443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403_a92658c5-11d9-4338-acf7-2aaadc5b3ffe.webp?v=1774843534"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088195940451,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-ANP10","requires_shipping":true,"taxable":true,"featured_image":{"id":35561645080675,"product_id":7987488751715,"position":8,"created_at":"2026-03-30T12:05:33+08:00","updated_at":"2026-03-30T12:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4_ac019d37-f953-4246-a20b-eb40e3f03242.webp?v=1774843535","variant_ids":[44088195940451]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman YA!自拍一張 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950G-ANP10","featured_media":{"alt":null,"id":27095209377891,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4_ac019d37-f953-4246-a20b-eb40e3f03242.webp?v=1774843535"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4.webp?v=1774839253","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03.webp?v=1774839254","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403.webp?v=1774839254","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b25a28600f013a8f4f40f0829681fc767b4bce.webp?v=1774839255","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b25a28600f013a8f4f40f0829681fc767b4bce_e502673b-26d0-431f-9d5e-0c7b33748932.webp?v=1774843533","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403_a92658c5-11d9-4338-acf7-2aaadc5b3ffe.webp?v=1774843534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03_7bfe9760-9266-42c7-b06a-b1ad2decdc2c.webp?v=1774843535","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4_ac019d37-f953-4246-a20b-eb40e3f03242.webp?v=1774843535"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4.webp?v=1774839253","options":["color"],"media":[{"alt":null,"id":27094120497251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4.webp?v=1774839253"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4.webp?v=1774839253","width":2000},{"alt":null,"id":27094120661091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03.webp?v=1774839254"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03.webp?v=1774839254","width":2000},{"alt":null,"id":27094120824931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403.webp?v=1774839254"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403.webp?v=1774839254","width":2000},{"alt":null,"id":27094120923235,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b25a28600f013a8f4f40f0829681fc767b4bce.webp?v=1774839255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b25a28600f013a8f4f40f0829681fc767b4bce.webp?v=1774839255","width":2000},{"alt":null,"id":27095208886371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b25a28600f013a8f4f40f0829681fc767b4bce_e502673b-26d0-431f-9d5e-0c7b33748932.webp?v=1774843533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b25a28600f013a8f4f40f0829681fc767b4bce_e502673b-26d0-431f-9d5e-0c7b33748932.webp?v=1774843533","width":2000},{"alt":null,"id":27095209017443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403_a92658c5-11d9-4338-acf7-2aaadc5b3ffe.webp?v=1774843534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403_a92658c5-11d9-4338-acf7-2aaadc5b3ffe.webp?v=1774843534","width":2000},{"alt":null,"id":27095209115747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03_7bfe9760-9266-42c7-b06a-b1ad2decdc2c.webp?v=1774843535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03_7bfe9760-9266-42c7-b06a-b1ad2decdc2c.webp?v=1774843535","width":2000},{"alt":null,"id":27095209377891,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4_ac019d37-f953-4246-a20b-eb40e3f03242.webp?v=1774843535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4_ac019d37-f953-4246-a20b-eb40e3f03242.webp?v=1774843535","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44088194793571,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-ANP10","requires_shipping":true,"taxable":true,"featured_image":{"id":35561644818531,"product_id":7987488751715,"position":7,"created_at":"2026-03-30T12:05:33+08:00","updated_at":"2026-03-30T12:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03_7bfe9760-9266-42c7-b06a-b1ad2decdc2c.webp?v=1774843535","variant_ids":[44088194793571]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman YA!自拍一張 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-ANP10","featured_media":{"alt":null,"id":27095209115747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03_7bfe9760-9266-42c7-b06a-b1ad2decdc2c.webp?v=1774843535"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088195874915,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-ANP10","requires_shipping":true,"taxable":true,"featured_image":{"id":35561644720227,"product_id":7987488751715,"position":6,"created_at":"2026-03-30T12:05:32+08:00","updated_at":"2026-03-30T12:05:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403_a92658c5-11d9-4338-acf7-2aaadc5b3ffe.webp?v=1774843534","variant_ids":[44088195874915]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman YA!自拍一張 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-ANP10","featured_media":{"alt":null,"id":27095209017443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aa102bbfe179d9d3827691b7a4fe3b95014d403_a92658c5-11d9-4338-acf7-2aaadc5b3ffe.webp?v=1774843534"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088195940451,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-ANP10","requires_shipping":true,"taxable":true,"featured_image":{"id":35561645080675,"product_id":7987488751715,"position":8,"created_at":"2026-03-30T12:05:33+08:00","updated_at":"2026-03-30T12:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4_ac019d37-f953-4246-a20b-eb40e3f03242.webp?v=1774843535","variant_ids":[44088195940451]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman YA!自拍一張 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950G-ANP10","featured_media":{"alt":null,"id":27095209377891,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706db7f5eb705ef323e47b8e1632f0305e59adb4_ac019d37-f953-4246-a20b-eb40e3f03242.webp?v=1774843535"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44088194793571,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-ANP10","requires_shipping":true,"taxable":true,"featured_image":{"id":35561644818531,"product_id":7987488751715,"position":7,"created_at":"2026-03-30T12:05:33+08:00","updated_at":"2026-03-30T12:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03_7bfe9760-9266-42c7-b06a-b1ad2decdc2c.webp?v=1774843535","variant_ids":[44088194793571]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman YA!自拍一張 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-ANP10","featured_media":{"alt":null,"id":27095209115747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c17495225d3077a24adcf2e46c123f66146de03_7bfe9760-9266-42c7-b06a-b1ad2decdc2c.webp?v=1774843535"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }