$product = {"id":7987635421283,"title":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman 麵包超人貼紙","handle":"iphone-15-jellytint-magsafe-anp18","description":null,"published_at":"2026-03-31T10:48:24+08:00","created_at":"2026-03-30T11:20:04+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":44088621269091,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-ANP18","requires_shipping":true,"taxable":true,"featured_image":{"id":35561453322339,"product_id":7987635421283,"position":8,"created_at":"2026-03-30T11:53:52+08:00","updated_at":"2026-03-30T11:53:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560_fcc449ec-f11f-40d4-874a-e321f839eb22.webp?v=1774842834","variant_ids":[44088621269091]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman 麵包超人貼紙 - 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-ANP18","featured_media":{"alt":null,"id":27095018143843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560_fcc449ec-f11f-40d4-874a-e321f839eb22.webp?v=1774842834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088622874723,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-ANP18","requires_shipping":true,"taxable":true,"featured_image":{"id":35561452863587,"product_id":7987635421283,"position":5,"created_at":"2026-03-30T11:53:51+08:00","updated_at":"2026-03-30T11:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd_9bf423f5-6374-4009-b3ed-272e03998828.webp?v=1774842833","variant_ids":[44088622874723]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman 麵包超人貼紙 - 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-ANP18","featured_media":{"alt":null,"id":27095017685091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd_9bf423f5-6374-4009-b3ed-272e03998828.webp?v=1774842833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088622940259,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-ANP18","requires_shipping":true,"taxable":true,"featured_image":{"id":35561453092963,"product_id":7987635421283,"position":6,"created_at":"2026-03-30T11:53:51+08:00","updated_at":"2026-03-30T11:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d_9c028bae-2ac0-4498-b895-73a62f557ed1.webp?v=1774842833","variant_ids":[44088622940259]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman 麵包超人貼紙 - 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-ANP18","featured_media":{"alt":null,"id":27095017914467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d_9c028bae-2ac0-4498-b895-73a62f557ed1.webp?v=1774842833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed7e13b2f028b9ebbfd09b27dee2d92b384453df.webp?v=1774840811","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d.webp?v=1774840811","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd.webp?v=1774840812","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560.webp?v=1774840813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd_9bf423f5-6374-4009-b3ed-272e03998828.webp?v=1774842833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d_9c028bae-2ac0-4498-b895-73a62f557ed1.webp?v=1774842833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed7e13b2f028b9ebbfd09b27dee2d92b384453df_28343a04-8bb3-437f-b116-6245bcafa9e0.webp?v=1774842834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560_fcc449ec-f11f-40d4-874a-e321f839eb22.webp?v=1774842834"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed7e13b2f028b9ebbfd09b27dee2d92b384453df.webp?v=1774840811","options":["color"],"media":[{"alt":null,"id":27094611230819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed7e13b2f028b9ebbfd09b27dee2d92b384453df.webp?v=1774840811"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed7e13b2f028b9ebbfd09b27dee2d92b384453df.webp?v=1774840811","width":2000},{"alt":null,"id":27094611361891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d.webp?v=1774840811"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d.webp?v=1774840811","width":2000},{"alt":null,"id":27094611525731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd.webp?v=1774840812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd.webp?v=1774840812","width":2000},{"alt":null,"id":27094611689571,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560.webp?v=1774840813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560.webp?v=1774840813","width":2000},{"alt":null,"id":27095017685091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd_9bf423f5-6374-4009-b3ed-272e03998828.webp?v=1774842833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd_9bf423f5-6374-4009-b3ed-272e03998828.webp?v=1774842833","width":2000},{"alt":null,"id":27095017914467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d_9c028bae-2ac0-4498-b895-73a62f557ed1.webp?v=1774842833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d_9c028bae-2ac0-4498-b895-73a62f557ed1.webp?v=1774842833","width":2000},{"alt":null,"id":27095018045539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed7e13b2f028b9ebbfd09b27dee2d92b384453df_28343a04-8bb3-437f-b116-6245bcafa9e0.webp?v=1774842834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed7e13b2f028b9ebbfd09b27dee2d92b384453df_28343a04-8bb3-437f-b116-6245bcafa9e0.webp?v=1774842834","width":2000},{"alt":null,"id":27095018143843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560_fcc449ec-f11f-40d4-874a-e321f839eb22.webp?v=1774842834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560_fcc449ec-f11f-40d4-874a-e321f839eb22.webp?v=1774842834","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44088621269091,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-ANP18","requires_shipping":true,"taxable":true,"featured_image":{"id":35561453322339,"product_id":7987635421283,"position":8,"created_at":"2026-03-30T11:53:52+08:00","updated_at":"2026-03-30T11:53:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560_fcc449ec-f11f-40d4-874a-e321f839eb22.webp?v=1774842834","variant_ids":[44088621269091]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman 麵包超人貼紙 - 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-ANP18","featured_media":{"alt":null,"id":27095018143843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560_fcc449ec-f11f-40d4-874a-e321f839eb22.webp?v=1774842834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088622874723,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-ANP18","requires_shipping":true,"taxable":true,"featured_image":{"id":35561452863587,"product_id":7987635421283,"position":5,"created_at":"2026-03-30T11:53:51+08:00","updated_at":"2026-03-30T11:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd_9bf423f5-6374-4009-b3ed-272e03998828.webp?v=1774842833","variant_ids":[44088622874723]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman 麵包超人貼紙 - 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-ANP18","featured_media":{"alt":null,"id":27095017685091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/640c74dfc1bb93d6c08b2f19892864f553e121fd_9bf423f5-6374-4009-b3ed-272e03998828.webp?v=1774842833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088622940259,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-ANP18","requires_shipping":true,"taxable":true,"featured_image":{"id":35561453092963,"product_id":7987635421283,"position":6,"created_at":"2026-03-30T11:53:51+08:00","updated_at":"2026-03-30T11:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d_9c028bae-2ac0-4498-b895-73a62f557ed1.webp?v=1774842833","variant_ids":[44088622940259]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman 麵包超人貼紙 - 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-ANP18","featured_media":{"alt":null,"id":27095017914467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f085e2cf8a8dd982af1663a23f2a1f70f271a33d_9c028bae-2ac0-4498-b895-73a62f557ed1.webp?v=1774842833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44088621269091,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-ANP18","requires_shipping":true,"taxable":true,"featured_image":{"id":35561453322339,"product_id":7987635421283,"position":8,"created_at":"2026-03-30T11:53:52+08:00","updated_at":"2026-03-30T11:53:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560_fcc449ec-f11f-40d4-874a-e321f839eb22.webp?v=1774842834","variant_ids":[44088621269091]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 麵包超人Anpanman 麵包超人貼紙 - 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-ANP18","featured_media":{"alt":null,"id":27095018143843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd0855e69cae61a676d7352ef392469fb1fa560_fcc449ec-f11f-40d4-874a-e321f839eb22.webp?v=1774842834"}},"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: "停產" }